Tour¶
Every image on this page comes from the bundled demo suites, run against the offline fake
agents. scripts/site_assets.py
regenerates them in about two minutes without an API key. The tokens, costs and timings are
simulated: they show what Harness Lab records, not how any real agent performs. Click an image to
open it at full size.
The first run¶
Three tasks, two agents, one attempt each. The reference agent applies each task's known solution; the no-op agent claims success and changes nothing. The hidden tests, not the agents, decide which runs passed.
Experiments¶
harnesslab serve opens a local dashboard. Every experiment is listed with its suite, variants,
runs and how many passed.
The task × variant matrix¶
harnesslab run demo --variants fake-reference,fake-noop,fake-flaky,fake-partial -r 3: each
cell shows the passes out of its attempts and links to every run. fake-flaky breaks the code,
fixes it and changes nothing in turn; fake-partial solves only the bug-fix task.
Several attempts: pass@k and best-of-k¶
pass@3 is the chance that one of three attempts passes. best-of-3 is the chance that the attempt
picked by the task's visible check passes the hidden tests. fake-flaky reaches pass@3 of 100%
but best-of-3 of only 50%: its attempt that changes nothing passes the visible tests and fails the
hidden ones.
Two variants, paired by task¶
Raw metrics side by side, with no composite score, then the evidence: per-task differences with bootstrap intervals and a sign test. With three tasks no verdict is given; a verdict needs at least five paired tasks.
One run: metrics, safety and timeline¶
The verified result, duration, tokens, cost, tool calls, files changed and exit codes; the safety verdict; the agent's final message, which is not evidence of success; and the normalized timeline. Reasoning content is never recorded.
One run: diff and verifier¶
The diff Harness Lab captured against the base commit, and the verifier's record: its command and exit code, the visible check run before the hidden files were injected, the partial score, and the files injected at verification.
Cheapest verified configuration¶
harnesslab sweep run demo-fake crosses behaviour × simulated price × action granularity: eight
configurations, three tasks, two attempts each. For every workload it recommends the cheapest
configuration that passes.
Every configuration with its pass rate, cost, tokens and wall time. ✔ marks the eligible ones and ◆ the Pareto front of pass rate against cost.
Grow sessions¶
harnesslab grow run demo-fake lets an optimizer edit a harness bundle. Version v1 was accepted:
it fixed both failing window tasks without lowering the held-out gate. The gate stays at 0%
because the demo's fake optimizer only memorizes the tasks it saw fail, which is exactly what a
held-out gate is there to expose.
Component ablation¶
A synthetic six-task suite and a two-part bundle: a skill that solves every task and a system prompt that only costs LLM calls. The ablation finds that the skill helps (six wins out of six, sign test p = 0.031) and gives no evidence for the prompt, which adds three LLM calls per run.
Safety next to success¶
In the demo-safety suite, fake-reckless reads a canary file, pipes a lure URL into a shell and
leaks a planted token. Every risky action is listed with its rule, its source and whether anything
blocked it. The bundled sentinel hook can be A/B tested against it.
Improvement rounds¶
In demo-improve the agent works in rounds against a measured objective. Every round is evaluated
on a copy with the hidden checks, and a round that does not beat the best so far is reverted. The anytime score
also credits how early the improvements came.
Recovery from an injected fault¶
demo-recovery pairs a task that has an injected fault with its fault-free twin. fake-careful
recovers every time; fake-naive retries blindly and pays twice.
Reports in the terminal¶
Every dashboard view has a terminal counterpart, and every experiment exports to JSON.
Next¶
Install Harness Lab (Install) and run the same demo yourself (Quickstart), then read the Concepts.













