Microsoft Research has a counterintuitive answer to the question of how to get more out of frontier AI models: give them less. Its new open-source agent harness, Freehand, hands a model a roughly 200-word prompt, a single shell tool and a running meter of its own costs — and then gets out of the way.
The results, published in a paper posted to arXiv on December 1, are striking. Across 11 model-and-benchmark settings, Freehand outscored the first-party harness of every model it was tested against — OpenAI's Codex, Anthropic's Claude Code and Google's Gemini CLI — by 5.1 points on average, while cutting the average cost per task by 49 percent. The code is open source under an MIT licence.
A shell, a memory and a meter
Most agent harnesses wrap a model in scaffolding: long system prompts that prescribe how to approach a task, large tool suites, fixed timeouts and rigid rules for what the model should remember. Codex starts a session with about 15,100 tokens of fixed instructions and 23 callable tools; Claude Code with 22 tools and about 8,500 tokens. Freehand uses roughly 350 tokens and one tool — bash — whose timeout the model sets for each command.
Instead of compressing the conversation when it crosses a fixed threshold, the model edits its own history, keeping what matters and dropping what does not. A meter shown after every turn reports context size, tokens used, cost and elapsed time, so the model can see what it is spending as it works.
The team tested Freehand on five benchmarks — Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam, OSWorld 2.1 and AutomationBench — paired with three frontier model families: GPT-6 Astra, Claude Opus 5.5 and Gemini 4 Carbon. In total, the paper reports 191 evaluation rounds.
Where the gap is biggest
The widest margin came on OSWorld 2.1, a desktop benchmark, where Freehand with GPT-6 Astra scored 76.2 percent against 68.3 percent for Codex — at $3.96 per task versus $14.94. Across all settings, the mean cost per task was $3.23 for Freehand against $6.70 for the vendor harnesses. It also ran faster: in a controlled side-by-side rerun, each rival harness took 17 to 62 percent longer.
The authors frame the finding as the "bitter lesson" applied to agent harnesses: rules built into a system help at first and are eventually outgrown by general methods. "As models grow stronger, the best harness is the one that decides the least," the paper's abstract says.
The limits of the claim
The result comes with caveats worth stating plainly. Freehand is a preprint, not yet peer-reviewed, and the authors built the harness they are testing — though the code is public, so anyone can rerun the comparisons on their own tasks. And the advantage flips with weaker models: with lower-tier models, the first-party harnesses win again, because those models still benefit from the structure and guardrails the vendor tools provide.
Freehand ships as part of Microsoft Research's AgentOpt series, which also published a paper on evolving evaluators this week. For teams running coding agents on frontier models, the message is pointed: the expensive scaffolding around the model may now be doing more harm than good — and the cheapest way to a better agent might be to take things away.



