Microsoft open-sources TokenEconomizer, cutting coding agent costs 18–31%
aigclink · x · 2026-11-16
Microsoft open-sourced TokenEconomizer, a black-box cost-control tool for coding agents that cuts task costs by 18.4%–30.9% for Codex, Claude Code and others. It targets wasted tokens from repeated repo exploration, idle tool definitions, and failed retry loops.
Three mechanisms: Micro-skills distills reusable project knowledge from history and injects it into later sessions (off by default); Tool Pruning drops long-unused tool definitions from context; Failure-loop Intervention detects retry loops and injects corrective hints.
It works via existing plugins/hooks/config — no model or agent core changes — and supports Claude Code, Codex, Copilot CLI and Pi.
More from coding & agent
- Swarms' AgentRearrange orchestrates multi-agent pipelines via a single flow string — KyeGomezB · 2026-11-16
- Mapping 11 weeks of coding agent sessions (8,000+ messages) as a river — dbreunig · 2026-11-16
- Track cost per finished task, not token price: the agent metric that matters — arpit_bhayani · 2026-11-16
- Stanford CS329Z Lecture 7: How AI Agent Memory Works — MemGPT & Memory Types — zainhas · 2026-11-16
- Qwen4 Max lands in OpenCode Go, Alibaba Qwen team confirms — Alibaba_Qwen · 2026-11-16
- Agentic harnesses hit a plateau: "the ceiling on intelligence is the model" — alexisgallagher · 2026-11-16