tokenade
GitHubenfr
Install
A marble hand squeezing a lemon — each drop is an AI agent Tokenade works with
22 compatible agents — hovertap a drop

Squeeze your agent's token bill.

The #1 tool to cut what your AI agent sends to the model.

One install, zero config. Tokenade compacts command output, MCP results, web searches and stale context before the model reads a single line.

100% local · Tokenade never uploads your code or your conversations.

Free & open source (MIT/Apache-2.0) · Linux, macOS, Windows

Running in 30 seconds

2 commands
1$npm install -g @tokenade/cli
2$tokenade install
LinuxmacOSWindowsGetting started guide →
  • Detects every agent on the machine and hooks into each one
  • Works on every prompt from then on — nothing to configure
  • `tokenade dashboard` shows every token saved, per feature — in a local report
Free and open source (MIT/Apache-2.0)

What gets squeezed

10 layers · automatic
Command compaction

Noisy command output, compacted

Builds, tests, logs — every noisy output trimmed to what matters before the model reads a line. Failures, numbers and decisive lines always survive.

docker logs
−99%
cargo test
−98%
git log
−97%
k8s manifests
−95%
pytest
−91%
943 command-specific compactors — 683 Linux · 126 macOS · 134 Windows · Measured compression — real sessions & benchmark corpus.

Works where you work

measured · 3 OSes

100% compatible

80%+ compatible

Weakly compatible

Measured, not claimed

THOL
#1

on the Token-Harness Optimizer Leaderboard

An end-to-end benchmark of agent token optimizers, run on real coding sessions. Set Tokenade up once — it works on every prompt.

THOL, the benchmark explained

Local-firstNo code, prompts or paths leave your machine.
Secrets redacted94 provider token formats, before the model sees them.
Open to auditOpen source (MIT/Apache-2.0) — read exactly what it does.

Free and open source

MIT OR Apache-2.0
MIT OR Apache-2.0Use it, fork it, ship it — at work or at home, on as many machines as you like.
100% localEverything runs on your machine, no server in the loop. Auto-update only checks GitHub Releases (opt-out: TOKENADE_NO_AUTO_UPDATE=1).
Auditable, open to contributionsRead the code, file an issue, open a pull request on GitHub.