aoa run
One-command bootstrap and start:
- Auto-onboards if config is missing
- Runs
aoa doctorwith repair enabled - Starts the server when checks pass
aoa onboard
Interactive first-time setup:
Quickstart(recommended): local defaults (embedded database, no LLM provider, local disk storage, default secrets)Advanced setup: full interactive configuration
aoa doctor
Health checks with optional auto-repair:
- Server configuration
- Database connectivity
- Secrets adapter configuration
- Storage configuration
- Missing key files
aoa configure
Update configuration sections:
aoa env
Show resolved environment configuration:
aoa allowed-hostname
Allow a private hostname for authenticated/private mode:
Local Storage Paths
Override with:
--data-dir directly on any command:
aoa db:backup
Create a one-off database backup using the current config:
Example — backup to a custom directory and print JSON metadata:
~/.aoa/instances/default/data/backups. The connection string is resolved from DATABASE_URL env var, then config.database.connectionString, then the embedded-postgres default.
aoa auth bootstrap-ceo
Generate a one-time invite URL for the first instance admin (authenticated deployment mode only):
The command is a no-op in
local_trusted deployment mode — it prints an info message and exits. In authenticated mode it revokes any existing un-accepted bootstrap invite before issuing a new one.
Example — create an invite that expires in 24 hours:
aoa heartbeat run
Run one agent heartbeat and stream live logs. Full reference is in Control-plane commands; the essential form is:
--source (timer | assignment | on_demand | automation, default on_demand), --trigger (manual | ping | callback | system, default manual), --timeout-ms <ms>, --debug (show raw stdout/stderr JSON chunks), --json.