Blog

Oct 14, 2026 · The Shipyard Team

Introducing Shipyard

Your agent is non-deterministic. Your tests don't have to be.

Four years of labs have been running an arms race toward artificial general intelligence, on the promise that the models would get good enough on their own. Last week the race got an official name. The US government signed an executive order rebranding the technology as "superintelligence," directing agencies to stop using the phrase "artificial intelligence" in official documents. Trump called the old name "poorly and inaccurately named." The premise was always that capability would arrive ahead of measurement. It hasn't.

The industry has done everything except produce measurable results. Projects reach production with evals attached and fail there anyway. The models are black boxes, so you can't measure improvement, since every run hands you a different answer and a prompt change that looks better might just be a reshuffle. You can't cover the long tail either, because a demo only hits the three happy paths you thought of on day one. Here's the failure that keeps us up: an agent took five steps, issued the refund correctly, and never escalated to a supervisor. It did the visible work and quietly dropped the invisible work.

Today we're introducing the Shipyard CLI. An eval is a folder: a prompt, a Dockerfile, and a Python function where you write what your agent should have done. The CLI runs your agent in a sandbox and grades what it left behind.

An eval is a folder

fix-memory-leak/
├── eval.toml           # agent, sandbox, and scoring config
├── instruction.md      # the prompt handed to the agent
├── environment/
│   └── Dockerfile      # the isolated sandbox
├── solutions/          # reference solutions, for your own eyes
├── tests/
│   └── rubric.py       # you write this
└── rollouts/           # generated: what actually happened

There's nothing to learn here. instruction.md is the prompt your agent receives. Dockerfile is the world it wakes up in. eval.toml names the agent and the sandbox.

[[agent]]
name = "langgraph-support-bot"
plugin = "langgraph"
entrypoint = "../../support-bot-agents/graph.py"

# Or a CLI agent:
# [[agent]]
# plugin = "claude-code"
# command = "claude --print 'Follow instruction in instruction.md'"

[tests]
rubric = "tests/rubric.py"
pass_threshold = 1.0

An eval is a folder, which means a folder is a test case. Put a hundred inside another folder and you have an evalset.

You write the rubric

This is the part that matters, and it's the part people get stuck on. There's no DSL and no framework. Your rubric is a Python function that reads the agent's workdir and prints JSON.

You write it by hand, or you ask the AI assistant you already use to write it. It is plain Python, so it's a normal thing to read, review, and edit.

def evaluate():
    workdir = os.environ.get("SHIPYARD_WORKDIR", ".")

    # Did the agent actually mutate the order record?
    with open(os.path.join(workdir, "orders.json")) as f:
        for order in json.load(f).get("orders", []):
            if order.get("order_id") == "ORD-98421":
                ok = (order.get("status") == "cancelled"
                      and order.get("refund_processed") is True)
                break

    print(json.dumps({
        "eval_name": "order-cancellation-and-refund",
        "items": [{
            "name": "order_cancellation_execution",
            "score": 1.0 if ok else 0.0,
            "threshold": 1.0,
            "passed": ok,
            "description": "Order ORD-98421 cancelled, refund_processed = true",
        }],
        "passed": ok,
    }, indent=2))

Anything you can express in Python, you can assert on. Query a database. Parse a diff. Assert that a mock was never called with a customer's card number.

One criterion, or twenty. Each scores on its own and carries a description in English, so when something breaks at 2am you get Order ORD-98421 status is processing and refund_processed=false instead of assertion failed.

This is how you catch the invisible work. That missing supervisor escalation is just another check in the same file:

items.append({
    "name": "supervisor_escalation",
    "score": 1.0 if escalated else 0.0,
    "threshold": 1.0,
    "passed": escalated,
    "description": "Supervisor notified before issuing the refund",
})

Nothing clever is happening. You decided what correct looks like, wrote it down, and now it runs every time.

Run it

curl -fsSL https://raw.githubusercontent.com/dock-at-the-yards/shipyard-cli/main/install.sh | sh

shipyard init eval fix-memory-leak
shipyard run ./fix-memory-leak

No Go toolchain, no cloud account, no SDK for your package.json. Just a static binary, SHA256-verified before it writes anything.

  1. shipyard init scaffolds an eval or an evalset.
  2. shipyard run executes one and scores it.
  3. shipyard version prints version, commit, and channel.
  4. shipyard completion writes a shell completion script.

Requirements are the boring ones you probably have:

  1. Docker, unless you pass --env local.
  2. python3, because rubrics run as python3 <script>.
  3. git, because evalsets may reference remote agent repositories.

Every eval runs in its own container, so your agent can run real bash without touching your machine, and one eval can't contaminate another. --keep-env leaves the sandbox standing after a failure so you can go look at what it actually left behind.

Compare agents

"Is the new model better than the old one?" is the question this exists to answer, so the answer is a flag.

  • CLI agents: claude-code, codex, aider, opencode, gemini-cli.
  • Frameworks: LangChain, LangGraph, Pydantic-AI, Mastra.
  • Direct APIs: openai, anthropic, gemini, deepseek, ollama.
shipyard run ./fix-memory-leak --agent claude-code
shipyard run ./fix-memory-leak --provider openai --model gpt-4o

Same eval, same rubric, no config edits. The grader didn't change, so the comparison is honest.

What you get back

rollouts/<run-id>/
├── trajectory.json   # every message, tool call, and output, in order
├── metrics.json      # score, pass/fail, turns, duration, status
├── rubrics.json      # itemized per-criterion scoring
└── artifacts/        # whatever the eval chose to save

shipyard run exits non-zero when a rubric fails, so it drops into anything that runs commands:

name: Agent Regression Gate
on:
  pull_request:
    branches: [main]
jobs:
  eval:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: curl -fsSL https://raw.githubusercontent.com/dock-at-the-yards/shipyard-cli/main/install.sh | sh
      - run: shipyard run ./evalset/customer-support

Then the loop closes. A bug reaches production, you write the eval that catches it, that eval is permanent, and it can never regress again.

Trajectories come out in ATIF, the Agent Trajectory Interchange Format, so runs from different agents and models sit next to each other cleanly.

Limitations

  • Shipyard doesn't make your agent smarter. It reports whether the agent you have meets the bar you set.

  • It has no opinion about what to test. Coverage is entirely the work you do, and that's the real ceiling on the tool.

  • It grades what it can observe. An agent that writes a correct file after taking an indefensible shortcut will pass.

  • One run is a sample, not a verdict. Run the suite several times and look at the spread. Every run is recorded, though the CLI doesn't do that analysis for you yet.

  • This is v0.0.1 and source-available. Pin an exact version in CI.

Try it

curl -fsSL https://raw.githubusercontent.com/dock-at-the-yards/shipyard-cli/main/install.sh | sh

shipyard init eval fix-memory-leak
shipyard run ./fix-memory-leak

cat fix-memory-leak/rollouts/*/metrics.json

Write a rubric. Watch it fail for a real reason. Fix the agent. Watch it pass.

Writing the eval is the valuable part, and it's the part people avoid because it's tedious. Shipyard makes it a folder and a Python function, so the tedium is all that's left.

Go make it red.