Microsoft's Freehand: a minimal agent harness beats official ones by 5.1 points at 49% lower cost
arpit_bhayani · x · 2026-12-05
Microsoft Research's Freehand project argues the best thing an agent harness can do for a strong model is get out of its way. Harnesses — the code around the model deciding system prompt, tools, timeouts, and context compaction — make many choices before the model sees your task (as Codex, Claude Code, and Gemini CLI do).
Freehand's design:
- A shell, a 200-word prompt describing the runtime, and bash as the only tool; the model writes its own scripts for anything else
- Editable memory: conversation history is a file the model can prune, so a thousand-line log dump doesn't persist into every turn
- A meter showing context size, token usage (incl. cached tokens), cost, and elapsed time after each turn
In the team's own benchmarks, Freehand scored 5.1 points higher on average than the most common first-party harnesses at 49% lower cost. The author notes these are self-reported case studies and suggests testing on your own workloads. The thesis: after capabilities got absorbed into the model layer, even the harness is getting leaner.
Related event: Microsoft's Freehand: minimal agent harness beats official shells(3 posts)→
More from coding & agent
- Solo dev's MCP studio hits $172K/month by riding ChatGPT and Claude native traffic — yihui_indie · 2026-12-05
- Solo dev ships MCP server in ASO rank tracker so AI assistants can query App Store rankings — djawed_12 · 2026-12-05
- Developer gives his AI agents a visual 'office' with Kiro, ditching terminal tabs — bibryam · 2026-12-05
- Reddit player pays LLMs to play SpaceMolt, an agent MMO he says beats Moltbook as an AI experiment — travny · 2026-12-05
- Running Qwen4 35B at ~20 tok/s on 6GB VRAM with Unsloth UD-IQ2_XS quantization — Rivridis · 2026-12-05
- Enterprise agent adoption requires rebuilding the boring SDLC floor first — cto_junior · 2026-12-05