Skip to content

Caveman Code· Open sourceCaveman Code

Caveman Code: Desktop, CLI, Web, and Mobile Coding Agent

Run Harness v4 alongside Claude Agent, Codex, Cursor, Pi, OpenCode, and ACP coding agents on one structured transcript, locally or on persistent Cloud computers.

Caveman Code (caveman-ai/caveman-code, Apache-2.0) is a coding agent client for Desktop, CLI, Web, and Mobile. It runs the open-source Harness v4 engine alongside first-class adapters for Claude Agent, Codex, Cursor, Pi, OpenCode, and ACP agents, all on one structured transcript.

Building a custom non-interactive agent in TypeScript? Use Caveman Agent SDK. Looking to deploy unattended agents on Caveman Cloud? Start at Templates & Quick Setups.

Install the CLI#

npm install -g @caveman-ai/code
caveman-code --help
caveman-code chat

Expected --help output:

caveman-code 1.0.0 - Caveman Code CLI (shared runtime with Desktop)

Usage: caveman-code <command> [options]

Commands:
chat Start or attach to an interactive coding session
server Manage the local Caveman Code daemon
project List or open workspaces
auth Inspect or connect model providers & Caveman Cloud
mcp Inspect configured MCP servers
automation Run or inspect .caveman/automations workflows
trace Inspect session traces and usage
config Read or update Caveman Code configuration

How Caveman Code works#

  • One structured transcript across engines. Tool calls, file diffs, approvals, subagents, and token usage render as typed events rather than scraped terminal text, whether the turn runs on Caveman Harness v4, Claude Agent, Codex, Cursor, Pi, OpenCode, or an ACP adapter.
  • One local daemon shared by Desktop and CLI. Workspaces, git worktrees, approval rules, MCP servers, and session journals live in one local daemon. Start a task in caveman-code chat, then inspect diffs or answer approvals in Desktop without switching context.
  • Local first, Cloud optional. Interactive chats stay on your machine using your own subscriptions and keys unless you enable sync or launch a Cloud Computer.
  • Isolated workspaces and worktrees. Run multiple agents in parallel across separate git worktrees with native GitHub, GitLab, Bitbucket, Azure DevOps, and Forgejo pull-request and diff integrations.

Plans and pricing#

Caveman Code is unlimited locally with your own provider subscriptions or API keys. Hosted plans add included usage across models, Cloud computers, and Drives:

PlanMonthlyAnnual (20% off)Included creditsCloud computers & Drives
Free$0$0Free allowanceUnlimited on your own subscriptions/keys; 30 free Caveman requests/day; 1 kept 2x8 computer (8 GiB awake), 1 GB Drive
Pro$20 / month$192 / year$14 / month10 kept up to 4x16, 10 GB Drive
Pro $60$60 / month$576 / year$42 / month20 kept up to 8x32, 25 GB Drive
Max $100$100 / month$960 / year$70 / month30 kept up to 16x64, 50 GB Drive
Max $200$200 / month$1,920 / year$140 / month40 kept up to 16x64, 100 GB Drive

Pay-as-you-go credit top-ups carry a 5.5% + $0.30 card processing fee and 0% markup on model token prices. See Billing for Cloud workspace plans, Firecracker sandbox, harness, and Drive rates.

Explore Caveman Code#

CLI & Local Daemon

Install @caveman-ai/code, run caveman-code chat, manage workspaces, and inspect traces.

Cloud Computers & Sync

Hand long builds off to persistent Firecracker computers where credentials stay outside the VM.

MCP Servers & Plugins

Isolated stdio MCP servers (inheritEnv: false), workspace plugins, and lazy-loaded skills.

Harness v4 Engine

Explore the open-source model-native harness underneath Caveman Code.

Esc

Start here