rtk

About rtk
rtk is a command-line proxy designed to reduce token consumption when working with large language models (LLMs) during development tasks. It filters and compresses command outputs before they reach the LLM context, achieving 60-90% reduction in token usage. The tool supports over 100 common developer commands and adds less than 10ms overhead per operation.
Built as a single Rust binary with zero dependencies, rtk integrates with various AI coding tools like Claude Code, Gemini CLI, and Cursor. It works by rewriting shell commands through hooks or plugin APIs, automatically applying optimization strategies without requiring manual intervention.
The tool provides specialized handling for git operations, test runners, linters, and package managers. It supports multiple platforms including Linux, macOS, and Windows (via WSL for full functionality). Installation options include Homebrew, direct download of pre-built binaries, or compilation from source.
Key features
- Reduces token consumption by 60-90% on common developer commands
- Supports 100+ commands including git, test runners, and linters
- Single Rust binary with zero dependencies
- Adds less than 10ms overhead per operation
- Integrates with various AI coding tools through hooks or plugin APIs
- Provides specialized handling for git operations and test outputs
- Available for Linux, macOS, and Windows (via WSL)
Download dev-0.44.0-rc.316
Jul 9, 2026WindowsWindows
Frequently asked questions
- Is rtk free?
- Yes. rtk is free and open-source software, distributed under the Apache-2.0 license.
- Which platforms does rtk support?
- rtk provides downloads for Windows, macOS, Linux.
- What is the latest version of rtk?
- The latest version is dev-0.44.0-rc.316, released on Jul 9, 2026.
- What platforms does rtk support?
- rtk supports Linux, macOS, and Windows (though Windows users should use WSL for full functionality). Pre-built binaries are available for all major platforms.
- How do I install rtk?
- rtk can be installed via Homebrew (recommended), by running a quick install script, through Cargo, or by downloading pre-built binaries from the releases page.
- What license does rtk use?
- rtk is licensed under the Apache 2.0 license.
- How does rtk reduce token consumption?
- rtk applies four strategies: smart filtering (removes noise), grouping (aggregates similar items), truncation (keeps relevant context), and deduplication (collapses repeated lines).
More Productivity
lobehub
lobehub
LobeHub is a productivity tool designed to manage AI agents by handling their hiring, scheduling, and reporting for continuous operations. It organizes agents into efficient workflows to ensure seamless 24/7 functionality.
AppFlowy
AppFlowy-IO
AppFlowy is an open-source productivity tool designed as a collaborative workspace with AI integration. It functions as an alternative to Notion, combining projects, wikis, and team management while prioritizing user data control. The platform supports organization and workflow without proprietary lock-in.
AFFiNE
toeverything
AFFiNE is an open-source knowledge base tool for planning, organizing, and content creation. It prioritizes privacy and offers customization while maintaining usability. The platform combines note-taking and collaborative features in a single workspace.