Agent Shipped

Directory · Coding agents

TokenEconomizer

Plugin that cuts coding agent costs in frequently used repos by learning repo facts, pruning unused tools, and redirecting stuck loops.

★ 8,195 stars · last updated 2026-11-25 · Free, open source · View on GitHub

Best for

Install

git clone https://github.com/microsoft/TokenEconomizer.git
claude plugin marketplace add "$PWD/TokenEconomizer"
claude plugin install tokeneconomizer@tokeneconomizer

Our take

Research project from Microsoft Research and UC Berkeley with an accompanying paper reporting 18.4 to 30.9% lower mean cost on SWE-Bench tasks across five agent and model combinations. It works through three toggleable mechanisms (micro-skills, tool pruning, failure-loop intervention), stores learned data locally in ~/.tokeneconomizer, and runs its own model calls through your existing agent login. Support is pinned to specific agent version ranges, opencode support is experimental, and Codex and Pi use different install commands documented in the README.

Similar coding agents

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.