AI NewsDev toolsAnnouncement

Microsoft Research releases Freehand, a tiny coding agent harness

Microsoft Research and three Chinese universities released Freehand, an open coding agent with a 200-word prompt and one bash tool. The paper says it beats Codex, Claude Code and Gemini CLI on 11 settings at 49 percent lower cost.

AI News

Editorial2 min read

LinkedInX

Why it mattersA short prompt and one tool beat the first-party harness on every setting the paper ran. The scores are the authors' own.

Most coding agents today come with a long prompt. Microsoft Research says a short one wins. The team released Freehand, an open-source coding agent harness. Freehand gives the model a 200-word prompt, one bash tool, and a file the model edits for its own memory. The paper reports Freehand beats Codex, Claude Code and Gemini CLI on all 11 settings it ran. The average cost is 49 percent lower.

The repository is on GitHub under an MIT license. The paper is on arXiv as 2612.02442. Microsoft Research wrote it with researchers at Xi'an Jiaotong University, Zhejiang University and Fudan University.

What the harness actually is

Freehand carries one prompt of about 200 words. The prompt describes the runtime. It does not tell the model how to plan. It does not say when to review its own work. It does not say when to stop. The model has one tool, bash. The model sets its own timeouts. It writes its own scripts. For memory, the model edits a file instead of a fixed-size history. A meter tracks context, cost and time, and shows them back to the model.

The paper calls this the bitter lesson for agent harnesses. The title is "Freehand: The Bitter Lesson Comes to Agent Harnesses". The authors say the frontier model decides these things better than a written workflow. So the harness should step out of the way.

The benchmarks the paper reports

The paper runs 11 settings across four benchmark families: Terminal-Bench 4, Terminal-Bench Science, OSWorld 2.1, and Agents' Last Exam. The models tested are GPT-6-astra, Claude Opus 5.5 and Gemini. Each run compares Freehand against the model's own harness: Codex for GPT, Claude Code for Claude, Gemini CLI for Gemini. The authors also compare to OpenCode, Pi, DeepSeek Harness, mini-swe-agent and a bash-only baseline.

The authors report Freehand scores highest in every one of the 11 settings. The average lead is 5.1 points. The average cost is 49 percent lower. The first-party harnesses took 17 to 62 percent longer to finish. On OSWorld 2.1 with Claude Opus 5.5, Freehand hits 80.1 percent at $2.09 per task. On Terminal-Bench 4 with GPT-6-astra, it hits 57.1 percent at $3.12. Every score here comes from the paper. No outside team has rerun the tests yet.

What this means for a team running an agent

A long house prompt carries a real cost. Each extra sentence is tokens the agent reads on every step. The paper says a 200-word prompt beats a written workflow on cost and on score. If the finding holds outside the authors' runs, the long prompt is wasted work. The model would have done it better on its own.

The honest check is to run ten real tasks through both. Read the diffs the agent wrote. Read the bill. The repository is at github.com/microsoft/FreeHand and had 164 stars when we checked.

Source

Freehand on GitHub, Microsoft Research. The project page and the paper on arXiv.

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project