Story
Watching your agents
How traces travel from an agent to the console, and how monitors and evaluators score them.
BOTH 11 scenes 3 minutes
Scroll to move through the story. Keyboard: J next scene, K previous scene. Or press Auto-play story.
Loading the story...
- Is it running, and is it any good?. Running agents is half the job. The other half is knowing what they did and how well they did it.
- The agent reports a trace. While it works, the agent reports what it did as traces. It sends them to the gateway with a token that names the agent, environment and project.
- The gateway checks the trace token. The gateway lets a trace through only if its token checks out. It copies who the token belongs to into headers and hands the trace to the collector.
- The collector stores it. The collector writes each trace into OpenSearch, into a new index each day.
- The console reads it back. When you open the traces page, the console asks the observer service directly. AMS is not in this path.
- The observer asks OpenChoreo. The observer is a thin front. It uses its own service account to ask OpenChoreo's observer for the data.
- You create a monitor. A monitor says which evaluators to run, how often and what share of traces to sample. AMS saves it in its own database.
- A clock ticks every minute. A scheduler inside AMS wakes every minute and finds the monitors that are due. Only one copy of AMS acts on each tick.
- AMS asks OpenChoreo to run it. AMS does not run the evaluation itself. It fills in an order form and hands it to OpenChoreo.
- Evaluators score each trace. Each evaluator is a small test. Some are plain rules and some ask a language model to judge.
- The scores come back. Opening the monitor page reads the stored scores, averages and trends from AMS's own database. Nothing is calculated on the spot.
Loading the story...
- Is it running, and is it any good?. Running agents is half the job. The other half is knowing what they did and how well they did it.
- The agent reports a trace. While it works, the agent reports what it did as traces. It sends them to the gateway with a token that names the agent, environment and project.
- The gateway checks the trace token. The gateway lets a trace through only if its token checks out. It copies who the token belongs to into headers and hands the trace to the collector.
- The collector stores it. The collector writes each trace into OpenSearch, into a new index each day.
- The console reads it back. When you open the traces page, the console asks the observer service directly. AMS is not in this path.
- The observer asks OpenChoreo. The observer is a thin front. It uses its own service account to ask OpenChoreo's observer for the data.
- You create a monitor. A monitor says which evaluators to run, how often and what share of traces to sample. AMS saves it in its own database.
- A clock ticks every minute. A scheduler inside AMS wakes every minute and finds the monitors that are due. Only one copy of AMS acts on each tick.
- AMS asks OpenChoreo to run it. AMS does not run the evaluation itself. It fills in an order form and hands it to OpenChoreo.
- Evaluators score each trace. Each evaluator is a small test. Some are plain rules and some ask a language model to judge.
- The scores come back. Opening the monitor page reads the stored scores, averages and trends from AMS's own database. Nothing is calculated on the spot.