TokenEconomizer
Open source · Dev tools · microsoft/TokenEconomizer
What it does
TokenEconomizer is a plugin from Microsoft Research and UC Berkeley that makes AI coding agents cheaper to run in projects you use them on often. It remembers facts about your repository between sessions, stops loading tools the agent never uses, and nudges the agent when it gets stuck repeating the same error. It works with Claude Code, Codex, the GitHub Copilot CLI and Pi, and what it learns stays on your machine.
Good for: Developers who use a terminal coding agent every day on the same codebase and want smaller bills without changing how they work.
TokenEconomizer on GitHub (opens in a new tab)
Visitor votes, one per browser. Your own vote is kept on this device only. How votes work.
The signals we checked
- Licence
- MIT (OSI-approved open-source licence)
- Popularity
- Stars: 8,251 (checked 30 Nov 2026)
- Last commit
- 25 Nov 2026
- Open issues and PRs
- 63
- Status
- Active (not archived)
- Self-host
- ModerateA plugin for command-line coding agents, so you need one of those set up already. It is a new research project, so expect rough edges.
- GitHub topics
- agentic-ai
- agentic-coding
- ai-coding
- ai-coding-assistant
- anthropic
- artificial-intelligence
- claude-code
- codex
- coding-agent
- coding-agents
More in dev tools
- DeepSeek Harness Developers who want to try DeepSeek's own agent and build or swap plugins for it.
- opencode Terminal-first developers who want to choose their model provider.
- Ponytail Developers whose AI coding agent tends to write more code than the job needs.
- Codex CLI Developers using OpenAI models who want a local coding agent.
- Gemini CLI Developers already on Google's models who want an agent in the terminal.
- Cline Hands-on coding help where you approve every file change and command.
- Continue Developers who want an AI coding assistant that can use any model, including a local one.
- earshot People making product demos, launch videos or games with an AI coding agent who want it to check the sound too.
No affiliate links on this page, and we are not paid by this project. The summary is our own plain-English description; check the repo for current features before you rely on it.
Stars, licences and commit dates come from the GitHub API, checked 30 Nov 2026. "Last commit" is the last push to the repo. Star counts are a rough popularity signal, not a quality score. There are no affiliate links in this section: links go straight to each project.