跳到正文
DAIR.AI· @dair_ai · X·· 21 天前AI 评分55
AI 导读

UC Berkeley 研究者分析 agent 执行轨迹,发现 harness 改动对 accuracy 影响很小,但同一模型同一任务的成本差异可达 2.6 倍。

正文

Great practical paper on optimizing harness costs.

For lower agent costs, you want to change the harness and keep the model.

UC Berkeley researchers found that harness changes such as prompts and tools barely move accuracy, but they change cost by up to 2.6x on the same model and task.

They analyzed agent traces and found five ways to cut cost. Each one reduces how much context an LLM call reads or how many calls a task needs.

Then they built Agency, a layer that sits between existing harnesses like Claude Code and Codex and the model. An optimization written once works across harnesses.

Five proof-of-concept techniques cut cost by up to 35% with marginal accuracy loss.

If your agent bill keeps growing, look at repeated context reads and extra tool calls before switching models.

https://arxiv.org/abs/2611.12122

Chat with Paper: https://academy.dair.ai/papers/system-optimizations-for-cost-efficient-agent-harnesses-2611.12122

来源:DAIR.AI · x.com