自由手绘
FreeHand

原始链接: https://microsoft.github.io/FreeHand/

苦涩教训如今也延伸到了智能体框架:预设提示词、工具套件、超时设置和记忆规则都是在模型看到任务之前决定的。这些约束有助于较弱模型,但可能束缚前沿模型。Freehand 是一个极简框架,给模型一个 shell、持久记忆和一个计量器,然后让它自己决定如何行动和记忆。在五个领域和三个前沿模型系列中,Freehand 在全部 11 项设置中都优于 Codex、Claude Code 和 Gemini CLI,平均高出 5.1 分,同时成本低 49%,运行也更快。它还击败了 OpenCode、Pi、DeepSeek Harness 和纯 bash 基线。然而,较低等级模型仍然受益于第一方预设。论文得出结论:随着模型变得更强,最好的框架是决策最少的那个。

HN 讨论串讨论了 Microsoft FreeHand,这是一个极简的智能体框架,其核心思路是只给模型一个 bash 工具、一个可编辑的对话记录/上下文文件和一个用量表,然后让它自行管理工作流。支持者认为这呼应了一种“苦涩教训”:能力强的模型往往胜过带有强烈预设的框架,因为 Unix 已经提供了文件、目录、管道、`--help` 和可组合工具,而 LLM 天然擅长处理这些东西。评论者将它拿去和 Pi、mini-swe-agent、Hubcap、Cloudflare 的 code mode,以及自定义 shell/VM 配置作比较。 主要争论围绕 MCP 展开:一些人认为它对编码智能体来说是不必要的开销,另一些人则认为 MCP 在标准化访问企业资源和受限 API 方面仍然有用。几乎所有人都同意沙箱隔离必不可少——容器、VM、独立用户、microVM 或一次性服务器都应限制影响范围。怀疑者则质疑基准测试、成本/缓存核算、智能体记忆研究的可复现性、令人困惑的图表,以及 AI 式的粗糙行文。还有人指出平台支持有限,以及订阅/API 方面的摩擦。
相关文章

原文

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.

11 / 11highest score11 / 11lowest cost+5.1 pointsvs. first-party, on average−49% costvs. first-party, on average

One benchmark, each family’s first-party harness against Freehand, and only the model changes. On all three lower-tier models the first-party harness still helps, leading Freehand by 5.1 to 6.7 points. On all three frontier models the order reverses: Freehand leads by 2.5 to 7.6.

Terminal-Bench 4 score (%), mean of 5 rounds per bar. Labels compare Freehand against the first-party harness, in points.

Figures from the paper. The first three show single runs.

The Bitter Lesson has come to agent harnesses. Every preset a harness adds is a decision made before the model has seen the task; such decisions carried weaker models, but for frontier models they override better decisions made with the evidence each task reveals. Freehand gives the model a shell, its own memory, and a meter, and leaves every other decision to the model. Across five domains and three frontier model families, this single rule makes agents better, cheaper, and faster at once than the harnesses built by the models’ own developers, while lower-tier models still benefit from presets.

As models grow stronger, the best harness is the one that decides the least.

@article{zeng2026freehand,
  title  = {Freehand: The Bitter Lesson Comes to Agent Harnesses},
  author = {Zeng, Zezi and Zhao, Yuke and Tian, Muzhao and Yang, Yifan and Dai, Qi and Liu, Bei and Qiu, Kai
            and Zhuang, Bohan and Zhu, Jihua and Luo, Chong},
  journal = {arXiv preprint arXiv:2612.02442},
  year   = {2026}
}
联系我们 contact @ memedata.com