rtk

A single command line proxy that shortens the output of common developer commands before an AI agent reads it. This lowers token use and cost.

Share on XLicense: Apache-2.0

Overview

rtk is a single Rust binary that sits between an AI agent and common developer commands. It filters and compresses command output before it reaches the language model's context, which lowers token use and cost. It supports over 100 commands. The project states savings of up to 90 percent on the bash output an agent reads.

Key features

  • Compresses command output before the LLM reads it
  • Supports 100+ commands
  • Single Rust binary
  • Install with Homebrew, winget, cargo, a script or prebuilt binaries

Best for

People using AI coding agents who want to cut token consumption from noisy command output. Savings vary by command, so the stated figure is an upper bound.

Upstream
rtk-ai/rtk
Fork on GitHub
Guo-astro/rtk
Upstream stars
82k
Category
Developer tools and infrastructure
Language
Rust
License
Apache-2.0
Forked
2026-03-04
Sync status
Diverged from upstreamLast synced 2026-09-29