Skip to main content

Agent Lifecycle

The Agent Lifecycle dashboard (/agents/lifecycle) tracks agents through a persisted lifecycle state machine and exposes promotion gates, degraded agents, stale candidates, and retirement actions.

State machine

registering -> observing -> active -> degraded -> deprecated -> retired

Every manual or automated transition is stored with actor, reason, timestamp, telemetry context, and audit metadata.

Default gates

Agents must pass the default promotion gates before moving from observing to active:

GateDefault
Minimum sessions10
Minimum quality score0.7
Unresolved critical alerts0
Assigned policyRequired
Assigned protection profileRequired
Valid attestationRequired
SBOM presentRequired
Owner identifiedRequired

Gate thresholds and checklist requirements are configurable per tenant.

Dashboard queues

QueueMeaning
State funnelCount of agents in each lifecycle state.
Pending promotionObserving agents that meet configured gates and await operator approval.
Degraded agentsAgents flagged for quality, alert, compliance, or operator concerns.
Stale candidatesAgents with no sessions for the configured staleness window, defaulting to 30 days.

Retirement is never automatic from the dashboard queue. Stale agents become deprecated candidates first, and a destructive retirement requires explicit operator approval.

Legacy endpoint compatibility

The existing observe and retire dashboard API routes remain available. When tenant context is present, those routes now write durable lifecycle transitions instead of returning synthetic local records.