Global Options

comobot --version, -v

Show current version

comobot --help

Show help information

Command Overview

Command Description
comobot onboardInitialize config and workspace
comobot agentInteractive agent chat
comobot gatewayStart gateway (API + Web + Channels)
comobot gateway restartRestart gateway (background)
comobot channels statusShow channel status
comobot channels loginLink device via QR code
comobot statusShow comobot status
comobot updateAuto-update to latest version
comobot uninstallUninstall comobot
comobot statsShow GitHub Release download stats
comobot provider loginOAuth login for LLM providers

Command Details

comobot onboard

Initialize comobot configuration and workspace.

comobot onboard
  • Creates ~/.comobot/config.json (option to overwrite or refresh if exists)
  • Creates ~/.comobot/workspace/ and syncs templates
  • Prompts to configure API key after completion

comobot agent

Chat with the agent interactively or send a single message.

comobot agent                        # Interactive chat
comobot agent -m "Hello!"           # Send a single message
comobot agent -s "my-session"       # Specify session ID
comobot agent --no-markdown         # Disable Markdown rendering
comobot agent --logs                # Show runtime logs
OptionDescription
-m, --messageSend a single message (non-interactive)
-s, --sessionSession ID (default cli:direct)
--markdown / --no-markdownToggle Markdown rendering (default on)
--logs / --no-logsToggle runtime log display

comobot gateway

Start the comobot gateway with FastAPI, Web console, and channel connections.

comobot gateway                     # Default port 18790
comobot gateway -p 8080             # Custom port
comobot gateway -v                  # Verbose logging
OptionDescription
-p, --portGateway port (default 18790)
-v, --verboseVerbose log output

Automatically opens the Web console at http://localhost:<port>.

comobot gateway restart

Restart the gateway process (stops old process, starts new one in background).

comobot gateway restart
comobot gateway restart -p 8080 -v

comobot channels status

View enable status and configuration for all channels.

comobot channels status

Displays status for WhatsApp, Discord, Feishu, Telegram, Slack, DingTalk, QQ, WeChat, Matrix, Email, and more.

comobot channels login

Link a device via QR code.

comobot channels login              # Default: WhatsApp
comobot channels login whatsapp
comobot channels login wechat

comobot status

View comobot configuration and runtime status.

comobot status
  • Config file path and existence
  • Workspace path and existence
  • Current model
  • API key status for each LLM provider

comobot update

Auto-detect installation method and update to the latest version.

comobot update                      # Interactive confirmation
comobot update -y                   # Skip confirmation
OptionDescription
-y, --yesSkip confirmation prompt

Auto-detected installation methods:

MethodDetectionUpdate Strategy
DockerDetects /.dockerenv or cgroupdocker pull
BinaryPyInstaller runtime or ~/.comobot/bin/Download from GitHub Releases
pipNone of the abovepip install --upgrade

Supported platforms: macOS (arm64/x64), Linux (arm64/x64), Windows (x64).

comobot uninstall

Uninstall comobot from this machine.

comobot uninstall                   # Remove binary and PATH only
comobot uninstall --all             # Also remove all data
comobot uninstall -y                # Skip confirmation
OptionDescription
--allAlso delete all data under ~/.comobot/
-y, --yesSkip confirmation prompt

comobot stats

Show GitHub Release download statistics.

comobot stats

comobot provider login

Authenticate with an LLM provider via OAuth.

comobot provider login openai-codex
comobot provider login github-copilot

Supported OAuth providers:

  • openai-codex β€” OpenAI Codex (via oauth-cli-kit)
  • github-copilot β€” GitHub Copilot (device authorization flow)