Read the paper
Freehand: The Bitter Lesson Comes to Agent Harnesses
on GitHub
A minimal agent harness—one shell, editable memory, a cost meter—outscores every vendor and third-party harness on three frontier model families across five domains, at half the cost, while the advantage reverses on weaker models.
Going deeper


Imagine hiring a new expert to renovate your kitchen. One contractor hands them a 20-page manual: use this brand of drill, follow these seven steps, check in every 30 minutes, and throw away your notes when the binder gets thick. The expert spends half the day following the manual instead of reading the room.
The other contractor gives them a toolbox, a notepad, and a clock, and says: the kitchen is yours, here is your budget, tell me when you are done. The expert writes their own checklist, waits for the glue to dry instead of poking it every 30 seconds, and tears out old notes when they start a new wall.
That is Freehand. Mainstream agent harnesses are the first contractor: they prescribe workflows, wrap every action in a special tool, and auto-summarize memory at a fixed threshold. For a junior worker those rules help. But for a seasoned expert they get in the way—more time following procedure, more money spent, worse results. The paper shows this crossover on three families of AI models: the stronger the model, the less the harness should decide.
The abstract, word for word, with the six densest phrases unpacked.
The Bitter Lesson holds that knowledge we build into AI systems helps at first and is eventually outgrown by general methods1. We show that this lesson has now come to agent harnesses. Mainstream harnesses decide a great deal on the model’s behalf—prompts prescribe how to approach a task, tool suites and timeouts fix how to act, and threshold compaction decides what to remember2—and every such decision is fixed before the model has seen the task. For weaker models these presets are a crutch; for frontier models they become a cage3. We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter4—and let it decide everything else. Across five domains and three frontier model families, Freehand is better, cheaper, and faster at the same time. It outscores the first-party harness of every model (Codex, Claude Code, and Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost5, and runs fastest on average: in a controlled side-by-side rerun, each of the other harnesses takes 17–62% longer. It also outperforms OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its workflow and timeouts, while with lower-tier models the first-party harnesses win again6. As models grow stronger, the best harness is the one that decides the least.
Two lines of work converge: building heavier harnesses, and questioning whether that helps.
Read five parts of it, in this order.
Skip Appendices G and H unless you want statistical methodology and runtime normalization details.
If the gains are smaller than they look, these places explain why.
| Model | Harness | Score (%) | Cost ($) | Time (m) | In Tok (M) | Per-round official scores |
|---|---|---|---|---|---|---|
| GPT-6 Sol | Codex | 34.9 1.9 | 2.42 0.54 | 19.3 2.9 | 8.55 | 33.3, 38.1, 33.3, 34.9, 34.9 |
| Freehand | 29.2 5.2 | 0.97 0.05 | 16.3 1.7 | 2.30 | 30.2, 33.3, 33.3, 28.6, 20.6 | |
| Claude Sonnet 5.5 | Claude Code | 41.6 6.3 | 1.70 0.14 | 27.4 2.8 | 7.14 | 36.5, 47.6, 49.2, 38.1, 36.5 |
| Freehand | 34.9 3.2 | 1.75 0.29 | 26.2 3.1 | 4.46 | 38.1, 38.1, 31.7, 34.9, 31.7 | |
| DeepSeek V4.1 Flash | DeepSeek Harness | 28.9 7.3 | — | 192.2 | 24.72 | 17.5, 36.5, 33.3, 27.0, 30.2 |
| Freehand | 23.8 6.3 | — | 191.9 | 18.46 | 22.2, 15.9, 30.2, 30.2, 20.6 |
Across the full 42-comparison family, 25/42 comparisons reach unadjusted p<0.05, 18/42 have two-level bootstrap 95% CIs strictly excluding zero, and 9/42 survive strict 42-test Holm–Bonferroni correction (10/42 under Wilcoxon signed-rank with 42-test Holm). Within the primary family of 11 first-party comparisons, 7/11 reach unadjusted p<0.05 and 4/11 survive 11-test Holm correction (OSWorld 2.1 Astra pHolm,11=0.010 and Opus 0.026; AutomationBench Astra 0.001 and Opus <0.001, with ALE Opus at 0.052). Statistical power tracks task count closely: the mean half-width of the score 95% CI shrinks from 9.1 pp on TB-Science (N=70) and 7.3 pp on Terminal-Bench 4 (N=63) to 5.1 pp on OSWorld 2.1 (N=108), 3.9 pp on ALE (N=105), and 2.5 pp on AutomationBench (N=600). Consequently, on the three larger benchmarks (N≥105), Freehand’s score lead over heavy first-party and open-source harnesses (Codex, Claude Code, OpenCode, DeepSeek Harness) is individually significant in nearly every setting, whereas 63–70 binary tasks over 3–5 rounds lack power to resolve 2–6 pp differences individually.
To validate the runtime ranking directly without relying on any post-hoc calibration, we conduct a fresh controlled rerun across all five benchmarks on both GPT-6-astra and Claude Opus 5.5 (high reasoning effort):
• Same machine, same API, same time window. For every task, all five harnesses (Freehand, Codex / Claude Code, Pi, OpenCode, and DeepSeek Harness, using the identical pinned versions and configurations from Table 4) launch simultaneously in 5-way lockstep on identical or homogeneous host hardware, sharing the same API endpoint and time window. • Representative subset and pure agent runtime. On each benchmark, we draw representative non-long-tail tasks covering multiple domains and measure pure net agent execution time (excluding container image build, environment setup, and post-run grading). • Common completed tasks. For strictly paired apples-to-apples comparison, we report results over the common task set completed normally across both models and all five harnesses: 20 AutomationBench, 9 Agents’ Last Exam, 9 OSWorld 2.1, 4 Terminal-Bench 4, and 2 Terminal-Bench Science tasks (44 common tasks, 440 trials total).
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all