AI News · Emerging Technologies
Microsoft Research and UC Berkeley release TokenEconomizer to cut AI coding agent costs
Turning finished coding agent sessions into guidance for later ones treats experience as a cost saver, hinting that the cheapest token may be the one an agent learned not to waste.
Researchers from UC Berkeley, Microsoft Research and Microsoft Security have released TokenEconomizer, an open-source plugin that turns completed coding agent sessions into guidance for later ones. It aims to reduce wasted tokens without changing the agent or its underlying model.

The tool learns repository-specific notes, removes tools an agent is unlikely to use and detects when an agent is stuck in a failure loop, suggesting a different approach or alerting the developer.
Why it matters: As companies scale AI coding agents, token costs add up; techniques that learn from past work could make agents cheaper to run.
Source: Microsoft Research, by Brenda Potts, published 2026-11-16. Read the original: https://www.microsoft.com/en-us/research/blog/tokeneconomizer-learning-from-experience-to-make-ai-coding-agents-more-efficient/
