Skip to content
AgentTested
Coding agentsFreeB7/10Tested

TokenEconomizer

A free plugin that reads past coding-agent sessions and tries to spend fewer tokens the next time. It's for people who write code. It's free.

How tests workNo affiliate link on file. Outbound goes to microsoft.com. Identity checked November 19, 2026. Score 7/10 is from the run on November 19, 2026.

Grade

We tried it ourselves. Grade B.

Grade
B · We tried it
Score
7/10
Price
Free

Read the test log

Get the test email

TokenEconomizer scored 7/10. Get the next score in one short email. Unsubscribe anytime.

Best for

Jobs people use this for.

Test details

What's new · November 16, 2026Microsoft Research's post dated November 16, 2026 says TokenEconomizer is an open-source plugin that learns from past coding-agent sessions in a repository. It names three mechanisms: micro-skills, tool pruning, and failure-loop intervention. It says that across 277 SWE-Bench tasks the plugin lowered average cost by 18.4 to 30.9 percent across five agent and model combinations, and that those savings are the authors' measurement. The post says the plugin needs no API key of its own and keeps what it learns on the developer's machine. The GitHub README says it is a plugin for Claude Code, Codex, the GitHub Copilot CLI, and Pi, with experimental support for other agents, and that its model calls run through the agent you already use. The license is MIT. Checked November 17, 2026, GitHub listed 7,419 stars. A hands-on score from November 19, 2026 is on this page. That run did not start a coding agent.Source

An open-source plugin from UC Berkeley, Microsoft Research, and Microsoft Security. The November 16, 2026 post says it learns from an agent's past sessions in a repository and uses that to cut waste in later sessions, without changing the agent or the model. The license on GitHub is MIT. On November 19, 2026 the free path learned that tsc was missing and npx tsc worked. A hands-on score is on this page. No coding agent was running.

Hands-on review · November 19, 2026

TestedB7/10
  • No coding agent was running
  • The transcripts were written by this test

The published score is 7/10, tier B, from the run on November 19, 2026. TokenEconomizer 0.1.0, commit 4a04fe4e, was set to microskills=envfacts with the loop guard and tool pruning off. Six sessions each ran bash tsc, which exited 127, and npx tsc, which exited 0. The transcripts were written by this test from those outputs. No coding agent was started. The first four sessions began with no fact. The fifth and sixth began with the line that tsc fails with command not found and npx tsc works. te status said 6 sessions folded, 0 effective tokens, and 1 fact injected. Cost $0.

After four sessions, the next one was told that tsc is missing and npx tsc works. No coding agent was running.

Coverage
TokenEconomizer 0.1.0, commit 4a04fe4e. microskills=envfacts. Loop guard and tool pruning were off. Six sessions. No coding agent.
What we tested
Whether the free path can learn that bare tsc is missing and npx tsc works, then state that fact at the start of a later session.

Method

Cloned microsoft/TokenEconomizer at 4a04fe4e. In a git repo, installed typescript 5.9.3 so npx tsc could succeed. Ran bash -c 'tsc -p .' and npx tsc -p . six times and saved each command's real output. Wrote those outputs into six Claude-shaped transcripts. Drove SessionStart and SessionEnd with TE_FOLD_SYNC=1 and microskills=envfacts. No account was created.

Prompts

  1. Typecheck src.ts.

Measured

  • version0.1.0. Commit 4a04fe4e1fb5a21d51c26b17598a1f2adbd46b91. GitHub listed 7,737 stars
  • commandstsc exit 127 each time, about 0.001 to 0.002 seconds. npx tsc exit 0 in 0.800 to 0.857 seconds
  • injectSessions 1 to 4 started with no fact. Sessions 5 and 6 started with the tsc fact
  • factACTIVE fire 6/6. `tsc …` fails here with command not found; `npx tsc …` works.
  • status6 folded. 0 effective tokens. plugin overhead 0
  • cost_usd0

Pros

  • The fact named tsc and npx tsc
  • The fifth session received that fact before its commands ran
  • The status line said 0 effective tokens
  • No account and no charge

Cons

  • No coding agent was running. This test wrote the transcripts
  • The loop guard and tool pruning were off
  • One command pair, in one small repo
  • typescript 5.9.3 was installed first, so npx tsc had a compiler to run

Raw test log

Status
Hands-on review
Date
November 19, 2026
Time to first output
—
Cost
$0
Result
The published score is 7/10, tier B, from the run on November 19, 2026. TokenEconomizer 0.1.0, commit 4a04fe4e, was set to microskills=envfacts with the loop guard and tool pruning off. Six sessions each ran bash tsc, which exited 127, and npx tsc, which exited 0. The transcripts were written by this test from those outputs. No coding agent was started. The first four sessions began with no fact. The fifth and sixth began with the line that tsc fails with command not found and npx tsc works. te status said 6 sessions folded, 0 effective tokens, and 1 fact injected. Cost $0.
Evidence
Log linked below

Queued task. On a free run, repeat one failing command and one working command across a few sessions, then check whether the next session is told the fact. Log the cost.

FAQ

What does AgentTested say about TokenEconomizer?

A free plugin that reads past coding-agent sessions and tries to spend fewer tokens the next time. It's for people who write code. It's free. We tried it ourselves. Grade B.

How much does TokenEconomizer cost?

Free to download. Checked November 17, 2026 on the Microsoft Research post and the GitHub README. The license is MIT. The post says the plugin needs no API key of its own. The README says its model calls run through the coding agent you already use. No monthly price is listed.

Do sponsors outrank this tool?

No. A sponsored slot is labeled and sold separately from tiers. It cannot move this listing.