ai agent
lifectl ai agent rma
Remove a pulled agent from the local machine. Accepts agent name, name with version, or agent ID. If a version is specified only that version is removed; otherwise all versions are removed. Fails if any running containers reference the agent. Similar to docker rmi.
Synopsis
lifectl ai agent rma <name[:version]|agentId>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| <name[:version] | agentId> | string | Required | Agent name, name with version (e.g. my-agent:1.0.0), or 12-character agent ID (from lifectl ai agent list) |
Examples
Remove all versions of an agent
lifectl ai agent rma my-agent
Remove a specific version
lifectl ai agent rma my-agent:1.0.0
Remove by agent ID
lifectl ai agent rma a1b2c3d4e5f6