Scale, roll back, destroy
Status and list
Section titled “Status and list”agent-platform list # all deployments (--cloud, --status, --json, --limit)agent-platform status <deployment-id> # or --agent my-agent; --watch to followagent-platform scale <deployment-id> 3Versions and rollback
Section titled “Versions and rollback”Every deploy saves a numbered version: the exact config it ran (built image, env vars, resources) and a snapshot of its secret values. The last 5 versions that ran successfully are kept.
agent-platform rollback my-agent # lists versions, asks which, shows what changesagent-platform rollback my-agent --to 6 -y # non-interactiveRolling back to #6 restores #6’s secrets, redeploys #6’s image and env, and records the result as a new version (“rollback of #6”), so you can roll forward again. In the dashboard, the deployment page lists versions with a Roll back to this button. A failed deploy never rolls back on its own.
Limits: an agent that was destroyed lost its registry, so its old versions can’t be redeployed. Assistants get their config, env and secrets restored but run the current assistant runtime.
Destroy
Section titled “Destroy”agent-platform destroy <deployment-id> # or --agent my-agent; --force skips the confirmationDestroy removes the service, its IAM role, image registry, cloud secrets and log group. Destroying an agent’s last deployment also deletes its saved versions and their secret snapshots.