Skip to content

CLI / TUI

The corp CLI provides both a rich terminal user interface (TUI) and headless commands for scripted workflows.

Terminal window
uvx corp
Terminal window
corp setup # Run the setup wizard
corp # Launch the TUI

Running corp with no arguments opens the interactive TUI built with Textual.

The TUI organizes functionality into tabbed panes:

PaneDescription
EntitiesView and manage legal entities
Cap TableEquity ownership breakdown by entity
DocumentsFormation docs, contracts, tax filings
GovernanceBoard meetings, votes, resolutions
AgentsCreate and manage autonomous agents
BillingInvoices, payments, and financial overview
ObligationsHuman-required actions with urgency tiers
ContactsPeople and organizations
ChatLLM chat with full corporate context
SettingsAPI keys, workspace config, LLM provider
KeyAction
Ctrl+KCommand palette
TabNext pane
Shift+TabPrevious pane
Ctrl+QQuit

In the Chat pane, use slash commands for quick actions:

  • /form — Form a new entity
  • /hire — Onboard a new hire
  • /equity — Issue equity

For CI/CD and scripting, use commands directly. Every operation available in the TUI or via MCP has a corresponding CLI command.

Terminal window
corp status # Workspace summary
corp config list # Show all config
corp config set llm.model claude-sonnet-4-6
corp obligations # List human-required actions
corp obligations --json # Machine-readable output
corp digest # View daily digest
corp digest --trigger # Trigger digest now
Terminal window
corp entities show # List all entities
corp entities show ENT_ID # Entity detail
corp entities convert ENT_ID --to c_corp # Convert LLC → C-Corp
corp entities dissolve ENT_ID # Start dissolution
corp form # Interactive entity formation
Terminal window
corp cap-table show ENT_ID # View cap table
corp cap-table issue-equity ENT_ID --type common --shares 10000000 --recipient "Jane Smith"
corp cap-table issue-safe ENT_ID --investor "Acme Fund" --amount 500000 --cap 10000000
corp cap-table transfer ENT_ID --from "Jane" --to "Bob" --shares 1000
corp cap-table safes ENT_ID # List SAFEs
corp cap-table valuations ENT_ID # View 409A history
corp cap-table distribute ENT_ID --method pro_rata --amount 100000
Terminal window
corp finance invoice ENT_ID --to "Client Co" --amount 5000 --description "Consulting"
corp finance payroll ENT_ID --period 2026-01
corp finance pay ENT_ID --to "Vendor" --amount 1200 --method ach
corp finance open-account ENT_ID # Open bank account (auto-KYB)
corp finance classify-contractor ENT_ID --name "Alex" --role "Designer"
corp finance reconcile ENT_ID --period 2026-01
Terminal window
corp governance seats ENT_ID # List board seats
corp governance meetings ENT_ID # List meetings
corp governance convene ENT_ID --type board --agenda "Approve budget"
corp governance vote MEETING_ID --item 1 --decision approve
corp governance resolutions ENT_ID # List resolutions
Terminal window
corp documents show ENT_ID # List documents
corp documents sign DOC_ID --signer "Jane Smith" --role member
corp documents generate ENT_ID --template nda --counterparty "Acme Corp"
Terminal window
corp tax file ENT_ID --type 1099_nec --year 2025
corp tax deadline ENT_ID --type annual_report
Terminal window
corp contacts show # List all contacts
corp contacts add --name "Jane Smith" --email [email protected] --role founder
corp contacts edit CONTACT_ID --phone "+1-555-0123"
Terminal window
corp agents show # List agents
corp agents create --name "Invoice Bot" --prompt "Process invoices" --model claude-sonnet-4-6
corp agents message AGENT_ID "Process all outstanding invoices"
corp agents pause AGENT_ID
corp agents resume AGENT_ID
corp agents skill AGENT_ID --add invoicing
corp agents delete AGENT_ID
Terminal window
corp link # Generate workspace claim code
corp claim CODE # Redeem claim code on new device
corp approvals # List pending approvals
corp approvals approve ID # Approve a pending action
corp approvals reject ID # Reject a pending action
corp billing # Billing status
corp api-keys # List API keys

See the full Command Reference for all options and flags.