来源时间 本站刊期
TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient
TokenEconomizer from Microsoft Research matters to developers running AI coding agents, since it reuses past sessions to cut token spend without lowering task success.
判断
Developers running coding agents on repeated repositories must decide whether to add TokenEconomizer’s open-source controller, accepting early-session overhead and judge-model calls in exchange for 18.4–30.9% lower average SWE-Bench cost without reported performance loss.
依据
Microsoft Research, with UC Berkeley and Microsoft Security, reports that TokenEconomizer turns completed coding sessions into guidance for later ones: it reads session logs, proposes one-line micro-skills only after repeated confirmation, prunes tools history suggests are unlikely to be used while retaining command and file tools, and uses a judge model to intervene when an agent loops on the same failure. It works through the agent’s existing interfaces, does not change the underlying model, and its reported savings account for its own model calls. On 277 SWE-Bench tasks from six repositories and five agent/model combinations, it lowered average cost by 18.4–30.9% and saved the most in all 30 repository-combination pairs without performance loss; Web-Bench costs fell 16.0–21.2% and security-auditing costs 6.4–19.6%. Cumulative costs fell below the default by the sixth task in every repository.
- SWE-Bench cost reduction18.4–30.9%
- Web-Bench cost reduction16.0–21.2%
- Security auditing cost reduction6.4–19.6%
- Repository-combination pairs30
没写清 The source does not give absolute token or dollar savings, nor a breakdown of judge-model accuracy or the early-task overhead before cumulative costs fall below default.
下一步 Check the open-source plugin’s release notes or an independent replication for per-repository overhead and whether pruned tools were later restored in practice.