Skip to content

[GitHub Trending] rtk-ai/rtk

9.5 relevance
Score Breakdown
technical depth
8
novelty
9
actionability
9
community
8
strategic
7
personal
10

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

CLI proxy slashes LLM token costs, highly actionable and novel.

2026-05-19 AI/ML github.com
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies - rtk-ai/rtk
Summary

rtk, a single Rust binary with <10ms overhead, hooks into AI coding tools (Claude Code, Copilot, Gemini CLI) to intercept bash commands and apply filtering, grouping, truncation, and deduplication, cutting LLM token consumption by 60-90% across 100+ commands. In a 30-minute Claude Code session, it reduced total tokens from ~118,000 to ~23,900, with commands like git add/commit/push seeing 92% savings. Open-source on GitHub, it uses hook-based or plugin-based rewriting for seamless integration.

Key Takeaways
  • Install rtk as a local CLI proxy to your AI coding tools to automatically compress command outputs and achieve ~80% token savings on common workflows.
Why it matters

For engineers building AI-assisted development pipelines, rtk directly reduces token costs and latency by preprocessing shell output before it enters LLM context, making agent loops more efficient and cheaper.

Author

rtk-ai