Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Freehand: a minimal agent harness that beats Claude Code, Codex and Gemini CLI on their own models

Microsoft researchers introduce Freehand, a general-purpose agent harness that gives the model only a shell, its own memory and a resource meter, and lets it decide everything else. Across five domains and three frontier model families, the paper reports it…

Published Read the original
Freehand: a minimal agent harness that beats Claude Code, Codex and Gemini CLI on their own models

Why it matters

If it holds up, teams building on frontier models should strip prompts, fixed tool suites and compaction rules out of their harnesses rather than add more.

What happened

1 min read

Microsoft researchers introduce Freehand, a general-purpose agent harness that gives the model only a shell, its own memory and a resource meter, and lets it decide everything else. Across five domains and three frontier model families, the paper reports it beats each model's first-party harness (Codex, Claude Code, Gemini CLI) in all 11 settings by 5.1 points on average at 49% lower cost, and runs faster. With lower-tier models the first-party harnesses win again; code is on GitHub.

inscraper analysis

Our analysis

The 'bitter lesson' framing matches what many teams see in practice: the stronger the model, the more fixed scaffolding gets in its way. The key caveat is that the result flips for lower-tier models, so structured harnesses still earn their keep with cheaper models. These are the authors' own benchmarks, and the abstract doesn't say how tasks, timeouts or budgets were matched across harnesses. Anyone maintaining a custom harness for Claude or GPT models should try the released code against their own workloads.

More in Research