RTK
Compresses command output before a coding agent reads it
What it is
A single Rust binary that sits between a coding agent and common developer commands and shortens their output (test runs, diffs, logs, builds) before it reaches the model. It needs no configuration, reports savings with a gain command, and adds optional pipelines for handing heavy reads to cheaper models.
Good for
- Shrink test and build output in agent sessions
- Measure tokens saved per command
- Stretch a usage quota further
Install or run
brew install rtkCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
macOS or Linux shell
Sources
- https://github.com/rtk-ai/rtk (project README, read 10 Nov 2026)
- https://api.github.com/repos/rtk-ai/rtk (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.