CLI Reference
Global Flags
| Flag | Description | Example |
|---|---|---|
--profile | Select runtime profile | aios --profile prod infra cluster status |
--output | Set output format | aios --output json agent run list |
--help | Show help | aios infra --help |
--version | Show version | aios --version |
Infrastructure Commands
| Command | Description | Example |
|---|---|---|
infra cluster up | Create/adopt cluster | aios infra cluster up |
infra app deploy | Deploy application | aios infra app deploy my-api --namespace dev-ai --replicas 2 |
infra app logs | Stream app logs | aios infra app logs my-api --follow |
Agent Commands
| Command | Description | Example |
|---|---|---|
agent tool add | Register tool adapter | aios agent tool add codex --token $CODEX_TOKEN |
agent run | Submit task run | aios agent run --tool codex --task "Add API tests" |
agent run list | List recent runs | aios agent run list --limit 20 |
agent run logs | Fetch run logs | aios agent run logs <run-id> |