Unit tests, but for AI

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

Install shipyardSee how it works
The 30-second version

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

  1. Write the test

    Describe the task and the rules your AI should follow — or start from a ready-made template.

    shipyard init eval refunds
  2. Run it safely

    The agent works inside a disposable sandbox, and every step it takes is recorded. Your machine is never touched.

    shipyard run refunds
  3. Read 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.

Hover to open the envelope

Tap seal to open the envelope

Before & after

Stop hoping your AI works. Start knowing.

Software teams never ship without tests. Here is what changes when your AI gets the same treatment:

Shipping speed

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-bot
Regressions

Change 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-4o
Safety rules

Rules 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/guardrails
Every change, tested

Nothing 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.
evalset / customer-botshipyard v0.0.2 · go1.23
$ 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.

An eval is a unit test for an AI agent. A regular test checks that a function returns the right answer; an eval gives your agent a real task (like “refund order #4821” or “fix a memory leak”), lets it work with tools in an isolated sandbox, and automatically grades whether it solved the task without breaking your rules.