caveman-code
Frozen — terminal coding agent measured at 1.93× fewer tokens than Codex CLI. Still works; active development moved to JuliusBrussee/caveman (caveman wrap).
MCP Agents Market is an independent directory. We are not affiliated with JuliusBrussee or caveman-code, and we do not host or distribute it. All links point to the official GitHub repository.
Caveman Code is a terminal-based AI coding agent that achieves approximately 1.93× fewer tokens than comparable tools through aggressive compression techniques while maintaining similar task performance. The agent uses a four-layer token compression system (Caveman Mode for terse responses, tool output budgets, read deduplication, and optional RTK integration) that reduces costs by 67-94% on tool outputs. It supports autonomous goal loops, plan mode for read-only exploration, multi-provider OAuth (20+ providers), MCP integration, and can spawn parallel sub-agents for complex tasks. Development has moved to the caveman wrapper project, though this package remains functional.
Key Features
Use Cases
- 01Reducing AI API costs on long coding sessions through aggressive token compression
- 02Running autonomous coding workflows with budget caps and automatic checkpointing
- 03Exploring codebases in read-only plan mode before making changes
- 04Spawning parallel sub-agents to tackle different parts of a large refactoring task
- 05Using cheaper fast models for execution while reserving expensive models for architectural decisions
- 06Migrating from Claude Code or other agents while preserving existing configurations and skills
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
caveman-code — FAQ
What is Caveman Code?+
Caveman Code is a terminal-based AI coding agent that uses four-layer token compression to achieve approximately 1.93× fewer tokens than Codex CLI on the same tasks. It's currently frozen with active development moved to the caveman wrapper project, but remains fully functional.
How do I install Caveman Code?+
Install globally via npm with 'npm install -g @juliusbrussee/caveman-code', then set your provider API key (e.g. ANTHROPIC_API_KEY) or use OAuth with 'caveman' then '/login'. The package installs 'caveman' and 'caveman-code' binaries.
Which AI clients does Caveman Code work with?+
Caveman Code is a standalone terminal agent, not a plugin for other clients. It supports 20+ providers including Anthropic, OpenAI, Azure, Vertex, Bedrock, Mistral, Groq, xAI, and OAuth flows for Claude Pro, ChatGPT Plus, GitHub Copilot, and Gemini.
Do I need API keys to use Caveman Code?+
You can either use API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.) or authenticate via OAuth with subscriptions you already have (Claude Pro/Max, ChatGPT Plus/Pro, GitHub Copilot, Google Gemini). At least one authentication method is required.
Is Caveman Code free and open source?+
Yes, Caveman Code is MIT licensed and open source. However, you'll incur costs from your chosen AI provider (API usage or subscription). The token compression helps reduce those API costs significantly.
What's the difference between Caveman Code and the new caveman wrapper?+
Caveman Code is a standalone agent frozen in August 2026. Active development moved to 'caveman wrap', which applies token compression to existing agents rather than replacing them. The two packages conflict (same binary name), so uninstall one before installing the other.
How do I install caveman-code?+
Open the source repository on GitHub and follow its README. caveman-code is a agent — MCP Agents Market links you directly to the official repo.
Is caveman-code free?+
caveman-code is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.