Skip to main content
Version: v5.7.0

opschain admin agent

packs:agents

Operate one agent. Every subcommand takes the agent's member id — the ID column of opschain admin agents list — and talks to the admin-gated v2 AgentService procedures (the REST /api/agents/{id} routes stay mounted for the GUI and the static-token lane). The lifecycle verbs grade in severity: a drain quiesces the agent's capabilities (reversible with resume), a halt is the break-glass hard stop (channel severed, every credential refused; reversible with halt-resume), a revoke tombstones the agent's key permanently, and a forget merely removes a stale registration so the identity may re-register.

SubcommandPurpose
showOne agent in full: identity, manifest, lifecycle, channel and host inventory — opschain docs cli/admin-agent-show.
drainQuiesce the agent: only its minimum-spec surfaces keep answering — opschain docs cli/admin-agent-drain.
resumeLift the drain — opschain docs cli/admin-agent-resume.
haltEmergency halt, break-glass audited — opschain docs cli/admin-agent-halt.
halt-resumeLift the emergency halt — opschain docs cli/admin-agent-halt-resume.
forgetRemove a stale registration (refused while online) — opschain docs cli/admin-agent-forget.
revokeTombstone the key and sever channel and sessions — opschain docs cli/admin-agent-revoke.
activityThe agent's audit timeline — opschain docs cli/admin-agent-activity.
trust-reviewThe agent's governance posture and track record — opschain docs cli/admin-agent-trust-review.
assignmentsThe agent's assets-under-management assignments — opschain docs cli/admin-agent-assignments.
ownerSet or clear the agent's owning user or group (accountability, never privilege) — opschain docs cli/admin-agent-owner.
instancesThe agent's instances — its running processes — grouped by release and lane — opschain docs cli/admin-agent-instances.
rolloverMove one lane of the agent to another release (replace, canary=<n> or blue-green), with continue / abort / rollback / finish / show beneath it — opschain docs cli/admin-agent-rollover.

See also​

  • opschain docs cli/admin-agents-list — the fleet view (and the source of agent ids).
  • opschain docs cli/admin-trust — trust grants and assignments.