Automation/GitHub/Tool
rtk
by rtk-ai·Last observed 2026-10-27
★ 84.7K stars⑂ 5,382 forks
RTK is a command-line tool that filters and compresses shell command output before an AI coding agent reads it. Its per-command strategies remove noise, group similar items, truncate redundancy, and deduplicate repeated log lines; agent hooks can rewrite supported shell commands automatically.
Useful for
- Connect RTK to a supported coding agent so shell command output is compacted before the agent receives it.
Key features
- Filter, group, truncate, and deduplicate command output before it reaches an agent.
- Use hooks to rewrite supported shell commands for connected AI coding tools.
Requirements & limitations
- The automatic rewrite hook applies to Bash tool calls; built-in Read, Grep, and Glob tools do not pass through it.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.