TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient

Aaron J. Li, Weijia Xu, Chandan Singh, Jeevana Priya Inala, Bin Yu, Ion Stoica, Michel Galley, Jianfeng Gao · 2026年11月16日

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.
  • 继续阅读全文

    为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

    更多来自 Microsoft Research Blog

    Forgotten, or just hidden? Stress testing how AI models unlearn

    At a glance When an AI model is asked to “forget” something, current tests mostly check with plain, straightforward questions. A model can pass those tests and still give up the same information when the question is asked differently. We co

    Can AI help build a healthier future?

    Technical advancement is moving at such a rapid pace that it can be challenging to define the tomorrow we’re working toward. In The Shape of Things to Come, Microsoft Research leader Doug Burger and experts from across disciplines tease out

    Microsoft Research Focus – Edition #98

    What’s new in research? In this edition of Microsoft Research Focus, based on the Research Focus newsletter (opens in new tab), host Anson Ho shares some of the latest news and cutting-edge research from across Microsoft—from bringing AI-po

    Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents

    Microsoft researchers have discovered “Lazarus,” a backdoor technique that can reprogram dormant neurons in an AI model, causing an otherwise normal AI agent to execute malicious commands when a hidden trigger appears. The threat is especia

    Formally verifying agent-written full-stack web apps with PDD Kit

    At a glance Formal methods for everyday software. PDD Kit helps you turn your intent into a formal spec, then proves the code your agent writes for every input and uses tests where a proof can’t reach. It takes formal methods beyond niche,