Capx Casa / Open source

The control plane for agent-run companies.

Casa turns company context into an ordered operating plan, routes work to specialist operators, reviews the output, and keeps the company brain current under human control. It runs inside the agent CLI you already use, on your own plan.

STATUS

Public install · MIT licensed · Local-first · 281 passing tests · Zero runtime dependencies

Capx CasaCASA / SIGNATURE VIEW
CASA 00CONSTRAINT COCKPITEXAMPLE COMPANY · INBOXPILOT
COMPANY STATELEVEL 0
IDEATION / VALIDATION
03READY NODES
BINDING CONSTRAINT
11k users

Highest company-level urgency

COMPANY LEVELDRIVES GLOBAL ORDER
RANKED READY SETONE GLOBAL ORDER
01
NEXT MOVE / GROWTHProblem validation interviews

Founder approval required

02
Market sizingSTRATEGY
03
Competitive teardownSTRATEGY
174 playbooks mappedHuman gates activeLocal brain loaded
174PlaybooksCompany work as executable contracts, levels 0 to 8
11DepartmentsOne constraint-led global ranking
14OperatorsPlus a standing panel of specialist critics
26CommandsFrom /casa-start to /casa-readout
01

One session, end to end

Every session opens on the company, not the chat. Casa reads the brain, names the binding constraint, and ranks what is ready. The walkthrough below is a demo company with synthetic numbers.

DEMO COMPANY · INBOXPILOTFICTIONAL INTERFACE · SYNTHETIC DATA
SESSION 01 · STEP 01

Read the brain

LOCAL STATE LOADEDSYNTHETIC DATA
COMPANY BRAIN
company-brain/LOCAL · FOUNDER OWNED
PROFILEREAD
profile.mdCOMPANY IDENTITY
STATEREAD
state.mdCURRENT LEVEL
LEDGERREAD
ledger.jsonlSESSION MEMORY
COMPANY SNAPSHOTPROFILE + STATE
DEMO COMPANYInboxPilot

Email triage SaaS

LEVEL
0
PHASE
Ideation + validation
STATE
Brain loaded
READY SET
03

PLAYBOOKS READY

RANK NEXT
SESSION 0101 / 06
01

Read

Profile, state, pulse, constraint

02

Route

Ready playbooks and dependencies

03

Produce

Specialist operator and artifact

04

Review

Rubric, evidence, and critique

05

Approve

Human gate where required

06

Compound

Brain, ledger, decisions, next move

02

The company brain is yours

inboxpilot/company-brainLOCAL · GIT-READABLE
CANONICAL STATEcompany-brain/One deterministic writer
01
NOW.mdSESSION VIEW
02
profile.jsonCOMPANY IDENTITY
03
build-map.jsonPLAN OF RECORD
04
state.jsonPROGRESS
05
ledger.jsonlAPPEND-ONLY EVENTS
06
dials.jsonAUTONOMY
DERIVED VIEWNOW.md
Level
0 · validation
Constraint
No users yet
Next
Interview buyers
Gate
Founder approval

Rendered from canonical files. Read at the next session start.

MARKDOWNJSONJSONL

Portable memory, not a hidden model state.

Plain files in your git

NOW.md The company on one page, rendered from state

profile.json What the business is and where it stands

build-map.json The applicable playbook graph

ledger.jsonl Append-only record of work and approvals

decisions/ Dated decisions that supersede, never overwrite

outputs/ Real artifacts, including the Phase 0 site, one-pager, and deck

Human gates that hold

Departments run on autonomy dials: auto for reversible work, approve-first where you want a look. Four actions always stop for the founder, whatever the dials say: spending money, publishing, shipping code, and destructive changes. Approvals land in an append-only ledger.

A company can also exist with no token at all. Attaching one later never changes its identity, history, or URL.

Attestation is local: keygen, attest, sign, check, all offline. caf check is a self-check, not a verdict. Passing means the record is internally coherent and structurally legal. It does not mean the record is true. Publishing anywhere is always an explicit, separate act.

03

Runs where you already work

WORKS WITHClaude CodeCodexGrok BuildOpenClawHermesGemini CLICursorOpenCodeCopilot CLI

Claude Code is the reference experience with native hooks and gates. Everywhere else, gates surface as visible confirmation prompts and the deterministic engine behaves identically: Node 20 or later, zero runtime dependencies.

04

Open where trust is load-bearing

Install
1/plugin marketplace add https://github.com/Capx-AI/casa2/plugin install capx-casa3/casa-start
Contribute

MIT licensed with the full engine, playbooks, agents, and tests in the open. Read the source, open an issue, or propose a playbook.