Pickrtk: CLI Proxy That Reduces AI Agent Input Tokens by 90%
rtk-ai/rtk
About the project
It filters the massive output generated when AI agents execute shell commands, reducing the burden on the context window. It supports over 100 commands, including ls, git, and test runners, removing unnecessary logs or compressing structures according to the characteristics of each command.
It works by grouping git status by state and filtering cargo test to show only failed items. Written in Rust as a single binary, it maintains overhead of less than 10ms and integrates with major AI coding tools like Claude Code, Copilot, and Cursor to automatically rewrite commands.
Rather than simply truncating text, it helps agents quickly grasp only the information they need. It is useful for developers facing issues with skyrocketing token costs or slow response times due to long conversation histories or complex build logs.
rtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Rust