Freehand: The Bitter Lesson Comes to Agent Harnesses
Zezi Zeng, Yuke Zhao, Muzhao Tian, Yifan Yang, Qi Dai, Bei Liu, Kai Qiu, Bohan Zhuang, Jihua Zhu, Chong Luo
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
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.SE
- Comments
- 31 pages, 7 figures, 15 tables
Related papers
Knowing Where Is Not Enough: Evaluating Multimodal Evidence Acquisition in Search Agents
Shared title terminologycs.AIJohn Lau, Ziheng Tan, Chenyu Lu et al.
The 48 Laws of LLM Power: Benchmarking and Mitigating Machiavellian Agent Advice
Shared title terminologycs.AIMaciej Besta, Robert Gerstenberger, Iris Zoder et al.
Self-Evolve Safely: Quantifying and Mitigating Misevolution in Multimodal Agents with Uncertainty and Intent
Shared title terminologycs.AITarık Ege Bilsel, Ekin Şahin, Ender Enes Tan et al.
Sage-Med-Harness: Scaling Medical Agents with a Co-Evolving Component Ecosystem
Shared title terminologycs.AIJiashi Lin, Jianghan Shen, Chenyu Wang et al.
AutoCon: A Multi-Agent System for Autonomous Clinical Model Post-Training
Shared title terminologycs.AIAkshat Choube, Mohsen Sharifi Renani, Meysam Ghaffari et al.
Lumine 2: An Open Generalist Agent for Completing Full-Length AAA Games
Shared title terminologycs.AIWeihao Tan, Zhiyuan Hu, Bairen Yi et al.