A Microsoft Research Asia team published the paper "Freehand: The Bitter Lesson Comes to Agent Harnesses" on arXiv on December 1, with code open-sourced at GitHub microsoft/FreeHand. Freehand gives the model only a roughly 200-word description, a single bash tool, self-editable context and a cost meter, and leaves every other decision to the model. The paper reports that across 11 model-benchmark settings with GPT-6 Astra, Claude Opus 5.5 and Gemini 4 Carbon it beats each model's first-party harness (Codex, Claude Code, Gemini CLI) every time, by 5.1 points on average at 49% lower cost, and also beats OpenCode, Pi and DeepSeek Harness, while weaker models still do better with the first-party harnesses.

Key Takeaways

  • ✓Three design rules: a roughly 200-word prompt that only describes the execution loop; a single tool, bash(command, timeout_s?); and context the model edits itself, with cost and other resource metrics shown in a status footer.
  • ✓Benchmarks: Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam, OSWorld 2.1 and AutomationBench, 191 evaluation rounds in identical containers with official verifiers.
  • ✓Results (paper figures): it beats the first-party harness in all 11 settings, by 5.1 points on average at 49% lower cost; in a controlled rerun the other harnesses take 17-62% longer.
  • ✓The finding has limits: with lower-tier models, first-party harnesses such as Codex and Claude Code win again; the stronger the model, the less the harness should decide.
  • ✓Code and a project page are public, so teams can compare it with their current harness on their own tasks.

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Background and pain points

Mainstream agent harnesses decide a lot for the model: prompts prescribe how to approach a task, tool suites and timeouts fix how to act, and threshold compaction decides what to remember. A Microsoft Research Asia team's paper, published December 1, argues that for frontier models these presets have turned from a crutch into a cage.

Architecture and mechanism

Freehand has just three parts: a roughly 200-word system prompt that only explains the execution loop; a single tool, bash(command, timeout_s?); and context the model edits itself, with cost and other metrics in a status footer. How to break down the task and manage context is left entirely to the model.

Benchmarks

The paper tests GPT-6 Astra, Claude Opus 5.5 and Gemini 4 Carbon in 11 settings across five benchmarks including Terminal-Bench 4 and OSWorld 2.1. Freehand beats Codex, Claude Code and Gemini CLI in every setting, by 5.1 points on average at 49% lower cost, while the other harnesses take 17-62% longer. Weaker models still do better with first-party harnesses. These are the authors' own figures.

Getting started

The code and project page are public. Teams running long tasks on frontier models can compare its scores and costs with their current harness on their own tasks.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextalphaXiv Launches the Open-Source OpenResearch Intelligence Index for Autoresearch: Opus 5.5 Leads at 61.8%, GPT-6.1 Sol Hits 54.9% at Under a Quarter of the Cost
Read Now→