Caveman
why use many token when few do trick
Caveman is a token-efficiency layer for AI coding agents: an MIT-licensed skill that makes agent output terse, plus a local proxy that compresses logs, tool output and files before a call goes out to the provider. It installs into Claude Code, Codex, Cursor and 30+ other agents, and runs either as the free local wrap or through a hosted gateway that reports the savings in dollars. Its pinned benchmarks report 33.2% fewer provider-reported input tokens through the proxy and around 65% fewer output tokens from the skill, with the repo itself noting that whole-session savings run smaller once input tokens and skill overhead are counted. For developers whose agent bill is mostly text nobody reads.
What is Caveman?
Caveman is a token-efficiency stack for AI coding agents, sold as layers you can adopt separately. The free layer is an MIT-licensed skill that makes agent output terse plus a local proxy (`caveman wrap claude`) that compresses provider traffic on your machine — the Caveman Engine recognizes logs, JSON, code, diffs and tables, stores the original bytes, and sends a smaller eligible context to the model, with no account required. Paid layers add a hosted gateway, a spend workspace that files every dollar under a cause, and a TypeScript agent SDK. Its pinned benchmarks report 33.2% fewer provider-reported input tokens through the proxy and around 65% fewer output tokens from the skill.
Key features
- MIT-licensed skill that rewrites agent output in terse 'caveman' style, installable into Claude Code, Codex, Cursor and 30+ other agents
- Local Caveman Proxy that wraps an agent's provider traffic (`caveman wrap claude`) and compresses eligible context before it is sent — no Caveman account needed
- Recoverable compression: the Engine recognizes logs, JSON, code, diffs and tables and stores the original bytes before lossy replacement
- Spend workspace showing who spent what, through which key, on which model, and why — broken out by cause (uncached prefix, oversized tools, premium on easy work, retries)
- Caveman Agent SDK (`@caveman-ai/agent`, TypeScript) that declares tools, context and evals, and only keeps a cheaper context plan after the declared checks pass; locked adapters for Vercel AI SDK, Eve and Mastra
- Hosted gateway and savings dashboard as an optional cloud tier, with the local wrap remaining usable on its own
- Enterprise on-prem option where the Caveman control plane receives no prompt bytes and zero data retention is enforced at write time
- Split licensing: the skill and the browser extension are MIT; the Caveman Engine and proxy runtime are BSL-1.1 (source-available, not OSI open source)
Who it's for
- Cutting the output half of a coding-agent bill by installing the free MIT skill into an agent you already run
- Compressing large logs, tool output, diffs and files before they enter a provider call, via the local proxy
- Attributing agent spend across a team — per person, key and model — to find which behaviors (retries, oversized tools, uncached prefixes) are burning the budget
- Building a production agent in TypeScript with a per-agent token bill and eval-gated context plans through the Agent SDK
- Running compression on-prem where the control plane must not receive prompt bytes
When not to use it
Skip it when you need savings you can reconcile against a provider invoice or an unmodified prompt payload: the free local run reports token reductions estimated locally rather than measured against a bill, the compression is lossy-with-recovery on the way out, and only the skill and browser extension are MIT — the Engine and proxy runtime are BSL-1.1, so it is not a drop-in for policies that require OSI-approved open source.
FAQ
Is Caveman open source?
Partly. The skill and the browser extension are MIT. The Caveman Engine and the proxy runtime are BSL-1.1, which is source-available rather than OSI-approved open source. Treat the free skill as open source and the compression engine as a source-available commercial component.
What does Caveman cost?
Free is $0 and covers the local wrap plus the MIT skill, with an account optional. Indie is $29/month for one seat with the hosted gateway and 2,900 monthly credits. Team is $349/month for 10 seats and 34,900 credits, with $29 per additional seat. Enterprise is a custom committed contract with SSO and on-prem deployment.
Do my prompts leave my machine?
Not for the local wrap — it compresses with no account and no Caveman gateway telemetry. On the hosted tiers, telemetry is token counts only, never prompts. The Enterprise on-prem option states that the Caveman control plane receives no prompt bytes and enforces zero data retention at write time; note that your upstream LLM provider still receives the prompt unless the model endpoint is also private.
How much does it actually save?
Caveman's own pinned benchmarks report 33.2% fewer provider-reported input tokens through the proxy in a Claude Code benchmark, and around 65% fewer output tokens from the skill, with a 22-87% range across sample tasks. The project's own repo notes that whole-session savings run smaller once input tokens and skill overhead are counted, and the free local run infers its token reductions locally rather than measuring them against a provider bill.
Share this launch
Embed this badge
<a href="https://orangebot.ai/product/caveman" target="_blank" rel="noopener noreferrer"> <img src="https://orangebot.ai/api/badge/caveman.svg" alt="Featured on OrangeBot" width="200" height="54" /> </a>