Docs

How Captain Code fits together.

Three processes and a directory of files. The brain holds policy. The terminal asks. The runtimes answer.

At a glance

 terminal
    │  POST /v1/route
    ▼
 captain brain  (Go, loopback)
    │  director → value ranking → dispatch
    ├─ opencode serve
    ├─ claude -p / codex exec / cursor-agent -p
    ▼
 ~/.captaincode/   ledger · logs · overlay · priors

The public documentation mirrors the published tree. Source, issues, and pull requests: github.com/lemma-ventures/captaincode. Licensing and contribution rules are on the open source page.