- ✓lookup_orderORD-4821
- ✓check_policyeligible
- ✓issue_refund$128.00
- ✓notify_customersent
- ✗escalate_handoffmissed (>$100 rule)
Write the test.
Ship the AI.
Shipyard runs your AI agent through realistic tasks in a safe, disposable sandbox, scores what it did, and blocks changes that make it worse — before your users find out.
One command to install · Tests run in seconds · No config required
An AI agent does things. An eval tests it.
- AI agent
- AI that can do things on its own — answer customers, issue refunds, edit code, run commands. Not just chat. When it gets something wrong, it isn’t a typo — it’s a real mistake.
- Eval
- A test for an AI agent. You give it one real task, then check what it actually did — the same way a unit test checks a function.
How it works
Write the test
Describe the task and the rules your AI should follow — or start from a ready-made template.
shipyard init eval refundsRun it safely
The agent works inside a disposable sandbox, and every step it takes is recorded. Your machine is never touched.
shipyard run refundsRead the score
A report shows what passed, what failed, and why. In CI, a failing score stops the release.
shipyard run refunds --ci
Words you’ll see on this page
- sandbox
- a disposable box where each test runs — nothing can touch your real machine
- trajectory
- the step-by-step record of what the AI did
- scorecard
- the grade for a run: what passed, what failed, and why
- rubric
- the rules the grader checks — like “refunds over $100 need approval”
- regression
- something that used to work and just broke
- CI
- the robot that runs your tests on every change, before it ships
Every eval is an isolated unit test.
Just like unit tests verify functions, evals verify what your AI actually does. Hover to open a real test run — what the AI did, its score, and the proof.
- trace.jsonl184 KB
- transcript.md12 KB
- sandbox_diff.patch31 KB
- scorecard.json7 KB
Hover to open the envelope
Tap seal to open the envelope
Stop hoping your AI works. Start knowing.
Software teams never ship without tests. Here is what changes when your AI gets the same treatment:
Stop checking your AI by hand.
Before: Releases stall while someone chats with the AI to see if it still works. Nobody knows whether last week’s change broke something.
With Shipyard: One command runs 50 real customer scenarios in about 90 seconds and tells you exactly what broke. You ship the same day, with evidence instead of hope.
shipyard init eval customer-botChange one prompt without breaking five others.
Before: Fixing one customer complaint quietly breaks tool use or multi-turn reasoning somewhere else. Swapping in a new model feels like rolling dice.
With Shipyard: Every prompt tweak and model swap runs against your whole test suite. And every bug you catch becomes a permanent test, so it can never come back unnoticed.
shipyard run evalset/customer-bot --baseline gpt-4oRules you set are rules that get checked.
Before: Hoping your AI won’t approve a refund it shouldn’t, leak a password, or run a dangerous command when a user pushes on it.
With Shipyard: You write the rules — like “refunds over $100 need approval.” Every run is checked against them in a disposable sandbox, and if a rule fails, the release is blocked.
shipyard run evalset/guardrailsNothing ships until the tests pass.
Every time someone edits a prompt, a tool, or a model, Shipyard re-runs your tests and answers one question: still working, or not? A failure stops the release — the same way a broken unit test does.
- Safe by default — every run happens in a disposable container, so nothing touches your machine.
- One clear answer — pass or fail, with a score you can compare against the last run. No opinions.
- Works with what you use — Claude Code, Codex, LangChain, or your own agent.
$ shipyard run evalset/customer-bot --ci lookup-order-status pass 0.98 0m42s apply-discount-code pass 0.95 0m38s refund-over-$100-policyfail 0.30 0m28s prevent-prompt-injectionpass 1.00 0m19s ──────────────────────────────────────────────── 12 evals · 11 pass · 1 fail · mean score 0.91 vs main: 1 regression detected (escalation rule missed) rollouts → .shipyard/rollouts/pr-84… $ echo $? 1 # the pipeline stopped. bad code never reaches users.
FAQs
Still stuck? Open an issue.