Microsoft 研究:极简 Agent 框架 Freehand 让前沿模型自管一切,平均高 5.1 分且成本低 49%
微软做了个叫 Freehand 的极简 agent 框架,只给模型一个 shell 和记忆,其余全让模型自己决定。结果在 11 项测试里全面超过 Codex、Claude Code 和 Gemini CLI,平均高 5.1 分还便宜近一半。但低档模型反过来需要更重的脚手架,做 agent 的开发者都该看看怎么把握这个度。
Microsoft 发布论文 Freehand,核心发现是:对前沿模型来说,agent harness 应该尽量少替模型做决定。Freehand 只给模型一个 shell、独立记忆和一个成本计量器,工作流、超时时间、上下文保留内容全部由模型自行决定,没有固定提示词流程、工具套件或压缩阈值。
在 11 个测试设置中,Freehand 全面胜过各模型自家 harness(Codex、Claude Code、Gemini CLI):平均高出 5.1 分,成本低 49%,而其他 harness 在相同任务上耗时多 17-62%。论文的关键论点是,harness 里的每一项预设都是模型看到任务之前就做出的决定,这些预设反而限制了前沿模型的发挥。
结果并非普适:换用低档位模型时,各家第一方 harness 重新占优,说明脚手架的最优程度取决于所运行的模型本身。对开发者而言,构建 agent 时需要重新权衡哪些决策交给模型、哪些保留在代码里。
Intriguing paper from Microsoft.
(bookmark it)
They look closely at how much an agent harness should decide on the model's behalf. With frontier models, the answer is very little.
Don't underestimate the power of a minimal agent harness.
Freehand gives the model a shell, its own memory, and a cost meter. The model decides everything else, including its workflow, its timeouts, and what to keep in context.
With frontier models, Freehand beats each model's own harness (Codex, Claude Code, and Gemini CLI) in all 11 settings. It scores 5.1 points higher on average at 49% lower cost, and the other harnesses take 17-62% longer on the same tasks.
There is no fixed prompt workflow, tool suite, or compaction threshold. Every one of those presets is a decision made before the model sees the task.
With lower-tier models, the first-party harnesses win again. So the right amount of scaffolding depends on the model you run.
https://t.co/rEijVDdcHr
Chat with Paper: https://t.co/2Z63CnDPsH
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Freehand、Codex、Claude Code、Gemini CLI,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「DAIR.AI」(@dair_ai),经 AITOP 多维评分管线结构化提炼。