论文

Microsoft 研究:极简 harness 让前沿模型 Agent 得分更高、成本更低

精选理由

Microsoft 做了个很反直觉的实验:把 agent 外壳砍到只剩 1 个 bash 工具加 200 词提示词,前沿模型在 11 项设置里全胜自家官方 harness,还省了 49% 成本。但弱模型结论完全相反。自己搭 agent 的人值得看看这张分层表。

Microsoft 发表新论文,指出 Codex、Claude Code、Gemini CLI 等主流 agent harness 用长提示词、20+ 工具、固定超时和自动记忆压缩,在模型看到任务之前就替模型做了大量预设决策,反而限制了前沿模型的发挥。

正文

研究团队构建了 Freehand harness:仅提供 1 个 bash 工具、一段模型可自行编辑的聊天历史,以及一个监控 token、成本和时间的计量器。整个系统提示词约 200 词,不规定任何工作流程。在 5 个领域共 11 种设置中,Freehand 在每一次对比中都超越了各模型自家的第一方 harness,平均高 5.1 分,成本降低 49%。

结论存在明显的模型分层:在低档模型上,第一方 harness 反而领先 5.1 到 6.7 分。这意味着开发者应根据模型能力选择 harness 策略——前沿模型配极简外壳、可编辑记忆和成本反馈,弱模型保留更重的预设。

原文 · rohanpaul_ai

New Microsoft paper finds that frontier agents score higher at lower cost when the harness gives them only a shell and stops deciding for them.

Harnesses like Codex, Claude Code, and Gemini CLI wrap models in long prompts, 20+ tools, fixed timeouts, and automatic memory compaction. These presets fix choices before the model even sees the task.

They built Freehand: 1 bash tool, a chat history the model can edit, and a meter of tokens, cost, and time. Its prompt is about 200 words and sets no workflow.

Across 11 settings in 5 domains, Freehand beat each model's own first-party harness every time, by 5.1 points on average at 49% lower cost. With lower-tier models, the first-party harnesses won by 5.1 to 6.7 points.

On frontier models, strip your agent harness down to a shell, editable memory, and cost feedback, but keep heavier presets for weaker models.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Microsoft、Claude Code、Codex、Gemini CLI,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「rohanpaul_ai」(@rohanpaul_ai),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们