rtk-ai/rtk

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

Agent-agnostic token optimization: compress, route, filter, and more. One composable pipeline across everything your AI agent reads and sends — built on RTK's battle-tested bash-output compression (up to 90% smaller). Website &bull; Install &bull; Troubleshooting &bull; Architecture &bull; Discord English &bull; Francais &bull; 中文 &bull; 日本語 &bull; 한국어 &bull; Espanol &bull; Português rtk filters and compresses command outputs before they reach your LLM context. Single Rust binary, 100+ supported commands, <10ms overhead. Angular builds are supported with rtk ng build: compact build tables with every bundle and diagnostic retained. RTK intercepts shell commands and compresses their output before your agent reads it. RTK reduces the bash output your agent reads. That is what RTK measures, and it is not the same as cutting your bill by the same amount. Bash output is one contributor to input tokens, alongside your prompt, the system prompt and conversation history. Input tokens are in…

rtk-ai/rtk on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-30T09:53:28.637Z

Inside the original README — Document outline
  1. What RTK Does
  2. How Savings Work
  3. Installation
  4. What You Install
  5. Quick Start
  6. How It Works
  7. Supported AI Tools
  8. What RTK Covers
  9. Measure It
  10. RTK Proxy (optional)
  11. The Engine (pipeline.toml)
  12. Documentation

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Repository facts

Owner
rtk-ai
Primary language
Rust
Stars
85,117
Forks
5,436
Open issues + pull requests
1,644
License
Apache-2.0
Archived
No
Default branch
develop
Created
2026-01-22T16:54:16.000Z
Last push
2026-10-30T18:07:02.000Z

Topics and intended use

Owner-supplied topics: agentic-coding, ai-coding, anthropic, claude-code, cli, command-line-tool, cost-reduction, developer-tools, llm, open-source, productivity, rust, token-optimization

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-31T12:19:26.881Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

ultraworkers/claw-code

clash-verge-rev/clash-verge-rev

farion1231/cc-switch

openai/codex

rustdesk/rustdesk

rust-lang/rust