Freehand: The Bitter Lesson Comes to Agent Harnesses
Freehand: The Bitter Lesson Comes to Agent Harnesses

The Freehand framework, by giving models a shell, memory, and a meter while minimizing preset decisions, outperforms other intelligent agent frameworks in multiple fields and cutting-edge models, becoming even more significant with model enhancement. The framework follows the principle of 'bitter lessons,' avoiding mainstream frameworks from presetting prompts, toolsets, timeouts, and memory strategies before the model encounters the task, thus providing support for weak models and freeing up cutting-edge models.
Published on Dec 1
Authors:
,
,
,
,
,
,
,
,
Abstract
A general-purpose agent harness that gives models a shell, memory, and a meter while minimizing preset decisions outperforms first-party and other harnesses across domains and frontier models, especially as models grow stronger.
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
View arXiv page View PDF Project page GitHub 10 Add to collection
Models citing this paper 0
No model linking this paper
Cite arxiv.org/abs/2612.02442 in a model README.md to link it from this page.
Datasets citing this paper 0
No dataset linking this paper
Cite arxiv.org/abs/2612.02442 in a dataset README.md to link it from this page.
Spaces citing this paper 0
No Space linking this paper
Cite arxiv.org/abs/2612.02442 in a Space README.md to link it from this page.
Collections including this paper 0
No Collection including this paper
Add this paper to a collection to link it from this page.
Source: Hugging Face Daily Papers · huggingface.co