---
title: "Caveman Code: Desktop, CLI, Web, and Mobile Coding Agent"
description: Run Harness v4 alongside Claude Agent, Codex, Cursor, Pi, OpenCode, and ACP coding agents on one structured transcript, locally or on persistent Cloud computers.
canonical: https://docs.caveman.so/code
product: Caveman Code
group: Caveman 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](/agent/harness) 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](/agent). Looking to deploy unattended agents on Caveman Cloud? Start at [Templates & Quick Setups](/templates).

## Install the CLI

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

Expected `--help` output:

```text
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](/code/cloud-computers).
- **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:

| Plan | Monthly | Annual (20% off) | Included credits | Cloud computers & Drives |
| --- | --- | --- | --- | --- |
| **Free** | \$0 | \$0 | Free allowance | Unlimited 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 / month | 10 kept up to `4x16`, 10 GB Drive |
| **Pro \$60** | \$60 / month | \$576 / year | \$42 / month | 20 kept up to `8x32`, 25 GB Drive |
| **Max \$100** | \$100 / month | \$960 / year | \$70 / month | 30 kept up to `16x64`, 50 GB Drive |
| **Max \$200** | \$200 / month | \$1,920 / year | \$140 / month | 40 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](/governance/billing) for Cloud workspace plans, Firecracker sandbox, harness, and Drive rates.

## Explore Caveman Code

- [CLI & Local Daemon](/code/cli): Install `@caveman-ai/code`, run `caveman-code chat`, manage workspaces, and inspect traces.
- [Cloud Computers & Sync](/code/cloud-computers): Hand long builds off to persistent Firecracker computers where credentials stay outside the VM.
- [MCP Servers & Plugins](/code/mcp-and-plugins): Isolated stdio MCP servers (`inheritEnv: false`), workspace plugins, and lazy-loaded skills.
- [Harness v4 Engine](/agent/harness): Explore the open-source model-native harness underneath Caveman Code.
