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.
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.
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.
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.
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.
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.
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.
Commands including `rtk gain`, `rtk gain --daily`, `rtk discover`, and `rtk session` provide savings, missed-opportunity, and adoption information for supported workflows.
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 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.
Use the Git, file, search, and lockfile-related filters to reduce verbose status, diff, listing, and dependency output while an agent investigates a codebase.
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.
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.
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.
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.
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.
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.
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.
Traffic data is for reference only.
| Aug | 64296 |
|---|---|
| Sep | 36520 |
| Oct | 45363 |
usemagpie.ai
An open-source local AI gateway that connects coding agents to model providers, translates API formats, and routes requests across models.
ccswitch.io
CC Switch is a cross-platform desktop app for managing providers, routing, extensions, sessions, accounts, and usage across AI coding tools from one interface.
planoai.dev
Add model and agent routing, request traces, and policy hooks through an open-source proxy.
zenmux.ai
ZenMux is an enterprise LLM platform with one API for multiple models, automatic prompt routing, flexible pricing, cost visibility, and model-failure compensation.
zro.moonmath.ai
Zro is a private inference endpoint for coding agents, serving open-weight models on EU infrastructure. It supports OpenAI-compatible and Anthropic-compatible requests, plus launcher-based setup for several coding tools.
flux-ai.io
Web-based image and video generation from text or images
markcopy.ai
Web-based AI copywriting for on-brand, SEO-ready content
ninjatools.ai
NinjaTools is an AI workspace for search, model comparison, coding, image and video generation, and PDF chat.
safewrite.ai
SafeWrite builds a personal rewriting model from your style to humanize AI text, with AI detection checks and a free trial.
saliency.dev
Saliency is a video-understanding and editing workspace for finding specific moments, reviewing promising clips, reframing subjects, and exporting polished MP4 files.
credal.ai
Build and govern enterprise AI agents and MCP servers with shared business context.