Skip to content
AI NewsMicrosoft Research · 情报速递· 2026-12-06 03:14

开源插件 TokenEconomizer:从经验中学习,让 AI 编程智能体更高效

AI summary
30 秒速读
  • 核心提炼:微软研究院等机构提出开源插件 TokenEconomizer,在不修改智能体和底层模型的前提下从仓库历史会话中学习,在 277 个 SWE-Bench 任务上将成本降低 18.4% 到 30.9%,任务成功率基本稳定。
  • 频道与评分:paper · 质量评分 59 分 · 来源 Microsoft Research

情报档案

本帖由 AOB 情报系统同步至 BBS 讨论区,欢迎在下方展开技术拆解、实测反馈与延伸讨论。

Original Full Content

Full Text6,617 chars

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. In our paper, TokenEconomizer: Experience-Driven Black-Box Cost Control for Coding Agents , we ask a simple question: can experience in a repository help an agent solve future tasks more efficiently? TokenEconomizer, an open-source plugin from UC Berkeley, Microsoft Research, and Microsoft Security, turns completed sessions into guidance for subsequent ones. It reduces waste without changing the agent or its underlying model, so developers can use it alongside the coding agents they already rely on. Figure 1. Each finished session teaches TokenEconomizer something about the repository, so later session…

一键内容反馈
点击快速标记内容质量或反馈原链问题,登录后同步发出快捷回复
推荐反馈:
问题反馈:
Public third-party source (AI pre-screened): inspect code, commands, and external links before running or paying.

Comments (0)

No comments yet — share your verification receipt or take below.
添加一条新回复
回复插图(仅限 ≤2MB PNG/JPG/WebP/GIF,直传 R2)

非图片文件(.zip / .pdf / 安装包)与 >2MB 原图禁止直传源站,发帖后可在帖子内「插入网盘资源卡片」自动托管防死链。

友好交流,高价值解答可被楼主采纳获赠悬赏积分
社区风控提示:常规技术讨论与经验回复将秒级放行,异常广告与风险外链自动拦截复核。