rtk
Developed by rtk-ai
rtk is a high-performance command-line interface (CLI) proxy designed to significantly reduce LLM token consumption by filtering and compressing command outputs, typically achieving 60-90% savings. Implemented as a single Rust binary, it supports over 100 common CLI commands and employs four core strategies: smart filtering, grouping, truncation, and deduplication. With a transparent auto-rewrite hook for Bash commands, rtk optimizes the context provided to LLMs without altering user workflows, thereby enhancing efficiency and cost-effectiveness when interacting with AI tools.
- Efficient LLM Token Reduction (60-90% savings)
- Transparent CLI Proxy & Command Rewriting
- High-Performance Rust Single Binary
- Supports 100+ Command-Line Tools
- Multi-Strategy Output Compression (Filtering, Grouping, Truncation, Deduplication)
desktop