[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"readme:rtk":3},"\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258253854?v=4\" alt=\"RTK - Rust Token Killer\" width=\"500\" \u002F>\n\u003C\u002Fp>\u003Cp align=\"center\">\n  \u003Cstrong>High-performance CLI proxy that cuts up to 90% of the bash output your agent reads\u003C\u002Fstrong>\n\u003C\u002Fp>\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Factions\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fworkflows\u002FSecurity%20Check\u002Fbadge.svg\" alt=\"CI\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Freleases\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Frtk-ai\u002Frtk\" alt=\"Release\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fopensource.org\u002Flicenses\u002FApache-2.0\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Apache_2.0-blue.svg\" alt=\"License: Apache 2.0\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FRySmvNF5kF\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1470188214710046894?label=Discord&amp;logo=discord\" alt=\"Discord\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Frtk\" rel=\"nofollow ugc noopener\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Fv\u002Frtk\" alt=\"Homebrew\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.rtk-ai.app\" rel=\"nofollow ugc noopener\">Website\u003C\u002Fa> •\n  \u003Ca href=\"#installation\" rel=\"nofollow ugc noopener\">Install\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fwww.rtk-ai.app\u002Fguide\u002Ftroubleshooting\" rel=\"nofollow ugc noopener\">Troubleshooting\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002Fdocs\u002Fcontributing\u002FARCHITECTURE.md\" rel=\"nofollow ugc noopener\">Architecture\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FRySmvNF5kF\" rel=\"nofollow ugc noopener\">Discord\u003C\u002Fa>\n\u003C\u002Fp>\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME.md\" rel=\"nofollow ugc noopener\">English\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_fr.md\" rel=\"nofollow ugc noopener\">Francais\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_zh.md\" rel=\"nofollow ugc noopener\">中文\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_ja.md\" rel=\"nofollow ugc noopener\">日本語\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_ko.md\" rel=\"nofollow ugc noopener\">한국어\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_es.md\" rel=\"nofollow ugc noopener\">Espanol\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002FREADME_pt.md\" rel=\"nofollow ugc noopener\">Português\u003C\u002Fa>\n\u003C\u002Fp>\u003Chr \u002F>\n\u003Cp>rtk filters and compresses command outputs before they reach your LLM context. Single Rust binary, 100+ supported commands, &lt;10ms overhead.\u003C\u002Fp>\n\u003Ch2>What RTK Does\u003C\u002Fh2>\n\u003Cp>RTK intercepts shell commands and compresses their output before your agent reads it.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Operation\u003C\u002Fth>\n\u003Cth>What RTK does to the output\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Ccode>ls\u003C\u002Fcode> \u002F \u003Ccode>tree\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Tree format with file counts instead of one line per entry\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>cat\u003C\u002Fcode> \u002F \u003Ccode>read\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Smart file reading: signatures and structure over full bodies\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>grep\u003C\u002Fcode> \u002F \u003Ccode>rg\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Truncates long lines, groups matches by file\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>git status\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Compact stat format, grouped by state\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>git diff\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Reduced context, headers stripped\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>git log\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Hash, author and subject only\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>git add\u002Fcommit\u002Fpush\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Confirmation line instead of full progress output\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>cargo test\u003C\u002Fcode> \u002F \u003Ccode>npm test\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Failures only, passing tests collapsed to a count\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>ruff check\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Grouped by rule and file\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>pytest\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Failures only, traceback trimmed\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>go test\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>NDJSON parsed, failures only\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>docker ps\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Essential fields only\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2>How Savings Work\u003C\u002Fh2>\n\u003Cp>RTK cuts \u003Cstrong>up to 90% of the bash output\u003C\u002Fstrong> your agent reads. That is what RTK measures, and it is not the same as cutting your bill by 90%.\u003C\u002Fp>\n\u003Cp>Bash output is \u003Cstrong>one contributor to input tokens\u003C\u002Fstrong>, alongside your prompt, the system prompt and conversation history. Input tokens are in turn \u003Cstrong>only part of the bill\u003C\u002Fstrong>, which also counts output tokens. The reduction dilutes at every step.\u003C\u002Fp>\n\u003Cp>The token counts RTK reports are estimated as \u003Ccode>bytes \u002F 4\u003C\u002Fcode> — RTK ships no tokenizer, so the \u003Cstrong>percentages are reliable but the absolute token numbers are approximate\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Full explanation: \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002FHEAD\u002Fdocs\u002Fguide\u002Fresources\u002Fsavings-explained.md\" rel=\"nofollow ugc noopener\">How RTK Savings Work\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2>Installation\u003C\u002Fh2>\n\u003Ch3>Homebrew (recommended)\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">brew install rtk\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Quick Install (Linux\u002FmacOS)\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frtk-ai\u002Frtk\u002Frefs\u002Fheads\u002Fmaster\u002Finstall.sh | sh\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cblockquote>\n\u003Cp>Installs to \u003Ccode>~\u002F.local\u002Fbin\u003C\u002Fcode>. Add to PATH if needed:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-bash\">echo 'export PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"' &gt;&gt; ~\u002F.bashrc  # or ~\u002F.zshrc\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fblockquote>\n\u003Ch3>Cargo\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">cargo install --git https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Pre-built Binaries\u003C\u002Fh3>\n\u003Cp>Download from \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Freleases\" rel=\"nofollow ugc noopener\">releases\u003C\u002Fa>:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>macOS: \u003Ccode>rtk-x86_64-apple-darwin.tar.gz\u003C\u002Fcode> \u002F \u003Ccode>rtk-aarch64-apple-darwin.tar.gz\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Linux: \u003Ccode>rtk-x86_64-unknown-linux-musl.tar.gz\u003C\u002Fcode> \u002F `rtk-aar\u003C\u002Fli>\n\u003C\u002Ful>\n",1785276850773]