# RTK RTK is a Rust-based CLI proxy and cost reduction engine that filters development-tool output before AI coding agents read it, with optional routing and shared pipelines. - Findings24: - Website: - Pricing: Freemium - Categories: AI Gateway And Routing, AI Developer Tools, AI Agent Infrastructure ## What is RTK? RTK (Rust Token Killer) is an open-source Rust CLI proxy for AI coding workflows. It intercepts supported development commands through agent hooks, rewrites them transparently, and filters output before it reaches the language model. Instead of passing boilerplate, progress bars, and repetitive logs through unchanged, RTK keeps the information relevant to the task.\n\nIts broader RTK Engine extends this approach beyond shell output. Pipelines can define where RTK acts, when a condition applies, and whether to compress, route, or otherwise process the result. Developers can inspect, customize, and share these rules in a single `pipeline.toml` file across supported agents. The default hook-based workflow requires no changes to how familiar commands are run. ## What can RTK do? ### Transparent command filtering Agent hooks rewrite supported commands through RTK automatically, so commands such as \`git status\` can return a compact summary without changing the developer's normal workflow. ### Broad development-tool coverage Built-in filtering covers Git, GitHub CLI, Cargo and Rust, JavaScript and TypeScript tools, Python, Go, Ruby, .NET, Docker, Kubernetes, files and search, and cloud or infrastructure commands. ### Composable pipelines A \`pipeline.toml\` file defines where RTK acts, when rules apply, and what happens to tool output. Built-in pipelines can be extended or customized. ### Optional model routing Pipeline rules can route selected heavy work, such as reading a file over a specified size, to a model supplied by the developer instead of passing the full input directly to the agent. ### Savings and usage analysis Commands including \`rtk gain\`, \`rtk gain --daily\`, \`rtk discover\`, and \`rtk session\` provide savings, missed-opportunity, and adoption information for supported workflows. ### Pipeline sharing Developers can inspect the active pipeline, share a pipeline as a link, or install community pipelines after RTK displays their rules and requests confirmation. ## Use Cases ### Reduce noisy test and build output Use RTK with commands such as Cargo, Jest, pytest, Go test, or .NET build so failures, errors, warnings, and other relevant results are emphasized instead of sending routine success output to the agent. ### Keep repository exploration compact Use the Git, file, search, and lockfile-related filters to reduce verbose status, diff, listing, and dependency output while an agent investigates a codebase. ### Control large tool inputs Create pipeline rules for conditions such as oversized file reads, then route selected work to a cheaper model or apply a method before the main agent receives the result. ### Standardize agent workflows across a team Share one pipeline file or link so different developers can use the same output rules across agents such as Claude Code, Cursor, Codex, or Gemini CLI. ## Frequently Asked Questions ### How does RTK connect to an AI coding agent? RTK uses agent-specific hooks or shell hooks to intercept commands. For example, its Claude Code setup installs a PreToolUse hook, while the Cursor setup configures \`.cursorrules\` to pipe Bash commands through RTK. ### What does RTK filter? It filters output from supported commands across ecosystems including Git, GitHub CLI, Rust, JavaScript and TypeScript, Python, Go, Ruby, .NET, Docker, Kubernetes, files and search, and cloud tools. Unsupported commands pass through unchanged. ### Does RTK change the way commands are run? The default hook workflow is designed to be transparent: developers continue to run commands normally while RTK rewrites supported commands before execution. The documentation describes the default pipeline as requiring no workflow changes. ### Can RTK be customized? Yes. RTK Engine uses composable pipeline rules in \`pipeline.toml\`. Developers can extend built-in pipelines, add conditions and methods, inspect the active rules, and share the resulting pipeline. ### Is RTK open source? The CLI is written in Rust and published under the Apache 2.0 license. The site also describes telemetry as opt-in with no personal data. ## Quick Facts - **Product type**: Open-source Rust CLI proxy and cost reduction engine - **Primary users**: Developers using AI coding agents - **Core input**: Shell commands and supported development-tool output - **Core output**: Filtered, compact tool results for the agent - **License**: Apache 2.0 - **Configuration**: Optional composable \`pipeline.toml\` files