// devtools · rtk-ai/rtk

rtk

CLI proxy that cuts LLM token consumption 60-90% on common dev commands — one Rust binary

★ 82.7k stars⑂ 5.3k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

rtk is an open-source dev tools project by rtk-ai (rtk-ai/rtk on GitHub). It has 82,705 GitHub stars and 5,253 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 8 October 2026.

Repository
rtk-ai/rtk
GitHub stars
82,705
Forks
5,253
License
Apache-2.0
Last updated on GitHub
8 October 2026
Category
Dev Tools
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Decide what you want from rtk and check the README and requirements to confirm it fits your setup and Rust environment.

  2. Get the code

    Clone the repository from GitHub (github.com/rtk-ai/rtk) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// features

Why people love it

Token reduction proxy

Filters and compresses common dev command output before it reaches the LLM, cutting tokens substantially.

Single Rust binary

One binary with zero dependencies — no runtime to install.

Git and file commands

Optimized handling for git, file listing and other frequent developer commands.

Transparent proxying

Wraps the commands your agent already runs, so workflows do not change.

Cross-platform installs

Available via Homebrew, winget, Cargo and pre-built binaries.

Open source

Apache-2.0 licensed and developed in the open.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/rtk-ai/rtk.git
    cd rtk
  2. Install RTK

    Homebrew is the recommended route on macOS; winget and Cargo are also documented.

    brew install rtk
  3. Verify and use it

    Verify the installation, then let your agent's commands flow through rtk.

    rtk --version  # see README for the exact command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains rtk?

It is maintained by rtk-ai and contributors on GitHub, where the repository github.com/rtk-ai/rtk is the canonical home for code, issues and releases.

Is rtk free to use?

Yes — it is open source under the Apache-2.0 license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

No. RTK is a local proxy binary and needs no key; your agent keeps using your own account.

How does rtk compare to alternatives?

Compared with manually truncating command output: RTK automates output compression for many commands instead of relying on ad-hoc head/tail piping.

How do I get started?

Clone github.com/rtk-ai/rtk, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// keep exploring

Similar tools

Dev Tools

aichat

One Rust CLI for every LLM: shell assistant, chat REPL, RAG, tools and agents across 20+ providers.

★ 10.5k starsApache-2.0
View guide →
Dev Tools

treg

An OpenRouter-style registry for agent tools: one token, thousands of priced endpoints, your own keys too

★ 4.8k starsNOASSERTION
View guide →
Dev Tools

zvec-grep

zvec-grep (zg): one local CLI unifying ripgrep-style exact search, BM25, and semantic vector search

★ 4.0k starsApache-2.0
View guide →
Dev Tools

pi_agent_rust

A native Rust port of the Pi coding agent: single binary, zero unsafe code, and hardened extensions.

★ 1.9k starsMIT
View guide →
Dev Tools

kimi-code

Kimi Code CLI — Moonshot's terminal coding agent: single-binary TUI with video input, subagents and MCP.

★ 7.8k starsMIT
View guide →
Dev Tools

LlamaFactory

Unified, efficient fine-tuning of 100+ LLMs and VLMs with a CLI and Web UI — ACL 2024

★ 75.4k starsApache-2.0
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if rtk is not the right fit.

Get rtk

Free and open — grab the source, star the repo, and start creating.