创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

TokenEconomizer利用仓库经验降低编码智能体成本

AI 总结

Microsoft Research Blog称,UC Berkeley、Microsoft Research与Microsoft Security发布了开源插件TokenEconomizer,它可从同一仓库中过往的编码智能体会话学习经验,无需修改智能体或底层模型。团队在六个仓库的277项SWE-Bench任务上报告平均成本降低18.4%至30.9%,任务成功率基本稳定,节省金额也已计入插件自身的模型调用成本。插件通过微型技能、工具裁剪和失败循环干预运作,并将学习数据保留在开发者本机。

深度见解

报告结果显示,仓库专属经验或可在不改动现有智能体及模型的情况下降低令牌成本,但目前证据仅来自研究相关方的单一来源。

At a glance

  • Developers use AI coding agents in the same codebases day after day, yet agents often start each session from scratch: rediscovering familiar facts, loading unused tools, and repeating unsuccessful approaches.
  • TokenEconomizer is an open-source plugin that learns from an agent’s past sessions in a repository to reduce waste in future sessions, without modifying the agent or its underlying model.
  • Across 277 real bug-fixing tasks, TokenEconomizer reduced costs by 18.4–30.9% across multiple AI coding agents. Costs fell in every repository tested, while task success rates remained broadly stable.

AI coding agents are increasingly helping developers fix bugs and build features largely on their own, but every interaction with their models consumes tokens. In each session, an agent sends instructions, tool descriptions, and session history to its model. Most efforts to reduce this cost focus on individual tasks. Yet developers return to the same repositories, giving agents an opportunity to learn from previous work. Without that learning, an agent may repeatedly rediscover how to run tests, load tools it never uses, or spend dozens of turns revisiting the same error. 

#TokenEconomizer#UC Berkeley#Microsoft Research#Microsoft Security#Claude Code#SWE-Bench#Web-Bench

原文约 5 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。