Microsoft Research and UC Berkeley release TokenEconomizer coding agent plugin
Microsoft Research, with UC Berkeley and Microsoft Security, has released TokenEconomizer, an open-source plugin that uses logs from an AI coding agent’s earlier sessions in a repository to guide later ones. It adds short repository notes, prunes tools the agent is unlikely to need, and intervenes when an agent repeats a failure, without changing the agent or model. In tests on 277 SWE-Bench bug-fixing tasks across six repositories and five agent-model combinations, it cut average cost per task by 18.4–30.9% while success rates stayed broadly stable.
Why it matters
Developers who use coding agents repeatedly on the same repositories can lower token costs without switching agents or models, though the reported savings come from benchmark tests rather than a guarantee for every codebase.
Sources
- PrimaryMicrosoft Research
Written by AIToolMaps from the source above and checked against it sentence by sentence.