Skip to content

CLI commands

Run agent-platform <command> --help for every flag. Setup: Install & sign in.

Command What it does
init Wizard that writes agent.yaml: your own code, or a no-code assistant (model, instructions, catalog tools, keys). Asks for the platform URL and token, and can deploy straight away.
validate [FILE] Check a config without deploying.
deploy [FILE] Deploy. --dry-run (plan only), --watch, --template NAME, --set key=value, --account NAME|ID, --yes, --local-build (Docker on your machine). Runs a health check afterwards.
status [DEPLOYMENT_ID] Deployment status. --agent, --json, --watch.
list All deployments. --cloud, --status, --json, --limit.
logs [DEPLOYMENT_ID] Logs. --follow, --since, --level, --limit, --search.
scale [DEPLOYMENT_ID] [REPLICAS] Scale a deployment.
rollback AGENT Roll back to one of the last 5 working versions. --to N, -y.
destroy [DEPLOYMENT_ID] Tear down. --agent, --force.
Command What it does
accounts add / accounts list Add or list cloud accounts (AWS keys, GCP, Azure, on-prem).
accounts connect Connect your own AWS account with an IAM role (BYOC). --name, --region, --role-arn, --yes.
secrets set [AGENT] [KEY] Set a secret from a hidden prompt or stdin — also before the first deploy.
secrets list [AGENT] / secrets delete [AGENT] [KEY] List names / delete.
gateway keys set PROVIDER / gateway keys list Store provider keys for the LLM gateway (openai, anthropic, gemini); show keys and spend.
Command What it does
chat [ASSISTANT|URL] Chat in the terminal. -m "..." for one message, --key for ASSISTANT_API_KEY; /reset, /exit. Asks before tools that need approval.
tools [ID] List the tool catalog and your saved tools, or show what one needs / its YAML.
mcp [NAME|URL] Check an assistant’s or hosted server’s /mcp, list its tools, print the client config. --key.
links AGENT Agent-to-agent connections: who it calls, who may call it, traffic. --allow EMAIL [--from-agent NAME], --revoke ID.
Command What it does
team / team add EMAIL --role viewer|deployer / team remove EMAIL Share your workspace.
audit Who did what. --action, --limit, --json.
billing Plan, usage and limits. --upgrade pro|team, --manage.
signup / login Create an account / log in.

Config lives in ~/.agent-platform/config.json; AGENT_PLATFORM_API_URL and AGENT_PLATFORM_TOKEN override it.