What you will learn
- Sort the main parts of Agent Manager into the control side and the data side
- Say what the cluster-agent and the gateway-controller are and who starts their connections
- Explain why the data side dials out to the control side
- Follow a deploy from the console to a running agent
Before you start
- What is Choreo Agent Manager? Not started In progress Done
On this page
Open the system diagram and one thing stands out: it has a left half and a right half with a narrow strip in the middle. That layout is the most useful map of Agent Manager there is. Learn it once and every later lesson has a place to sit.
The left half: the control side
The Control sideThe part of the system that decides and stores: the Agent Manager service, the OpenChoreo control plane and the identity server for people. It runs no agents and no builds.Analogy:The operations centre and the tower. They plan and record, and never fly an aircraft.See it in the glossary decides and stores. It runs no agents and no builds. It holds:
- AMS, the central service, with its Postgres database. It also has a second, internal door (the internal server) that gateways use to connect.
- The OpenChoreo control plane. It keeps the master record of what should exist: its API, a controller, and a hub called the cluster-gateway.
- ThunderID for people and services, the identity server that signs them in. In an on-prem install this is the platform ThunderID.
The right half: the data side
The Data sideThe part that does the work: it runs agents, builds images and collects telemetry. Its cluster-agents and gateway-controllers open their lines to the control side themselves.Analogy:The apron, the hangar and the radar room, where the real work happens.See it in the glossary does the work. In OpenChoreo’s words it is made of three PlaneOne of OpenChoreo's four job areas: control, data, workflow and observability. A plane is a part of the platform, not a vehicle.See it in the glossary.
| Plane | What it does |
|---|---|
| Data plane | Runs the agents. The AI gatewayThe doorway for agent traffic to model vendors and tool servers. It runs each request through a chain of policies, such as keys, limits and guardrails, before passing it on.Analogy:Airside security and customs. ID check, bag scan, then the real boarding document.See it in the glossary for each environment lives here too. Each environment’s own ThunderIDThe open source identity server Agent Manager uses to sign people and services in and to issue signed tokens. The older name Thunder survives in some chart and folder names.Analogy:The passport office that issues the signed documents every checkpoint reads.See it in the glossary, which holds agent identities, is drawn on this side of the diagram. |
| Workflow plane | Builds agent images and runs evaluation jobs, using Argo Workflows. |
| Observability plane | Stores TraceA record of what an agent did while handling one request, made of steps called spans, such as a model call or a tool call.Analogy:The flight recorder of one flight.See it in the glossary, logs and metrics. The amp-observerAgent Manager's read only service for traces, logs, build logs and metrics. Its folder is agent-manager-observer, and it was once called traces-observer-service.See it in the glossary service reads them back out. |
The strip in the middle
How does the control side tell the data side what to do, if it has no login to the data side’s clusters? The answer is that the data side calls first. Two small programs hold the line open.
The Cluster-agentA small program that runs in each remote plane. It dials out to the control plane over mTLS and carries out instructions inside its own plane.Analogy:A ground station operator who phones the tower, so the tower never needs a key to the ground station.See it in the glossary runs in each remote plane. It opens a WebSocketA long lived, two way connection that starts as a web request. It lets one side push messages without being asked each time.See it in the glossary to the cluster-gateway on the control side. Both sides show certificates to prove who they are, which is called mTLS (mutual TLS)An encrypted connection in which both sides show a certificate, so each one proves who it is. The cluster-agent uses it to connect to the control side.See it in the glossary. Instructions, such as “apply these manifests”, then travel down the line that the agent already opened.
The Gateway-controllerThe local brain of one gateway. It dials Agent Manager over a WebSocket, downloads the gateway's configuration and keeps the router in step.See it in the glossary is the brain of one gateway. It also dials out, to AMS’s internal door, and sends a registration token with the request. It does not present a certificate of its own for this: the token is what proves who it is. When an LLM provider is deployed to a gateway, AMS pushes the news down that connection and the gateway fetches the new settings.
For these two lines, nothing on the control side has to open a connection into the data side. That has two benefits.
- No keys to the clusters. A plane is registered with the certificate authority its agent uses, not with a kubeconfig.
- No open doors for these lines. The remote clusters need no inbound port for OpenChoreo’s instructions or for gateway updates.
Some other calls do go straight to the data side. For example, AMS calls the environment’s ThunderID and the observer over HTTP.
Follow a deploy
You click Deploy in the console
The ConsoleAgent Manager's web interface, a single page app that runs in your browser and calls the Agent Manager service for its data.See it in the glossary calls AMS with your signed token.
AMS asks OpenChoreo
AMS does not talk to KubernetesThe open source system that runs containers across a group of machines. OpenChoreo is built on it. The Agent Manager service has no Kubernetes client and works through OpenChoreo.See it in the glossary directly. It calls the OpenChoreo API on the control side, which records what should run.
The cluster-agent carries it down
The control plane turns the plan into manifests. The cluster-agent in the data plane, which already holds a connection open, receives and applies them.
The agent runs on the data side
The agent starts in the data plane. Its traffic to models and tools now flows through the gateway there.
In Choreo Cloud
Choreo Cloud (SaaS)The hosted Agent Manager that Choreo Labs runs for customers. People sign up and use it instead of installing it.See it in the glossary has the same shape, spread over more clusters. Choreo Labs’ own services sit on one cluster, the customer control plane is another, and customer agents, telemetry and builds each have their own. A cluster-agent in each remote plane dials out to the control plane. In Choreo Labs’ own clusters the agent certificates chain up to a shared root that both sides trust.
Recap
- Control side: AMS, the OpenChoreo control plane and the identity server for people. It decides and stores.
- Data side: the data, workflow and observability planes. It runs agents, builds and telemetry.
- The cluster-agent and the gateway-controller both dial out from the data side to hold the management lines open.
- A deploy goes console, then AMS, then OpenChoreo, then the cluster-agent, then the running agent.
Wrap up
Recap
Tick each one when you could explain it to a colleague.
Finished?
Chapter complete. Every lesson in this chapter is done.
Progress cannot be saved in this browser, so it will be forgotten when you leave this page.
Quick check
Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)