Managing your agents
Once an agent is deployed it runs continuously until you pause or delete it. Use the ast agent commands to manage it over its lifetime.
Inspect
List all agents in the active account:
Get full details for a specific agent:
Agent names are the display names set at deploy time. If two deployments share a name, pass --id <deployment-id> on commands that support it to target one unambiguously.
Observe
Fetch recent logs from the agent container:
Stream logs continuously as they arrive:
To fetch logs from the messaging sidecar instead:
Control
Pause an agent to stop it from handling requests without deleting it:
Resume it when ready:
Restart the agent process in-place (useful after a transient failure):
Update
Redeploy an existing agent in-place (without changing its deployment ID or URL) to pick up new variables or a different build:
This is the right command after rotating a secret or pushing a new blueprint build. It accepts the same --var, --vars-file, --adapter, and --build flags as ast blueprint deploy. If --adapter is omitted, the adapter defaults to web; pass it explicitly to preserve or change a non-web setup.
Delete
You will be prompted to confirm. Pass --confirm <name> to skip the prompt in scripts.