tokenade
GitHubenfr
Install
Tokenadevssqueez

Best alternative to squeez

Tokenade is the best alternative to squeez — Universal token-optimization engine for AI coding agents — native hooks for 18 agents combine output filtering, semantic code search, skeleton compression, sandboxed execution, MCP proxying and a live savings dashboard in a single dependency-free binary.

Get Tokenade

Tokenade

Output Filtering

Format-aware compactors cover git, cargo, kubectl, terraform, docker and more — 60–99% reduction on the noisiest commands. Command rewriting further trims source-side before the shell even runs.

squeez

Not available

Tokenade

Semantic Code Search

Finds the most relevant files for a task and sends only those to the model, instead of the whole repo. Runs fully on-device with no external vector database and no model downloads — fast even on large codebases.

squeez

Not available

Tokenade

Skeleton Compression

Signatures-only view of source files, YAML, Markdown and Terraform — far smaller file reads while preserving every top-level declaration. Stacks on top of output filtering for maximum savings.

squeez

Not available

Tokenade

Third-Party MCP Optimization

tokenade mcp-proxy wraps any third-party MCP server's launch command in the agent's MCP config, so every tool result (verbose JSON, logs, console output) is folded on the way back — set once, not per call. Image results pass through untouched.

squeez

Not available

Tokenade

Mechanism Breadth

The only tool combining output filtering + semantic search + skeleton compression + sandbox execution + MCP proxying + secret redaction + content-addressed cache in a single binary. On the open THOL benchmark it is the only one of the twelve tools tested that measurably cuts costs: 39% cheaper on long sessions than running no tool at all.

squeez

Not available

Tokenade

Setup & Installation

npm install -g @tokenade/cli then tokenade install — native hooks auto-detected for 18 agents (Claude Code, Cursor, Codex, Gemini CLI, Copilot, Windsurf and more). Free and open source, no account. Not yet on crates.io or Homebrew.

squeez

Not available

Tokenade

Savings Dashboard

tokenade dashboard shows measured savings, per-command and per-project breakdown, and framework-detection status. Local logs rotate automatically with built-in secret redaction.

squeez

Not available

Tokenade

Pricing

Free and open source (MIT OR Apache-2.0) for everyone, on as many machines as you like, with no account. The source is on GitHub (github.com/pi-infected/tokenade); contributions welcome.

squeez

Not available

squeez at a glance

squeez starts at Free. Rust hook-based output compressor: smart filtering, cross-call deduplication, log-template compaction and relevance-aware truncation applied to shell output and file reads before they enter context — with the folded bytes kept in local content-addressed storage so the agent can retrieve the exact original.

Pros

  • Compression is reversible: the agent can pull back exact bytes, so folding never destroys information
  • Fully local with zero runtime dependencies — no data leaves the machine
  • Cross-call deduplication catches output repeated across a whole session, not just within one call
  • Supports several agent CLIs from a single install

Cons

  • No measurable saving on the open THOL benchmark
  • By its own documentation it cannot compress sub-agent return values, top-level user prompts, or skill files loaded at session start
  • No semantic search and no repository index — it compresses what passes through, it does not decide what to read
  • Support is uneven across host CLIs; some lack a clean injection point for file reads

Ready to cut costs with Tokenade?

Join the teams that already chose Tokenade over squeez.

Get Tokenade

Other comparisons