Skip to content

Scale, roll back, destroy

Terminal window
agent-platform list # all deployments (--cloud, --status, --json, --limit)
agent-platform status <deployment-id> # or --agent my-agent; --watch to follow
Terminal window
agent-platform scale <deployment-id> 3

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.

Terminal window
agent-platform rollback my-agent # lists versions, asks which, shows what changes
agent-platform rollback my-agent --to 6 -y # non-interactive

Rolling 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.

Terminal window
agent-platform destroy <deployment-id> # or --agent my-agent; --force skips the confirmation

Destroy 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.