Coding-agent harness bake-off
The model and the tasks are held fixed and only the agent harness changes. This study measures how much of a coding agent's score comes from the harness.
Summary
On identical weights, switching from our minimal tool-calling loop to aider's edit format moved qwen3-coder-30b and llama-3.1-8b by 61 points or more, while strong models scored 100 either way. A ranking of models for coding should therefore name the harness it was run under.
With a strong model the harness matters much less. The 6 agent harnesses on deepseek-v4-pro (plus 2 vendor CLIs on their own models) all land between 95% and 100% with overlapping intervals.
Method
- Each task is a prompt plus a rubric that runs the code the agent produced and checks behaviour. A program that looks right and returns wrong answers loses most of its points. See Methods.
- squeezer is our ~250-line reference agent, with four tools (read, write, list, bash) in a plain tool-calling loop. It was written to be easy to read and change, and it is the baseline here. aider edits through whole-file and diff formats instead of tool calls.
- The first bake-off was unpaired (a resume bug let one arm run far more cells than the other). The comparison here uses only the (eval, model) cells where both harnesses ran: each side's mean over its trials in that cell, then the paired difference. The 95% interval is a bootstrap over cells, computed when this site is built.
aider vs the squeezer loop, paired
runs.jsonl, tag bakeoff, harnesses aider-cloud and squeezer-cloud.Show the numbers
| model | shared cells | squeezer | aider | aider − squeezer | 95% CI | aider wins / squeezer wins / ties |
|---|---|---|---|---|---|---|
| all models | 38 | 46.8 | 79.7 | 32.9 | 18.5–46.7 | 24 / 5 / 9 |
| qwen3-coder-30b | 4 | 6.8 | 76.2 | 69.4 | 31.2–97.3 | 4 / 0 / 0 |
| llama-3.1-8b | 15 | 12.0 | 73.6 | 61.6 | 44.0–78.0 | 14 / 1 / 0 |
| mistral-small-3.2 | 15 | 78.1 | 81.4 | 3.2 | -14.3–18.9 | 6 / 4 / 5 |
| deepseek-v4-flash | 2 | 100.0 | 100.0 | 0.0 | 0.0–0.0 | 0 / 0 / 2 |
| gpt-oss-120b | 2 | 100.0 | 100.0 | 0.0 | 0.0–0.0 | 0 / 0 / 2 |
Over the 38 shared cells aider averages 79.7% against 46.8% for squeezer, and wins 24 cells to 5 with 9 ties. The likely mechanism, seen in the earlier local runs: small models fail at exact-match edits and tool calls (they hallucinate the file contents they are replacing), and a whole-file edit format sidesteps that failure. This sweep did not test the mechanism directly.
Eight harnesses on one strong model
A second sweep ran each harness on deepseek-v4-pro over the full suite. The squeezer row is the same model from the main cloud sweep (a different run, same tasks). Codex CLI and Claude Code are vendor CLIs and ran their own vendors' models, so they are drawn hollow and are not a harness-only comparison.
runs.jsonl, tag harness-bakeoff. The squeezer row is from tag fable-hunt. pi ran 11 evals only. Cost is not recorded for some harnesses (n/r).Show the numbers
| harness | model | evals | runs | mean % | 95% CI | $/task | mean wall |
|---|---|---|---|---|---|---|---|
| squeezer (reference) | deepseek-v4-pro | 49 | 104 | 99.5 | 98.7–100.0 | $0.023 | 150s |
| Codex CLI | codex | 49 | 50 | 99.4 | 98.6–100.0 | n/r | 38s |
| aider | deepseek-v4-pro | 49 | 49 | 98.1 | 94.6–100.0 | $0.0044 | 77s |
| pi | deepseek-v4-pro | 11 | 11 | 97.8 | 94.7–100.0 | n/r | 83s |
| Claude Code | claude-code | 49 | 49 | 97.6 | 93.6–99.8 | $0.164 | 50s |
| opencode | deepseek-v4-pro | 49 | 49 | 97.6 | 93.2–100.0 | $0.014 | 47s |
| Cline | deepseek-v4-pro | 49 | 49 | 95.4 | 89.6–99.6 | $0.088 | 90s |
| Crush | deepseek-v4-pro | 49 | 49 | 94.9 | 89.1–99.4 | n/r | 58s |
Limitations
- Coverage is uneven per model, and the paired view drops every unpaired cell.
- Sampling used provider defaults. Temperature and seed were not pinned for these sweeps.
- The tasks are ours and lean algorithmic. A standard external benchmark has not been run yet.
- The coding-suite agent shell is not sandboxed, so a model could read a rubric mid-run. This has not been observed.
- All scores are after the June rubric audit, which rewrote 26 rubrics and re-scored every affected run (see Methods).
Data
runs.jsonl, one JSON object per run. Filter on tag = bakeoff or harness-bakeoff.
bin/bakeoff-report --tag bakeoff # the paired table
bin/cloud-report --tag harness-bakeoff # the eight-harness sweep