Skip to main content

CommB CLI Reference

When installing CommB via pip install commb or developing locally, the commb executable command is available in your shell.


Commands​

commb start​

Starts the CommB FastAPI / Uvicorn server.

commb start [OPTIONS]

Options​

OptionFlagDescriptionDefault
--port-pPort number to bind the server8422 (or $PORT)
--host-HHost IP address to bind0.0.0.0 (or $HOST)
--db-url—Custom async Database connection stringsqlite+aiosqlite:///./commb.db
--workers-wNumber of worker processes (production)1
--reload—Enable hot code reloading for developmentFalse

Examples​

# Start on default port 8422 with local SQLite database
commb start

# Run in development mode with auto-reload
commb start --reload

# Start on custom port with remote PostgreSQL instance
commb start -p 8080 --db-url "postgresql+asyncpg://commb_user:secret@db.internal:5432/commb_prod"

commb doctor​

Runs preflight health checks and system diagnostics.

commb doctor

What It Checks​

  1. Database Connectivity: Validates dialect formatting (asyncpg / aiosqlite) and runs schema migrations.
  2. LLM Provider API: Tests active model generation (Gemini, OpenAI, or Claude).
  3. Omnichannel Credentials: Validates WhatsApp Cloud API, Telegram Bot token, and Webhook secret keys.
  4. Payment Gateways: Checks Paystack and Stripe secret keys.
  5. AgentOS Remote Telemetry: Verifies connection with CommB Cloud ingestion endpoints.

commb version​

Displays the currently installed CommB platform release version.

commb version
# Output: CommB Platform v0.1.0