Microsoft Freehand Agent Harness Cuts Cost 49%

Microsoft Research has published Freehand, a general-purpose agent harness that strips an AI agent down to a short prompt, a single bash tool, and context the model can edit itself. According to the paper, Freehand outscored every tested model's own first-party harness in 11 of 11 settings, averaging 5.1 points higher at 49% lower cost.
What the Freehand agent harness does
The design is deliberately spare. Rather than layering tools, planners, and rigid memory rules around a model, Freehand gives the model very little and lets it decide the rest. The paper describes four core components:
- A runtime prompt of roughly 200 words that describes only the environment.
- One bash tool, with the timeout set by the model for each command.
- An editable conversation history, used instead of fixed-threshold compaction.
- A per-turn meter reporting context size, tokens, cost, and elapsed time.
The meter matters because it gives the model direct visibility into its own resource use, so it can trim context or change approach on its own. That is central to the lower AI agent cost the researchers report.
Benchmark results
Microsoft tested Freehand on five benchmarks: Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam, OSWorld 2.1, and AutomationBench. Each was paired with GPT-6 Astra, Claude Opus 5.5, and Gemini 4 Carbon, producing 11 settings in total. In every one, Freehand took both the top score and the lowest cost.
The comparison set included the first-party harnesses for each model family (Codex, Claude Code, and Gemini CLI). Freehand also beat OpenCode, Pi, DeepSeek Harness, and a bash-only baseline. In a controlled side-by-side rerun, the paper states that each of the other harnesses takes 17-62% longer.
Where Freehand does not win
The results come with a clear caveat. The authors note that with lower-tier models, the first-party harnesses win again. Weaker models appear to benefit from the scaffolding, guardrails, and structure that vendor-built tools provide, while stronger models are held back by it.
That is the paper's central argument. In its abstract, the team writes: "As models grow stronger, the best harness is the one that decides the least." The implication is that as frontier models improve, heavy orchestration logic becomes a cost rather than an advantage.
Availability
Officially released on December 1, 2026, Freehand is available on GitHub under an MIT license. It ships as part of Microsoft Research's AgentOpt series, which also produced the EvalOpt paper on evolving evaluators this week. The open license means developers can run, modify, and embed the harness in their own agent stacks without restriction.
The figures come from Microsoft Research's own paper as reported by AI Weekly, and independent replication has not yet been reported.
What this means
For teams building coding and computer-use agents, Freehand is a prompt to question how much scaffolding is really needed once a frontier model is in use. A 49% cost reduction with higher scores is a strong argument for simplifying, especially at production scale where token spend adds up quickly. At the same time, the lower-tier result shows this is not a universal recipe: teams running smaller or cheaper models may still be better served by richer harnesses. Expect vendors to respond by trimming their own first-party tools, and expect the harness itself to become a benchmarked variable, not a fixed assumption, in future model evaluations.
on Emergent today





