By Shakeel Ahmed — AI Growth Lab
Microsoft Research just published an agent harness that beat Codex, Claude Code, and Gemini CLI on every one of 11 frontier benchmark settings — using a single bash tool, a ~200-word prompt, and almost no scaffolding at all. The harness is called Freehand, it is open source under the MIT licence, and on average it scored 5.1 percentage points higher than the vendors' own first-party harnesses while costing 49% less per task. The catch — and it is a big one — is that Freehand only wins on frontier models. Hand it a weaker model and the vendor harnesses it just humiliated turn around and beat it.
If you build coding agents, this paper matters more than most benchmark announcements. It is not really about a leaderboard. It is a direct challenge to how every major coding agent is built.
What Freehand actually is
Freehand comes from Microsoft Research and three Chinese universities, published as arXiv paper 2612.02442. Its design is almost aggressively minimal:
- One tool: a single bash tool. No file editor, no search tool, no task list, no subagent spawner.
- An editable transcript the model manages itself: instead of the harness curating context, the model edits its own conversation history — deciding what to keep, compress, and discard.
- A meter: the model can see tokens, cost, and time spent, so it can manage its own budget.
- A ~200-word descriptive prompt: about 0.35K static prefix tokens. That is the entire instruction set.
Compare that with the mainstream harnesses the authors audited. Codex carries roughly 15.1K prefix tokens and 23 tools. Claude Code carries about 8.5K prefix tokens and 22 tools. Gemini CLI carries around 9.5K prefix tokens and 16 tools. The DeepSeek Harness carries about 6.5K prefix tokens and 34 tools. Freehand's bet is that all of that machinery — the prompts, the tool definitions, the guardrails, the workflow presets — is not helping frontier models. It is getting in their way.
The authors frame it with the Bitter Lesson: the things that help weak systems become the things that hold strong systems back. As they put it: “For weaker models these presets are a crutch; for frontier models they become a cage.”
The benchmark results
The team tested three frontier models — GPT-6-astra, Claude Opus 5.5, and Gemini 4 Carbon — at high reasoning effort, across five benchmarks: Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam (ALE), OSWorld 2.1, and AutomationBench. That produced 11 frontier settings in total, run over 191 evaluation rounds with versions pinned, identical containers and VMs, and a single accounting pipeline at public list prices.
Freehand outscored the first-party harnesses in all 11 settings. Aggregate: 63.2% vs 58.4%, a +5.1 percentage point average gain, significant at p < 0.001. Mean cost per task fell from $7.34 to $3.73 — 49% lower.
| Benchmark / Model | Freehand | Vendor harness | Cost: Freehand vs vendor |
|---|---|---|---|
| Terminal-Bench 4 — Claude Opus 5.5 | 61.9% | Claude Code 54.9% | not reported separately |
| Terminal-Bench 4 — Gemini 4 Carbon | 57.1% | Gemini CLI 49.5% | $8.76 vs $13.72 |
| OSWorld 2.1 — GPT-6-astra | 76.2% | Codex 68.3% | $3.96 vs $14.94 |
| Aggregate (11 settings) | 63.2% | 58.4% | $3.73 vs $7.34 per task |
The OSWorld number is the most striking single result: nearly 8 points higher at roughly a quarter of the cost. The Terminal-Bench 4 Gemini result is nearly as telling — a 7.6-point win while spending about a third less. These are not marginal gains or cherry-picked settings. Across 191 rounds, Freehand won everywhere it was tested at the frontier.
The cost story deserves its own emphasis. A large share of the savings comes from the tiny prompt: 0.35K prefix tokens versus 15.1K for Codex means every single model call starts cheaper, and with long agentic trajectories that difference compounds across dozens of turns. The single bash tool also means fewer tool definitions to process on every step. Minimalism, it turns out, is not just elegant — it is cheap.
Why this is a bigger idea than one harness
Freehand is part of a wider pattern in 2026: the best results in AI are increasingly coming from removing things rather than adding them. The ARC Prize 2026 showed a similar lesson — four teams cleared 85% on ARC-AGI-2 with approaches that look very different from the heavy pipelines of a few years ago. And the recent MiniMax M4 story reminded the field that architecture choices made for one constraint set can have surprising consequences elsewhere.
The Freehand argument, at its core, is that scaffolding is a bet on the model's weaknesses. Every tool you add, every workflow step you hard-code, every guardrail you write into the system prompt is an assumption that the model cannot do that job itself. For older and smaller models, that assumption was correct — the scaffolding genuinely helped. For frontier models, the paper argues, the assumption has flipped: the model can plan, use a shell, manage its own context, and recover from errors better than the harness's presets can. The presets then stop being help and start being a ceiling.
If that argument is right, the whole coding-agent industry has a design problem. The most expensive, most carefully engineered part of products like Codex and Claude Code — the harness — may be the part holding the model back.
Here's the catch: weaker models still need the cage
This is where the story gets honest, and where anyone tempted to rip out their harness today should slow down.
The authors tested Freehand on weaker models too — and there, the vendor harnesses won. On Terminal-Bench 4:
- Codex beat Freehand by 5.7 percentage points on GPT-6 Sol.
- Claude Code beat Freehand by 6.7 percentage points on Claude Sonnet 5.5.
- The DeepSeek Harness beat Freehand by 5.1 percentage points on DeepSeek V4.1 Flash.
That is the same pattern, in reverse, and it is exactly what the authors' framing predicts: “For weaker models these presets are a crutch; for frontier models they become a cage.” A crutch is not an insult — it is what lets you walk. Strip the scaffolding from a model that still needs it, and performance falls off a cliff.
The practical consequence is a split in how agents should be built. There is no single right harness anymore; the right harness depends on the model underneath it. Frontier model, minimal harness. Weaker or cheaper model, rich harness. Anyone building a product that lets users swap models — or that routes tasks between a cheap model and a frontier one — now has a design decision the benchmarks have made unavoidable: either maintain two harnesses, or accept losing performance on one side of the split.
What this means for you
If you are a developer building or choosing an agent harness, the takeaways are concrete:
- If you run frontier models, try less scaffolding first. Before adding another tool or workflow step, test whether the model does better without it. The Freehand results suggest the default answer for top-tier models may now be “less.”
- If you run smaller or cheaper models, keep the harness. The catch is real: on GPT-6 Sol, Claude Sonnet 5.5, and DeepSeek V4.1 Flash, the vendor presets earned their keep.
- Watch your prefix tokens. The cost gap — $7.34 down to $3.73 per task — is largely a prompt-size story. A 15K-token system prompt is a tax on every call in a long trajectory.
- Give the model a budget meter. Freehand's token/cost/time meter is a small feature with an interesting idea behind it: models that can see their own spend can manage it. That is worth stealing even if you keep the rest of your harness.
- Reproduce before you rebuild. This is a preprint, and the authors built the harness they are testing. The methodology looks careful — 191 rounds, pinned versions, identical environments, one accounting pipeline — but independent reproduction is what turns a striking paper into a settled fact.
A sketch of the idea
Freehand's design can be sketched in a few lines. The sketch below is illustrative only — it shows the shape of the idea, not the paper's implementation:
# ILLUSTRATIVE SKETCH — not the Freehand implementation
system_prompt = '...~200 words describing the task, the bash tool, and the budget meter...'
transcript = [system_prompt] # model may edit its own history
while not done and budget_remaining:
action = model.choose(transcript) # one bash command
result = run_bash(action)
transcript.append(action, result) # model prunes transcript as it goes
budget_remaining -= cost(action)
One tool, one transcript, one meter. Everything else is the model.
What we don't know yet
Plain caveats, because this paper will be widely shared and some of it will be overstated:
- It is a preprint, not peer-reviewed. arXiv 2612.02442 has not been through peer review.
- The authors built the harness they tested. That does not make the results wrong — the methodology, with pinned versions, identical containers, and a single cost pipeline, is designed to be fair — but independent reproduction is still needed.
- All percentages are author-reported until reproduced. The 63.2% vs 58.4% aggregate, the 5.1-point average gain, and the per-setting numbers come from the authors' own evaluation rounds.
- The frontier-only win is a real limit, not a footnote. If your stack runs on smaller models, Freehand as published is likely a step backward for you, not forward.
Freehand's real contribution may not be the harness itself. It may be the question it forces: if the best model you can buy does better with almost no help, what exactly is your harness for? For frontier models, the honest answer emerging from this paper is: less than you think.
Sources: Freehand paper — arXiv:2612.02442; Microsoft Freehand: the Bitter Lesson agent harness — ExplainX
Originally published on AI Growth Lab: https://aigrowthlabshakeel.blogspot.com/2026/12/openai-and-anthropic-just-admitted.html
Top comments (0)