← All papers  /  Dec 1, 2026
Agents · Memory

Freehand: The Bitter Lesson Comes to Agent Harnesses

First page
Freehand: The Bitter Lesson Comes to Agent Harnesses
The curator’s take

Zezi Zeng, Yifan Yang, Chong Luo and colleagues (Microsoft Research with Xi'an Jiaotong, Zhejiang and Fudan) introduce Freehand, a general-purpose agent harness that gives the model a shell, its own memory and a cost meter, and leaves every other decision to the model.

Ask this paper

Key points
01

Claim. Mainstream harnesses fix prompts, tool suites, timeouts and compaction thresholds before the model sees the task. The authors argue these presets help weaker models and restrict frontier models.

02

Design. Freehand has one rule. The model gets a shell, a memory it manages itself and a meter showing spend, and it decides its own workflow, timeouts and what to keep in context.

03

Results. Across five domains and three frontier model families, Freehand 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. In a controlled rerun the other harnesses take 17-62% longer.

04

Other baselines. It also beats OpenCode, Pi, DeepSeek Harness and a bash-only harness that still fixes its workflow and timeouts.

05

Limit. With lower-tier models the first-party harnesses win again, so the advantage depends on model strength.

Abstract

The Bitter Lesson holds that knowledge we build into AI systems helps at first and is eventually outgrown by general methods. We show that this lesson has now come to agent harnesses. Mainstream harnesses decide a great deal on the model's behalf -- prompts prescribe how to approach a task, tool suites and timeouts fix how to act, and threshold compaction decides what to remember -- and every such decision is fixed before the model has seen the task. For weaker models these presets are a crutch; for frontier models they become a cage. We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter -- and let it decide everything else. Across five domains and three frontier model families, Freehand is better, cheaper, and faster at the same time. It outscores the first-party harness of every model (Codex, Claude Code, and Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost, and runs fastest on average: in a controlled side-by-side rerun, each of the other harnesses takes 17-62% longer. It also outperforms OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its workflow and timeouts, while with lower-tier models the first-party harnesses win again. As models grow stronger, the best harness is the one that decides the least. Code: https://github.com/microsoft/FreeHand

Every Monday
Get next week’s papers.
Subscribe on Substack