rtk
FreeCLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
About rtk
RTK (Rust Token Killer) is a high-performance CLI proxy written in Rust that intercepts command outputs before they reach your LLM's context window. It intelligently filters, groups, truncates, and deduplicates terminal output, reducing token consumption by 60–90% on common developer commands. This leads to longer AI sessions (up to 3x), improved reasoning performance, and significant cost savings—especially on pay-per-token services. RTK integrates seamlessly with popular AI coding tools such as Claude Code, Cursor, Aider, Gemini CLI, OpenAI Codex, Cline, Windsurf, and GitHub Copilot. It is free, open source (Apache 2.0), and installable via Homebrew, Cargo, or a quick script. The single Rust binary has less than 10ms overhead and supports over 30 commands out of the box.
Key Features
Pros & Cons
- Significant token savings (60-90%) measured across thousands of real-world commands
- Works with major AI coding tools out of the box
- Free, open source, and easy to install
- Minimal performance overhead (<10ms) and no dependency on other languages
- Transparently hooks into existing shell workflows without changing user habits
- Provides detailed savings analytics per command
- Only reduces tokens for CLI command outputs, not for other types of LLM input (e.g., documentation or chat)
- Requires shell integration (auto-rewrite hook) which may not function in all terminal environments or CI systems
Best For
Alternatives to rtk
agent-of-empires
Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, Copilot CLI, Factory Droid Coding. Uses tmux a
Continue.dev
Open-source AI code assistant
ccpm
Project management skill system for Agents that uses GitHub Issues and Git worktrees for parallel agent execution.
awesome-ai-coding-tools
A curated list of AI-powered coding tools
AgentsMesh
The AI Agent Workforce Platform — where teams scale beyond headcount. Give every team member an AI agent squad.
antigravity-awesome-skills
Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill coll