{
  "$schema_doc": "https://gtmstacker.com/registry/schema/entry.schema.json",
  "stability": "emerging",
  "generator": "agentic-media-registry",
  "generated_at": "2026-11-22T00:00:00Z",
  "id": "com.gtmstacker.registry/tool/rtk",
  "type": "tool",
  "slug": "rtk",
  "canonical_url": "https://gtmstacker.com/registry/tool/rtk/",
  "title": "RTK (Rust CLI proxy that compresses shell output before an AI agent reads it)",
  "description": "RTK is a single Rust binary that intercepts shell commands an AI coding agent runs (ls, grep, git, test runners, linters, docker) and compresses their output before it enters the model's context. The repo root is Apache-2.0, but the default rtk binary bundles a pipeline engine under BUSL-1.1; a pure Apache-2.0 rtk-oss build exists, and the separate RTK Proxy daemon is BUSL-1.1. RTK Pro is the paid upsell.",
  "category": "ai-infrastructure",
  "tags": [
    "token-reduction",
    "cli",
    "coding-agents",
    "shell-output",
    "rust",
    "context-compression",
    "busl"
  ],
  "status": "active",
  "revision": 1,
  "content_hash": "6d2a00d9880d0a030d42fa4b297b2b6759b20884844d0f1aaa1c351c3b2768ec",
  "date_published": "2026-11-21T00:00:00Z",
  "date_modified": "2026-11-21T00:00:00Z",
  "source": {
    "name": "Nuts, token-cost team in 10 repos (Claude Code token-cutting repos list)",
    "url": "https://x.com/ridark_eth/status/2118345368207249489",
    "author": "ridark_eth"
  },
  "license": "Apache-2.0 core + BUSL-1.1 engine",
  "one_liner": "RTK sits between a coding agent and the shell, collapsing git, grep and test-runner output to the lines that matter before they enter the model's context.",
  "open_source": "yes",
  "self_hostable": "yes",
  "pricing_signal": "Free for production use. Default binary includes the BUSL-1.1 engine (no reselling as a service; converts to Apache-2.0 on 2030-09-09); Apache-only rtk-oss build available. RTK Pro is paid.",
  "pricing_model": "freemium",
  "url": "https://github.com/rtk-ai/rtk",
  "who_its_for": "Developers and ops builders whose agents run many shell commands and burn context on long git, grep and test output.",
  "who_its_not_for": "Anyone who needs a pure OSI license in the default build or plans to resell it as a hosted service; use rtk-oss or check BUSL-1.1 terms first.",
  "aliases": [
    "rtk-ai/rtk",
    "rtk-oss"
  ],
  "alternatives": [
    "headroom",
    "caveman"
  ],
  "secondary_categories": [
    "productivity-knowledge"
  ],
  "last_verified": "2026-11-21",
  "evidence": {
    "claim_type": "vendor-claim",
    "source_id": "https://github.com/rtk-ai/rtk",
    "note": "GitHub API reports Apache-2.0 for the repo root; engine/ and proxy/ are BUSL-1.1 (Change Date 2030-09-09). Default rtk bundles the engine; rtk-oss is Apache-only; the proxy is a separate binary. 2026-11-21: 87,368 stars, 5,613 forks, pushed 2026-11-21, stable v1.2.1 2026-11-19. Savings figures are vendor-claim; token counts are bytes/4 estimates."
  },
  "caveats": "Mixed licensing: the default rtk binary is not pure Apache-2.0. README itself warns that bash-output savings dilute against the full bill, and token counts are bytes/4 estimates. A different crate named 'rtk' exists on crates.io; confirm with 'rtk gain'.",
  "lead": "**RTK** (`rtk-ai/rtk`) is a single Rust binary that intercepts shell commands an AI agent runs and compresses their output before it reaches the model. Directory listings become trees with counts, `git log` keeps hash, author and subject, test runners show failures only, and linters group findings by rule and file.…",
  "chunks": [
    {
      "index": 0,
      "heading_path": [],
      "est_tokens": 207,
      "text": "**RTK** (`rtk-ai/rtk`) is a single Rust binary that intercepts shell commands an AI agent runs and compresses their output before it reaches the model. Directory listings become trees with counts, `git log` keeps hash, author and subject, test runners show failures only, and linters group findings by rule and file. It supports 100+ commands with under 10 ms overhead (vendor figure).\n\n**License, read carefully:** the repository root is Apache-2.0, but `engine/` and `proxy/` are **BUSL-1.1** (Change Date 2030-09-09, after which they become Apache-2.0). The default `rtk` download bundles the engine; a pure Apache-2.0 `rtk-oss` edition ships without it; the RTK Proxy daemon is a separate BUSL-1.1 binary that neither build includes. Production use is free; offering it as a resold service is not. RTK Pro is the paid tier."
    },
    {
      "index": 1,
      "heading_path": [
        null,
        "Provenance"
      ],
      "est_tokens": 254,
      "text": "which they become Apache-2.0). The default `rtk` download bundles the engine; a pure Apache-2.0 `rtk-oss` edition ships without it; the RTK Proxy daemon is a separate BUSL-1.1 binary that neither build includes. Production use is free; offering it as a resold service is not. RTK Pro is the paid tier.\n\n- License: Apache-2.0 root per GitHub API; **BUSL-1.1** for `engine/` and `proxy/` per README and `engine/LICENSE`. The source list post's BUSL caveat is confirmed.\n- Activity as of 2026-11-21 (GitHub API): **87,368 stars, 5,613 forks**, last push 2026-11-21; latest stable release v1.2.1 (2026-11-19), with daily pre-releases.\n- **Vendor claims:** \"60-90%\" token reduction and \"up to 90% smaller\" output. The README notes these measure bash output only and that token counts are `bytes / 4` estimates.\n- Curated and verified in run `2026-11-05-registry-update-01` (step-3 verification, 2026-11-05); held, then re-verified and published 2026-11-21 (README editions table and engine/proxy LICENSE files re-read)."
    },
    {
      "index": 2,
      "heading_path": [
        null,
        "Why it matters for a GTM stack"
      ],
      "est_tokens": 139,
      "text": "\"60-90%\" token reduction and \"up to 90% smaller\" output. The README notes these measure bash output only and that token counts are `bytes / 4` estimates. - Curated and verified in run `2026-11-05-registry-update-01` (step-3 verification, 2026-11-05); held, then re-verified and published 2026-11-21 (README editions table and engine/proxy LICENSE files re-read).\n\nAgents that build and test ops scripts spend much of their context reading command output. RTK trims that output at the shell. Pick the `rtk-oss` build if your policy requires an OSI license."
    }
  ],
  "alternates": {
    "markdown": "https://gtmstacker.com/registry/tool/rtk/index.md",
    "html": "https://gtmstacker.com/registry/tool/rtk/",
    "json": "https://gtmstacker.com/registry/tool/rtk/index.json",
    "server_json": "https://gtmstacker.com/registry/tool/rtk/server.json"
  },
  "jsonld": {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "WebSite",
        "@id": "https://gtmstacker.com/#website",
        "url": "https://gtmstacker.com/",
        "name": "GTM Stacker Agent Registry",
        "description": "A daily-updated, agent-native registry of open-source tool discoveries, tool updates, and curated news for the go-to-market / RevOps engineering niche. Machine-readable first: agents can discover, parse, page, and delta-sync it without scraping HTML.",
        "inLanguage": "en",
        "publisher": {
          "@id": "https://gtmstacker.com/#organization"
        }
      },
      {
        "@type": "Organization",
        "@id": "https://gtmstacker.com/#organization",
        "name": "GTM Stacker",
        "url": "https://gtmstacker.com",
        "description": "The growth-systems practice of Theo Popov: AI-native enrichment, outbound, content engines and internal tooling for startups and venture programs. Its agent-native media property, the GTM Stacker Agent Registry, maintains a daily-updated catalog of open-source go-to-market and RevOps tools that both people and AI engines can discover, compare, and cite.",
        "foundingDate": "2024-08",
        "knowsAbout": [
          "go-to-market engineering",
          "RevOps",
          "sales automation",
          "marketing operations",
          "open-source software",
          "AI agents"
        ],
        "founder": {
          "@type": "Person",
          "@id": "https://gtmstacker.com/#founder",
          "name": "Theo Popov",
          "jobTitle": "Growth Operations & GTM Systems",
          "url": "https://gtmstacker.com/about/",
          "sameAs": [
            "https://www.linkedin.com/in/theo-popov",
            "https://x.com/Theo_Popov",
            "https://github.com/theopopov"
          ],
          "worksFor": {
            "@id": "https://gtmstacker.com/#organization"
          }
        },
        "sameAs": [
          "https://www.linkedin.com/company/gtmstacker",
          "https://www.youtube.com/@gtmstacker",
          "https://www.instagram.com/gtmstacker/",
          "https://www.tiktok.com/@gtmstacker"
        ],
        "mainEntityOfPage": "https://gtmstacker.com/registry/about/"
      },
      {
        "@type": "SoftwareApplication",
        "@id": "https://gtmstacker.com/registry/tool/rtk/#software",
        "name": "RTK (Rust CLI proxy that compresses shell output before an AI agent reads it)",
        "identifier": "io.github.rtk-ai/rtk",
        "description": "RTK is a single Rust binary that intercepts shell commands an AI coding agent runs (ls, grep, git, test runners, linters, docker) and compresses their output before it enters the model's context. The repo root is Apache-2.0, but the default rtk binary bundles a pipeline engine under BUSL-1.1; a pure Apache-2.0 rtk-oss build exists, and the separate RTK Proxy daemon is BUSL-1.1. RTK Pro is the paid upsell.",
        "applicationCategory": "DeveloperApplication",
        "url": "https://gtmstacker.com/registry/tool/rtk/",
        "datePublished": "2026-11-21T00:00:00Z",
        "dateModified": "2026-11-21T00:00:00Z",
        "isPartOf": {
          "@id": "https://gtmstacker.com/#website"
        },
        "softwareVersion": "1.2.1",
        "softwareHelp": "https://www.rtk-ai.app/",
        "codeRepository": "https://github.com/rtk-ai/rtk",
        "keywords": "ai-infrastructure, productivity-knowledge, token-reduction, cli, coding-agents, shell-output, rust, context-compression, busl",
        "author": {
          "@type": "Organization",
          "name": "rtk-ai",
          "url": "https://github.com/rtk-ai",
          "sameAs": [
            "https://github.com/rtk-ai/rtk",
            "https://www.rtk-ai.app/"
          ]
        },
        "offers": {
          "@type": "Offer",
          "price": 0,
          "priceCurrency": "USD"
        },
        "isSimilarTo": [
          {
            "@type": "SoftwareApplication",
            "name": "Headroom (context-compression layer for AI agents)",
            "url": "https://gtmstacker.com/registry/tool/headroom/",
            "applicationCategory": "DeveloperApplication",
            "offers": {
              "@type": "Offer",
              "price": 0,
              "priceCurrency": "USD"
            }
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "@id": "https://gtmstacker.com/registry/tool/rtk/#breadcrumb",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "GTM Stacker Registry",
            "item": "https://gtmstacker.com/registry/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "AI Infrastructure",
            "item": "https://gtmstacker.com/registry/category/ai-infrastructure/"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "RTK (Rust CLI proxy that compresses shell output before an AI agent reads it)",
            "item": "https://gtmstacker.com/registry/tool/rtk/"
          }
        ]
      }
    ]
  },
  "tool": {
    "name": "io.github.rtk-ai/rtk",
    "version": "1.2.1",
    "repository": {
      "url": "https://github.com/rtk-ai/rtk",
      "source": "github"
    },
    "homepage": "https://www.rtk-ai.app/"
  }
}
