{"data":{"slug":"rtk-ai-rtk","name":"rtk","tagline":"CLI proxy reducing LLM token consumption by 60-90% on common dev commands","github_url":"https://github.com/rtk-ai/rtk","owner":"rtk-ai","repo":"rtk","owner_avatar_url":"https://avatars.githubusercontent.com/u/258253854?v=4","primary_language":"Rust","stars":76247,"forks":4795,"topics":["agentic-coding","ai-coding","anthropic","claude-code","cli","command-line-tool","cost-reduction","developer-tools","llm","open-source","productivity","rust","token-optimization"],"archived":false,"github_pushed_at":"2026-08-15T02:01:37+00:00","maintenance_label":"Very active","stars_delta_30d":4851,"url":"https://www.graphcanon.com/tools/rtk-ai-rtk","markdown_url":"https://www.graphcanon.com/tools/rtk-ai-rtk.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/rtk-ai-rtk","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=rtk-ai-rtk","description":"CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies","homepage_url":"https://www.rtk-ai.app","license":"Apache-2.0","open_issues":1973,"watchers":203,"ai_summary":"rtk provides a Rust-based CLI tool designed to minimize the use of language model tokens when executing typical developer commands, resulting in significant cost savings.","readme_excerpt":"### Quick Install (Linux/macOS)\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh\n```\n\n> Installs to `~/.local/bin`. Add to PATH if needed:\n> ```bash\n> echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc  # or ~/.zshrc\n> ```\n\n---\n\n### Verify Installation\n\n```bash\nrtk --version   # Should show \"rtk 0.28.2\"\nrtk gain        # Should show the savings dashboard\n```\n\n> **Name collision warning**: Another project named \"rtk\" (Rust Type Kit) exists on crates.io. If `rtk gain` fails, you have the wrong package. Use `cargo install --git` above instead.\n\n---\n\n# 1. Install for your AI tool\nrtk init -g                     # Claude Code / Copilot (default)\nrtk init -g --gemini            # Gemini CLI\nrtk init -g --codex             # Codex (OpenAI)\nrtk init -g --agent cursor      # Cursor\nrtk init -g --agent windsurf    # Windsurf\nrtk init --agent cline          # Cline / Roo Code\nrtk init --agent kilocode       # Kilo Code\nrtk init --agent antigravity    # Google Antigravity\nrtk init --agent kimi           # Kimi AI\nrtk init -g --agent pi          # Pi\nrtk init --agent hermes         # Hermes\nrtk init -g --agent droid       # Factory Droid\n\n---\n\n### Infrastructure as Code\n```bash\nrtk pulumi preview              # Strip header/URL/duration noise\nrtk pulumi up                   # Compact apply output\nrtk pulumi destroy              # Compact destroy output\nrtk pulumi refresh              # Drift summary\nrtk pulumi stack                # Stack metadata (strips owner/timestamps)\n```\n\n---\n\n## License\n\nApache License 2.0 - see [LICENSE](LICENSE) for details.","github_created_at":"2026-01-22T16:54:16+00:00","created_at":"2026-07-07T17:30:48.988016+00:00","updated_at":"2026-08-16T06:01:51.013632+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"agentic-coding","name":"agentic-coding"},{"slug":"ai-coding","name":"ai-coding"},{"slug":"anthropic","name":"anthropic"},{"slug":"claude-code","name":"claude-code"},{"slug":"cost-reduction","name":"cost-reduction"},{"slug":"token-optimization","name":"token-optimization"}],"trust":{"provenance":{"is_fork":false,"github_id":1139971460,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T06:01:50.215Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":30,"days_since_push":1,"last_release_at":"2026-08-14T23:56:26Z","stars_delta_30d":4851,"open_issues_delta_30d":358},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:56:25.080Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-16T06:01:50.682Z"},"languages":{"value":["rust"],"source":"github.language","observed_at":"2026-08-16T06:01:50.682Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-16T06:01:50.682Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"rtk is available under the Apache-2.0 license and is free for use in open-source projects."},"requirements":{"min_ram_gb":null,"requires_docker":false},"constraints":{"min_ram_gb":null,"pricing_model":"freemium","requires_docker":false},"when_to_use":["- Use rtk when you want to significantly reduce the tokens consumed by your language models during typical dev tasks, potentially lowering costs by up to 90%.","- If you are working with multiple open-source projects and aim to enhance financial efficiency, rtk can help reduce LLM service fees due to its token optimization capabilities."],"when_not_to_use":["- Avoid using rtk if your workflow requires extensive command customization that would conflict with the tool’s predefined optimizations.","- Do not use rtk for development tasks outside of common dev commands where significant token reductions might not impact efficiency or costs as much. For more specialized or unique commands, other L1"],"source":"enrich:decision_facts","observed_at":"2026-07-11T12:08:03.495Z"},"constraint_facets":{"min_ram_gb":null,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - rtk is available under the Apache-2.0 license and is free for use in open-source projects."},{"label":"Adopt for","value":"rtk is a Rust-based CLI tool aimed at reducing LLM token consumption for common development commands."}]}}