Caveman cuts AI coding agent tokens by 33%+ with condensed replies and smart tool-output compression. No quality loss. 120K+ stars.
By Meng Li
Published: 2026-11-24
URL: https://pythonlibraries.substack.com/p/open-source-project-cuts-ai-coding

This project does one thing for AI coding agents (Claude Code, Codex, Gemini CLI, OpenCode, etc.): it makes the agent talk less and read less, without lowering code quality or answer accuracy.
It has already passed 120,000 stars, has been cited by Adobe Research, A/B tested by JetBrains, and adapted by Elastic into an Elasticsearch version. After looking at it, ThePrimeagen said: “No way this actually works.”
Today, let’s break down what it actually does.