Capx Casa / Open source

Build the company.
Run it from your terminal.

Casa builds the company brief, product diagrams, roadmap, task plan and agent mandates, then routes operating work to specialists and reviews the output. The company brain stays current in your files. It runs inside the agent CLI you already use, on your own plan.

STATUS

Public install · MIT licensed · Local-first · v0.3.0 · Zero runtime dependencies

Capx CasaCASA / SIGNATURE VIEW
CASA / PHASE 0COMPANY PACKAGE
company-brain/YOUR FILES. ONE CONTEXT.
01 / GROUNDWORKEvidence
comes first.

Research, assumptions and decisions shape the company brief.

Company brief
02 / BUILD THE PACKAGE
01
ProductArchitecture · flow · data model
02
DirectionRoadmap · 90-day plan
03
OwnershipOrg chart · agent mandates
REVIEWED COMPANY CONTEXT
WebsiteTHE PRODUCT
One-pagerTHE COMPANY
Pitch deckTHE STORY
BUILD LOCALLY. REVIEW. PUBLISH.Publication is optional.
183PlaybooksCompany work as executable contracts, levels 0 to 8
11DepartmentsOne constraint-led global ranking
14OperatorsPlus a standing panel of specialist critics
26SkillsFrom /casa-start to /casa-readout
01

From evidence to company face

Phase 0 connects the company brief to its product diagrams, operating plan, agent roster and public collateral. Existing companies fill missing foundations without resetting their stage.

CASA / PHASE 0COMPANY PACKAGE
company-brain/YOUR FILES. ONE CONTEXT.
01 / GROUNDWORKEvidence
comes first.

Research, assumptions and decisions shape the company brief.

Company brief
02 / BUILD THE PACKAGE
01
ProductArchitecture · flow · data model
02
DirectionRoadmap · 90-day plan
03
OwnershipOrg chart · agent mandates
REVIEWED COMPANY CONTEXT
WebsiteTHE PRODUCT
One-pagerTHE COMPANY
Pitch deckTHE STORY
BUILD LOCALLY. REVIEW. PUBLISH.Publication is optional.
02

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.jsonCOMPANY IDENTITY
STATEREAD
state.jsonCURRENT 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

03

The company brain is yours

CASA / FILE CONTRACTThe company is readable in files
  1. STATE

    company-brain/

    NOW.md, profile.json, state.json, build-map.json, dials.json, ledger.jsonl and decisions/.

  2. ARTIFACTS

    outputs/phase0-*/

    Markdown brief; Mermaid diagrams; roadmap, agents and task-plan JSON; HTML site, one-pager and deck.

  3. PROJECTIONS

    face.json + attest/

    The authored company face and signed CAF record are separate projections of local material.

Optional capx-bind.json records the connection. Private signing keys belong outside the company brain and must never be published with it.

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/ Brief, diagrams, roadmap, agent mandates, plan and collateral

face.json Company-authored public presentation, built from local artifacts

attest/ Signed CAF projection, separate from the company face

Human gates that hold

Departments run on autonomy dials: auto for reversible work, approve-first where you want a look. Action-level hard gates cover spending money, going public, merging to main and destructive changes, whatever the dials say. 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. The public repository also includes an optional hosted integration. Initial binding is go-public consent; a guarded session hook can send new work and an existing face for a bound company. Review that continuing behavior before connecting.

04

Runs where you already work

WORKS WITHClaude CodeCodexGrok BuildOpenClawHermesGemini CLICursorOpenCodeCopilot CLI

Claude Code is the reference experience with native hooks and gates. Other harnesses follow the operating contract and call the same engine, with hooks depending on the harness: Node 20 or later, zero runtime dependencies.

05

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.