Skip to main content

AICB CLI Reference

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


Commands

aicb start

Starts the AICB FastAPI / Uvicorn server.

aicb 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-urlCustom async Database connection stringsqlite+aiosqlite:///./aicb.db
--workers-wNumber of worker processes (production)1
--reloadEnable hot code reloading for developmentFalse

Examples

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

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

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

aicb doctor

Runs preflight health checks and system diagnostics.

aicb 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 Sannex AgentOS ingestion endpoints.

aicb version

Displays the currently installed AICB platform release version.

aicb version
# Output: AICB Platform v0.1.0