PapersSelected

Microsoft 研究:极简 Agent 框架 Freehand 让前沿模型自管一切,平均高 5.1 分且成本低 49%

Why we picked it

微软做了个叫 Freehand 的极简 agent 框架,只给模型一个 shell 和记忆,其余全让模型自己决定。结果在 11 项测试里全面超过 Codex、Claude Code 和 Gemini CLI,平均高 5.1 分还便宜近一半。但低档模型反过来需要更重的脚手架,做 agent 的开发者都该看看怎么把握这个度。

Microsoft 发布论文 Freehand,核心发现是:对前沿模型来说,agent harness 应该尽量少替模型做决定。Freehand 只给模型一个 shell、独立记忆和一个成本计量器,工作流、超时时间、上下文保留内容全部由模型自行决定,没有固定提示词流程、工具套件或压缩阈值。

Body

在 11 个测试设置中,Freehand 全面胜过各模型自家 harness(Codex、Claude Code、Gemini CLI):平均高出 5.1 分,成本低 49%,而其他 harness 在相同任务上耗时多 17-62%。论文的关键论点是,harness 里的每一项预设都是模型看到任务之前就做出的决定,这些预设反而限制了前沿模型的发挥。

结果并非普适:换用低档位模型时,各家第一方 harness 重新占优,说明脚手架的最优程度取决于所运行的模型本身。对开发者而言,构建 agent 时需要重新权衡哪些决策交给模型、哪些保留在代码里。

Original · DAIR.AI

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

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Freehand, Codex, Claude Code, Gemini CLI.

Source attribution: curated from DAIR.AI (@dair_ai).

Spotted an error in the summary or translation? Tell us