Quickstart¶
Five minutes, no API keys. The bundled demo suite targets ledgerlite, a tiny standard-library
Python package, with three tasks: a bug fix, a feature across two modules, and a refactor with a
byte-identical-output invariant. Hidden tests decide every result.
1. Run the demo against two fake agents¶
fake-reference applies each task's reference solution. fake-noop changes nothing but claims
success. The terminal shows the task × variant matrix: the reference passes every task, the no-op
fails every task, because the verifier, not the agent, decides. The demo has two more offline
variants: fake-partial solves only the bug fix, and fake-flaky breaks the code, solves the
task, then changes nothing, in turn over repetitions (try it with --repetitions 3 to see pass@k).
experiment exp_... — demo
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ task ┃ fake-reference ┃ fake-noop ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ fix-month-boundary │ ✔ │ ✘ │
│ add-tag-budgets │ ✔ │ ✘ │
│ consolidate-money-formatting │ ✔ │ ✘ │
└──────────────────────────────┴────────────────┴───────────┘
2. Open the dashboard¶
Open http://127.0.0.1:8000. Click the experiment, then any cell of the matrix to see the run: timeline of tool calls, the diff against the base commit, the verifier's output, and the reproducibility record. See The dashboard.
3. Get an editable copy of everything¶
init copies the bundled suites (suites/demo/, demo-improve/, demo-safety/,
demo-discovery/, demo-recovery/), the sweep templates (sweeps/), the grow templates
(grow/), two harness bundles (harnesses/baseline/, a starting point, and
harnesses/sentinel/, a hook that blocks risky actions) and pricing.example.yaml, plus a
README. The copied sweep and grow templates point at the copied suites, so your edits are what
they run. All of it is yours to edit.
4. Check the suite's verifiers¶
Every verifier must fail on the untouched repository and pass with the reference solution. Run this after editing any task.
5. Try the other features on fake data¶
harnesslab sweep run sweeps/demo-fake.yaml # cheapest verified configuration, seconds
harnesslab grow run grow/demo-fake.yaml # grow a harness from failures, seconds
harnesslab experiment list
harnesslab grow list
6. Run a real harness¶
harnesslab run suites/demo/suite.yaml --variants claude-default # needs the claude CLI
harnesslab run suites/demo/suite.yaml --variants codex-default # needs the codex CLI
These use real API usage. Before starting any harness other than the fake one, run, sweep run,
grow run, grow resume and ablate run say how many runs of which harnesses will start and
under what cost cap, and in a terminal they ask first (default no). --yes skips the question;
scripts without a terminal are told and go ahead. Bundled templates that use real harnesses carry
a cost cap (budget: {max_cost_usd: …}); harnesslab sweep list marks them.
Then Run Claude Code, Run Codex, or Test your own harness.