Freehand: The Bitter Lesson Comes to Agent Harnesses
Zezi Zeng, Yuke Zhao, Muzhao Tian, Yifan Yang, Qi Dai, Bei Liu, Kai Qiu, Bohan Zhuang and 2 others
Xi'an Jiaotong University · Zhejiang University · Fudan University · Microsoft Research
Published December 1, 2026 · on the feed December 2, 2026 · ▲ 178 · arXiv 2612.02442
The abstract
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. Code: https://github.com/microsoft/FreeHand
The Brief
2:26A short podcast summary of the paper. Written and voiced by AI.
Transcript
Freehand. The Bitter Lesson Comes to Agent Harnesses. By Zezi Zeng and nine others, from Xi'an Jiaotong University, Zhejiang University, and two other institutions. Published on the first of December.
The Bitter Lesson holds that the knowledge we build into AI systems helps at first, and is eventually outgrown by general methods. The authors argue that this lesson has now reached agent harnesses, the scaffolding that sits around a model while it works. 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. Threshold compaction decides what to remember. Every one of those decisions is made before the model has seen the task, which means it is made without knowing what the task will need.
For weaker models, the authors say, these presets are a crutch: they hold the model up. For frontier models they become a cage: they hold it back.
Freehand is a general-purpose harness built on a single rule. Give the model a shell, its own memory, and a meter, and let it decide everything else. The shell is the means to act. The memory belongs to the model, rather than being compacted for it on a threshold. The meter shows what is being spent. Every decision the presets used to make is handed back to the model.
Freehand was tested across five domains and three frontier model families. The main comparison is against each model's own first-party harness: Codex, Claude Code, and Gemini CLI. It was also set against OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its own workflow and timeouts. That last comparison isolates the claim. A shell alone is not the point; a harness can have a shell and still dictate the workflow. What Freehand removes is the dictation.
The authors report Freehand as better, cheaper and faster at the same time. It outscores each model's first-party harness in all eleven settings, by five point one points on average, at forty-nine percent lower cost. It also runs fastest on average. In a controlled side-by-side rerun, each of the other harnesses takes between seventeen and sixty-two percent longer.
Freehand outperforms OpenCode, Pi, DeepSeek Harness and the bash-only harness as well. The result flips with lower-tier models, though. There, the first-party harnesses win again, which is the crutch half of the argument showing up in the data.
The conclusion is stated as a principle. As models grow stronger, the best harness is the one that decides the least. The flip with weaker models keeps that from being a blanket rule. How much a harness should decide depends on how capable the model inside it is, and on this evidence, for frontier models, the answer is very little.
Paper Quest · 7 chapters · about 39 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every quest starts with a wall. Here the wall is built from helpful rules.
You run coding and science tasks with a frontier model. Around it sits a harness: a long rulebook prompt, twenty-odd wrapped tools, a fixed command timeout, and history that gets squeezed whenever the context fills.
The road ahead
- 1 · The problem ~6 min Harnesses around frontier models make many choices before the task is seen, and those fixed choices now get in a capable model's way.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min Fixed presets override a strong model's better in-task choices, so hand those choices back and give the model levers to make them.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Freehand keeps the basic agent loop and adds only a shell, a self-managed history file and a per-turn meter, leaving every other choice to the model.
- 6 · The experiment ~6 min You’ll guess: Freehand outscored each model's first-party harness on average. How much lower was its cost per task?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.