The Bitter Lesson holds that knowledge we build into AI systems helps at first and is eventually outgrown by general methods. 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 remember—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 cage.
We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter—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 cost, 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 again.
As models grow stronger, the best harness is the one that decides the least.
Give the model a freehand!
What Freehand keeps
a ~200-word descriptive promptDescribes only how the runtime works. No workflows, behavioral rules, or runtime reminders.
a single bash interfaceThe model sets the timeout of each command and builds the scripts and tools each task needs.
context self-managementThe conversation history is a file the model can edit, so it prunes stale output when it chooses. No fixed-threshold compaction.
Scroll sideways to compare · Tap the figure to enlarge
Mainstream harnesses prescribe strategy, execution, and memory. Freehand returns all three to the model.
Frontier models across five domains
11 / 11highest score11 / 11lowest cost+5.1 pointsvs. first-party, on average−49% costvs. first-party, on average
From crutch to cage, measured
One benchmark, each family’s first-party harness against Freehand, and only the model changes. On all three lower-tier models the first-party harness still helps, leading Freehand by 5.1 to 6.7 points. On all three frontier models the order reverses: Freehand leads by 2.5 to 7.6.
Terminal-Bench 4 score (%), mean of 5 rounds per bar. Labels compare Freehand against the first-party harness, in points.
Four cases, up close
a tool call per click, or one script
OSWorld 2.1 · Task 065 · GPT-6-astra
With 20+ GUI tools, Codex spends a separate call on every action, screen capture, and image view: 430 calls, $57.45, and the booking fails. Freehand batches its GUI actions into scripts it writes itself, which also prune stale screenshots, and books the tickets for $9.95.
the whole PDF, or the lines that matter
Agents’ Last Exam · sec_10k_financial_parsing
OpenCode’s read tool loads a 78-page filing into context at call 3, and every later call re-sends it: 44 calls, 9.09M input tokens, $13.09. Freehand converts the filings to text on disk and greps for the statements it needs: 27 calls, 1.16M tokens, $2.66, for the same final score.
a fixed 30 s limit, or the model’s own timeout
Terminal-Bench 4 · ctr-optimization
mini-swe-agent has only bash too, but its hardcoded 30 s timeout cuts off the long job, so the model polls: 334 polling steps, 403 calls, $70.77. Freehand sets each timeout itself, waits up to 24 minutes in a single call, and finishes in 42 calls for $2.28.
same task, one prompt apart
Agents’ Last Exam · zdock
A benign structural-biology task: score and rank ten protein-docking poses. With only Codex’s system prompt swapped in, which has no biosecurity clause, the model refuses on the first turn in 10 of 10 runs. With Freehand’s prompt it completes the task in 10 of 10.
Scroll sideways inside a figure · Tap it to enlarge
Figures from the paper. The first three show single runs.
All results
All results, including OpenCode, Pi, DeepSeek Harness and mini-swe-agent
Benchmark
Model
Harness
Rounds
Score ↑
Cost ($) ↓
Time (min) ↓
Official score (%), cost per task in US dollars at list prices, and normalized net agent time per task in minutes, averaged over evaluation rounds. Best value per setting in bold. Gemini 4 Carbon was evaluated on Terminal-Bench 4 only, and mini-swe-agent on Terminal-Bench 4 with GPT-6-astra.
The lesson
The Bitter Lesson has come to agent harnesses. Every preset a harness adds is a decision made before the model has seen the task; such decisions carried weaker models, but for frontier models they override better decisions made with the evidence each task reveals. Freehand gives the model a shell, its own memory, and a meter, and leaves every other decision to the model. Across five domains and three frontier model families, this single rule makes agents better, cheaper, and faster at once than the harnesses built by the models’ own developers, while lower-tier models still benefit from presets.
As models grow stronger, the best harness is the one that decides the least.
Cite
@article{zeng2026freehand,
title = {Freehand: The Bitter Lesson Comes to Agent Harnesses},
author = {Zeng, Zezi and Zhao, Yuke and Tian, Muzhao and Yang, Yifan and Dai, Qi and Liu, Bei and Qiu, Kai
and Zhuang, Bohan and Zhu, Jihua and Luo, Chong},
journal = {arXiv preprint arXiv:2612.02442},
year = {2026}
}