The Pulse
Microsoft Research team says leaner agent harness wins in tests
A preprint says Freehand outscored three model makers’ own agent harnesses across 11 test settings while costing less per task. The researchers found the result reversed with lower-tier models.

A stripped-down system for running AI agents outscored model makers’ own harnesses by an average of 5.1 points at 49% lower cost per task in tests, its researchers report. The result comes from a December 1 preprint by a team that includes Microsoft Research.
Source arxiv.org
Called Freehand, the system gives a model a shell, an editable memory file and a meter, while leaving decisions about how to carry out a task to the model. The researchers found a different pattern with lower-tier models: their first-party harnesses scored higher than Freehand.
Fewer preset decisions
A harness is the software loop that sends context to a model, executes its actions and returns the results. The authors examined eight existing harnesses through their source code and captured API requests, focusing on rules for task strategy, tool use and memory.
Freehand instead uses a runtime description of about 200 words and a single bash interface. The model can set the timeout for each command and edit its conversation history in a file, including pruning or condensing material it no longer needs.
After each turn, the harness reports context size, token use, cost and elapsed time. Its prompt describes the runtime without prescribing a workflow; permissions, sandboxing and total budgets remain host-side boundaries.
Benchmark results
The researchers tested Freehand across five domains and three frontier model families. They report higher scores in all 11 settings than the respective first-party harnesses: Codex, Claude Code and Gemini CLI.
Freehand also outperformed OpenCode, Pi, DeepSeek Harness and a bash-only harness that retained fixed workflows and timeouts, according to the preprint. In a controlled side-by-side rerun on the same machines and API endpoints, the other harnesses took 17–62% longer, the authors report.
In one example from the project’s results table, Freehand scored 76.2% on OSWorld 2.1 with GPT-6-astra at $3.96 per task; Codex scored 68.3% at $14.94 per task. The paper is a preprint, and the results are the authors’ measurements.
Lower-tier models
The pattern did not hold for the lower-tier models tested. On Terminal-Bench 4 with Claude Sonnet 5.5, Claude Code scored 41.6%, compared with 34.9% for Freehand, according to the project’s results.
The authors also report higher first-party harness scores with GPT-6 Sol and DeepSeek V4.1 Flash on that benchmark. They argue that preset instructions and tools can help weaker models even as they constrain stronger ones.
Availability and boundaries
The project is available in a Microsoft GitHub repository and is marked alpha. The repository says Freehand has no sandbox or approval prompt: commands run with the user’s permissions and access to files, network, credentials and environment variables.
The project lists macOS and Linux support, with its command-line and web interfaces also running under Linux on WSL2. The desktop app is marked beta, and signed installers have not yet been published.
Sources
- Original source · Preprint Freehand: The Bitter Lesson Comes to Agent Harnesses arXiv:2612.02442
Other pages read
- Microsoft “GitHub” github.com
Companies in this story
Related stories
- FrontierCS 2 tests AI agents against published research code
- IBM reports CUGA gains on VAKRA after agent configuration changes
- Polylane says its AI agent led frontier models on SRE benchmark
- Voice models often miss the moment to warn of danger in Mundo AI test
- Gray Swan tests find wide gaps in AI-agent cheating rates