agent_breaking Research & Papers

Microsoft's Freehand beats Codex and Claude Code in all 11 tests at half the cost

โšก IN A RUSH?
Email me this story to read later
We'll send the executive briefing to your inbox and unlock the key points below.
Microsoft's Freehand beats Codex and Claude Code in all 11 tests at half the cost

โšกThe scaffolding that AI labs build around their own models turns out to be holding the best models back.

Deep Dive

Every coding agent you use - Codex, Claude Code, Gemini CLI - wraps the AI model in a 'harness': preset instructions, 20+ tools, fixed timeouts and automatic memory trimming. Microsoft Research and three Chinese universities asked a simple question: what if you removed almost all of it? Their answer is Freehand, released as an open-source paper (arXiv 2612.02442) and MIT-licensed code this week.

Freehand keeps only three things: a roughly 200-word prompt describing the runtime, one bash tool where the model sets its own timeouts and writes its own scripts, and a conversation history file the model can edit itself. Across five benchmarks and three frontier model families (GPT-6-astra, Claude Opus 5.5, Gemini 4 Carbon), it posted the highest score AND the lowest cost in all 11 settings - averaging +5.1 points at 49% less money than each model's own first-party harness. Rival harnesses took 17-62% longer per task in controlled reruns.

The case studies show where the money goes. On an OSWorld desktop task, Codex burned 430 tool calls and $57.45 over 76 minutes - and still failed to book the train tickets; Freehand wrote its own batched scripts and finished in 21 minutes for $9.95. On a long-running job, a rival harness with a hardcoded 30-second timeout forced 334 polling loops costing $70.77; Freehand set its own 24-minute wait and paid $2.28. Swapping in Codex's 3,000-word system prompt even caused false refusals on a harmless protein-docking task in 10 of 10 runs - Freehand's short prompt passed 10 of 10.

The twist: this only works at the frontier. On weaker models (GPT-6 Sol, Claude Sonnet 5.5, DeepSeek V4.1 Flash) the first-party harnesses still win by 5.1-6.7 points - presets are a crutch for weak models but a cage for strong ones. The team calls it the Bitter Lesson arriving for agent harnesses: as models improve, the best harness is the one that decides the least. All numbers are from Microsoft's own paper and have not been independently replicated.

Key Points
  • Freehand beat Codex, Claude Code and Gemini CLI in all 11 test settings: +5.1 points average score at 49% lower cost, with rivals running 17-62% slower.
  • It strips the harness to ~200 words of prompt, one bash tool with model-set timeouts, and a memory file the model edits itself - no preset workflows or auto-compaction.
  • On weaker models the presets still help (first-party harnesses lead by 5.1-6.7 points), so the finding applies to frontier models only - and all results are the authors' own tests.

Why It Matters

Agent harness design is a real cost line for every company deploying coding agents. If minimal harnesses genuinely halve costs and raise scores on frontier models, the elaborate scaffolding teams are building may be wasted engineering - and vendor lock-in to first-party agent tools gets weaker.

๐Ÿ”“ FREE UNLOCK

Unlock the key points and why this story matters

Join the readers who get The Neural Feed every morning. Free, no spam, unsubscribe any time.

๐Ÿ”” BREAKING RELEASE RADAR INSTANT ALERTS โ€ข 1-CLICK PAUSE

Never miss the next Anthropic & Claude drop

We matched Anthropic & Claude from this briefing. Pick your AI radar tracks below for instant breaking release alerts + our free daily morning briefing.

Includes full article unlock โ€ข Only major releases โ€ข Unsubscribe anytime
๐ŸŽ FREE EXECUTIVE DOWNLOAD ISSUE #21

Download This Week's 8-Page Executive AI Briefing (PDF)

Our curated executive intelligence packet: in-depth breakdowns of frontier models, market movements, plus full-color AI comics.

  • โœ“ 8-page formatted executive PDF briefing
  • โœ“ Frontier AI models & technical breakthroughs
  • โœ“ Full-color satirical AI comic strips
Instant 1-click download โ€ข 100% free โ€ข Unsubscribe anytime
๐Ÿ“ฌ Get the top 10 AI stories daily