Skip to main content

CLI command reference

Agent and runtime

CommandDescription
chatInteractive REPL (default)
tuiRich terminal UI with provider picker
serveLocal API on port 3000
webWeb UI + gateway stack
doctorHealth check

Configuration

CommandDescription
setupFirst-run wizard
configconfig.yaml and .env management
modelLLM provider and model
toolsToolsets and per-tool toggles
credentialsAPI key pools and OAuth device login
memoryMemory backends
profileIsolated install profiles (whole CARINA_HOME)
agentsNamed agent workspaces + channel routing (OpenClaw-style)
secretsRedacted .env listing

Gateway and channels

CommandDescription
gatewayGateway status and control
channelsList and configure channels
whatsappBaileys pairing
pairingDevice pairing codes

Operations

CommandDescription
opsSandbox containers, DNS/Tailscale, debug proxy, backup, secrets reload, audit
cronScheduled jobs
checkpointFilesystem snapshots
backupBackup ~/.carina (manifest + verify)
ragVector knowledge search
sessionsSession index
logsLog tail
scoutLabyrinth Scout integration
securitySecurity audit (same checks as ops audit)
migrateImport from Hermes/OpenClaw

carina commitments (inferred follow-ups)

OpenClaw-style short-lived follow-up memories. Opt in with CARINA_COMMITMENTS_ENABLED=true.

Subcommand / flagDescription
commitments / listList pending commitments
commitments --allInclude sent, dismissed, expired
commitments --agent <id>Filter by agent workspace
commitments --status <status>pending, sent, dismissed, snoozed, expired
commitments dismiss <id...>Dismiss one or more commitments
--jsonMachine-readable output

After each agent reply, Carina may run a background extraction pass (heuristic by default; set CARINA_COMMITMENTS_LLM=true for LLM extraction). Due check-ins deliver on the same channel/session where they were inferred.

carina host (Node gateway service)

SubcommandDescription
host statusPID, uptime, agents, paired devices, channels, cron
host installWrite ~/.config/systemd/user/carina-gateway.service
host uninstallRemove systemd unit and PID file
host systemdPrint unit file to stdout
host pidRefresh ~/.carina/run/carina-gateway.pid

carina pairing (device tokens)

SubcommandDescription
pairing statusPending code and paired device list
pairing codeCreate a 15-minute pairing code
pairing devicesList paired devices
pairing revoke <id>Revoke a device token

Mobile clients claim codes via POST /api/pairing/claim and receive a cdv_* bearer token. The web Control Center at /control shows host metrics, paired devices, pairing, and secrets reload alongside the Scout security dashboard.

carina ops subcommands

SubcommandDescription
ops sandboxList/create/exec/stop Docker sandbox containers
ops dns lookupStandard DNS lookup (A/AAAA/CNAME/TXT)
ops dns tailscaleTailscale peer list and MagicDNS suffix
ops dns resolveResolve via Tailscale peers then DNS
ops proxy startHTTP debug proxy in front of the gateway
ops backup verifySHA256 manifest verification
ops secrets reloadReload .env and credential pools (--notify hits gateway)
ops auditFull security posture report (--json)

Run carina <command> --help or carina help <command> for usage strings.