ON-PREM CHOREO CLOUD BOTH

What it is

The AgentID reconciler is a background worker in AMS. When an agent is created, AMS records a pending identity row for each environment, and this worker keeps retrying until the agent's identity exists in that environment's ThunderID.

Why it exists

Creating an agent should not fail just because the identity server is briefly unavailable. A durable retry loop makes provisioning reliable.

How it works

  • AMS writes a row per environment in the agent_thunder_clients table.
  • The worker claims a row, calls the environment ThunderID to create the agent identity, and stores the secret in the secret manager, never in the database.
  • Failed attempts retry after about three minutes, and after five attempts the row is marked failed.
  • Failure never rolls back the agent itself.
  • Promoting an agent waits until the target environment's identity is complete.

Identity and access

It authenticates to each environment ThunderID with that environment's own amp-system-client token (scope system), then creates the agent as a client_credentials identity.

Key facts

Table
agent_thunder_clients
Retry
About 3 minutes, 5 attempts
Runs in
AMS process
Side
Control plane
Namespace
wso2-amp

Talks to (1)

Inside and around

Part of: agent-manager-service (AMS)