Component ยท Shared or other
agent-manager-service (SaaS deployment)
CHOREO CLOUD Service Choreo Cloud service
What it is
This is the deployment of agent-manager-service on Choreo Cloud. It is an OpenChoreo Component in the project agent-manager on the cloud-cp cluster, with gateway traits for its API and a bff-api trait for cookie-based sessions. It runs the image system/agent-manager-service.
Why it exists
Running the service as an OpenChoreo component means it is deployed and promoted like every other Choreo Cloud service.
How it works
- Configuration comes from about 100 environment variables filled in per environment through release-binding substitutions.
- Uses its own Postgres database, agent_manager_db.
- Traits put an API Platform gateway in front of it for authentication, and an optional BFF for browser sessions.
- Images are tagged main-<sha>.
Identity and access
The gateway checks the JWT first and AMS validates it again. An optional cookie session, __Host-X-AGENT-MGMT, lets the browser sign in without handling tokens.
Key facts
- Image
- system/agent-manager-service
- Database
- agent_manager_db
- Cluster
- cloud-cp
- Side
- Choreo Cloud control plane
- Namespace
- cloud-cp OC project agent-manager
Talks to (7)
- depends on agent-manager-service (AMS) SaaS deployment of the shared core module
- calls Identity Platform CP / org-mgt In CP_MANAGED mode Agent Manager creates and promotes agent identities, roles, groups and MCP resource servers through the Identity Platform control planeHTTPS /iam/v1 (CP_MANAGED mode only)
- calls org-mgt-service Project, environment and promotion paths of /iam/v1 go to org-mgt-service, which Agent Manager uses to activate or promote an identity in an environmentHTTPS /iam/v1 projects, environments and promotions routes
- calls API Platform gateways on cloud-cp Agent Manager reaches platform-api and billing through the internal API Platform gateway on cloud-cpHTTPS path routed internal gateway
- reads from Valkey (cloud-cp) Agent Manager replicas share a gateway manifest cache in ValkeyRedis protocol, port 6379
- calls billing-service Agent Manager asks billing whether the subscription allows an agent to be createdHTTPS entitlement checks API
- calls Platform IdP (ThunderID private build) Agent Manager asks the Platform IdP for machine tokens before it calls platform-api, billing or the Identity Platform control planeHTTPS /oauth2/token and /ou/<org>/oauth2/token
Used by (4)
- needed by Agent Management SaaS flags per environment env flags change AMS behaviour per environmentFlux postBuild substitution
- read by RCA 2026-06-11 gateway-controller route loss RCA found AMS route bypassed the gateway (endpointName bug)
- called by Per-organization gateways Each organization gateway controller dials out to the Agent Manager internal server. Agent Manager does not call into the gatewayWSS /api/internal/v1/ws/gateways/connect
- receives telemetry from NATS JetStream WSO2CLOUDEVENTS Organization lifecycle events reach Agent Manager through a durable JetStream consumer where it is switched onNATS JetStream stream WSO2CLOUDEVENTS
Inside and around
Part of: cloud-cp (cloud control plane)