Microsoft's "Freehand" Paper: Less Harness, Better AI Coding Agents
A new Microsoft research paper finds that a bare-bones agent harness — a short prompt, one bash tool, and self-managed memory — beats elaborate setups like Codex, Claude Code, and Gemini CLI.
A new Microsoft research paper, titled "Freehand," challenges a common assumption in AI coding tools: that agents need elaborate harnesses — long system prompts, dozens of tools, fixed timeouts, and automatic memory management — to perform well.
Instead, the researchers tested a minimalist harness: a roughly 200-word prompt, a single bash tool, and memory the model manages itself. Across 11 scenarios spanning five benchmarks, this "freehand" setup improved scores by an average of 5.1 points while cutting cost by 49%, with faster run times, when paired with frontier models.
The catch: weaker models still benefit from more scaffolding and structure. The finding seems to apply specifically to frontier-level models, which appear to perform better when given more freedom and simple, direct feedback (like token costs) rather than being boxed in by an elaborate harness like those used by Codex, Claude Code, or Gemini CLI.
Microsoft has open-sourced the code behind Freehand, inviting developers to test the minimalist approach on their own agents.
Source: @rohanpaul_ai on X, summarizing the Microsoft paper