An open-source proxy that sits between your coding agent and the model, compressing tool schemas, file reads and stale history to cut token bills.
What is RTK?
Open-source Rust CLI that rewrites the shell commands AI coding agents run and strips noise from their output, cutting the tokens Claude Code, Cursor or Codex send to the model.
- Pricing
- Free
- Free plan
- Yes
- Category
- Coding & Development
- Made by
- RTK AI
- Released
- Updated
RTK screenshots
RTK features & details
RTK (Rust Token Killer) attacks a specific cost in agentic coding: every log, test run, diff and file listing an agent reads is sent back to the model on every turn. RTK installs a hook in front of the agent's shell — a PreToolUse hook in Claude Code, rules in Cursor, a global shell hook for Aider, Gemini CLI, Codex, Windsurf and others — rewrites more than 125 common commands (git, cargo, npm, grep and friends) and compresses their output before the agent sees it, for example reducing a long lockfile to a list of package names. The project reports average command-output reductions around 56%, more on the noisiest commands, with under 20 ms of overhead.
It ships as a single Rust binary with no dependencies under the Apache 2.0 licence, installed with a one-line script, Homebrew or prebuilt binaries for macOS, Linux and Windows; rtk init --global wires up the hook. rtk gain shows a live dashboard of commands filtered, tokens saved and where your context is going. Since version 1.0 the RTK Engine adds pipelines: a TOML file of rules saying where RTK acts, when and what it does — compress output, or route a bulk read such as a 4,000-line file to a cheaper model you supply — that can be shared with a team or published to GitHub. An optional proxy applies the same treatment to API traffic, and telemetry is opt-in.
The CLI is free and open source. The same team sells RTK Pro, a separate control layer for organisations, which is not required to use RTK.
No reviews yet — sign in to write the first one
Apps similar to RTK
The closest matches are Paritok and Kilo Code. See every RTK alternative compared by price and free plan.
Open-source AI coding agent for VS Code, JetBrains and the terminal — 500+ models at provider cost, task-specific modes, parallel agents in isolated git worktrees.
Open-source AI agent from the Agentic AI Foundation — a native desktop app, CLI and API that runs tasks locally with 70+ MCP extensions.
A local, keyboard-driven diff viewer built for the huge changes coding agents produce - and it remembers what you have already seen.
Minimal, MIT-licensed terminal coding agent that adapts to your workflow via TypeScript extensions.