ai agent
lifectl ai agent rm
Remove a stopped container and its data directory. Accepts container ID, alias, or agent name. If multiple stopped containers match the name, an error is shown — use the container ID to disambiguate. The container must be stopped first. Similar to docker rm.
Synopsis
lifectl ai agent rm <containerId|alias|name>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| <containerId | alias | name> | string | Required | 12-character hex container ID, container alias, or agent name |
Examples
Remove by container ID
lifectl ai agent rm a1b2c3d4e5f6
Remove by alias
lifectl ai agent rm my-bot
Remove by agent name
lifectl ai agent rm my-agent