RTK is a Rust CLI proxy that cuts AI agent shell output by up to 90%
OpenAIDevs · x · 2026-07-26
RTK is a Rust CLI proxy that compresses shell-command output before an AI agent reads it, aiming to reduce token waste in coding workflows.
- It intercepts commands like git status, pytest, git log, ls, grep, and docker ps.
- Output is compressed through filtering, grouping, truncation, and deduplication.
- The project claims up to 90% less bash output, with under 10 ms overhead and support for 100+ commands.
- It works with Claude Code, Codex, Cursor, Windsurf, Cline, Hermes, and similar agents via rtk init -g.
Related event: Open-source RTK compresses terminal output to save up to 90% tokens(2 posts)→
More from coding & agent
- How infrastructure teams are using MCP-connected AI agents as copilot layers — BestRequirement7539 · 2026-07-26
- review-replay checks whether PR review comments were actually fixed, not just marked addressed — alejandro_such · 2026-07-26
- Boris Cherny says Opus 5 resists prompt injection and Claude Code rebuilt most of its system prompt — ycombinator · 2026-07-26
- An AI support agent looked green for 3 weeks while misrouting refund requests — Warm-Reaction-456 · 2026-07-26
- Kimi-K3 claims a perfect 6/6 on IMO 2026 Lean 4 proofs — songhan_mit · 2026-07-26
- Daniel Lockyer recommends Moshi and herdrdev for remote agent coding and multiplexing — DanielLockyer · 2026-07-26