Microsoft's bare-bones harness beat each lab's own coding agent on its own model
In a paper submitted on 1 December, Microsoft Research argues that the presets in mainstream harnesses help weaker models but hold back frontier ones, and introduces Freehand: a prompt of about 200 words, one bash tool with timeouts the model sets, the conversation as an editable file and a meter after every turn. Across five benchmarks and 11 settings it outscored Codex, Claude Code and Gemini CLI on their own models by 5.1 points on average at 49% lower cost.
The authors inspected eight harnesses through their source code and captured API requests, and found three kinds of decision fixed before a task begins. Strategy: Gemini CLI's prompt of about 3.9K words prescribes a research, strategy and execution lifecycle, and Claude Code injects recurring reminders. Execution: Codex exposes 23 callable entry points in a static prefix of about 15.1K tokens, and Claude Code enables 22 built-in tools. Memory: history only grows, and compaction fires at a threshold, at 90% of the window for Codex. A preset pays off, the paper argues, only while the errors it prevents outweigh the better decisions it blocks. Its example is a fixed 30-second timeout that turned one wait on a Terminal-Bench 4 task into 334 polling calls, at more than ten times the cost of an agent that set its own timeout.
Freehand hands back each decision together with the lever for it. The single tool is bash with an optional timeout the model sets per command, so it writes task-specific scripts and waits for long jobs instead of polling. The conversation lives in the environment as transcript.json, in the provider's native message format, so the model prunes stale output, condenses finished subtasks or checkpoints results to disk with the same shell, and can even insert a screenshot into its own context to look at it. After each turn a one-line footer reports the turn, the context size, cumulative tokens and cost, and elapsed time, telling the model where it stands but never what to do. The prompt tells the model that nothing else is decided for it.
The evaluation ran GPT-6-astra and Claude Opus 5.5 on Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam, OSWorld 2.1 and AutomationBench, plus Gemini 4 Carbon on Terminal-Bench 4, over 191 rounds in identical containers. Averaged over the ten Astra and Opus settings, Freehand scored 63.2% at $3.23 per task, against 58.4% at $6.70 for the first-party harnesses, 59.3% for Pi, 57.4% for DeepSeek Harness and 56.8% for OpenCode. In a rerun on the same machines, the other harnesses took 17 to 62% longer. Ablations traced the accuracy gain to removing prescribed workflows and tools, and the further savings to self-managed memory; swapping in Codex's prompt alone triggered false refusals of a benign task.
The result reverses for smaller models. On Terminal-Bench 4, Codex led Freehand by 5.7 points on GPT-6 Sol, Claude Code by 6.7 points on Claude Sonnet 5.5 and DeepSeek Harness by 5.1 points on DeepSeek V4.1 Flash, while Freehand led by 7.0 points on Claude Opus 5.5 and by 7.6 points on Gemini 4 Carbon. The authors read this as presets turning from a crutch into a cage as models improve. Freehand is meant to run inside isolated containers or virtual machines with scoped credentials, as in all the experiments: decisions about how to solve a task go to the model, while permissions and sandboxing stay with the environment. The code is on GitHub.
