What you will learn
- Say what an evaluator is and tell the two types apart, code and LLM judge
- Describe what a monitor holds and the two kinds of monitor, past and future
- Follow a monitor run from the scheduler to the scores in the console
- Say which part does the scoring and which part stores the scores
Before you start
- Traces from agent to console Not started In progress Done
On this page
You can see one trace in the console and judge it with your own eyes. You cannot do that for ten thousand traces a day. A monitor does it for you: it marks a sample of an agent’s real work and records the scores, so you can spot a drop in quality.
Evaluators
An EvaluatorA scoring rule that marks an agent's work from its traces. Some are plain code checks and some ask a language model to judge.See it in the glossary is a small scoring test. Agent Manager’s catalog has 24 built-in evaluators, and you can add custom ones. Each built-in is one of two types.
| Type | How it scores | How many | Examples |
|---|---|---|---|
code | A plain rule over the trace | 9 | latency_performance, token_efficiency, content_safety, length_compliance |
llm_judge | A language model marks the work | 15 | safety, tone, helpfulness, groundedness |
Each evaluator also works at one of three levels, which decides what it looks at.
- Trace level looks at one whole request. Twelve built-ins work here.
- Agent level looks at how the agent behaved across its steps, such as its tool calls. Eight work here.
- LLM level looks at one model call, such as its tone or its safety. Four work here.
An LLM judgeAn evaluator that asks a language model to mark the work, for example for tone or safety. It needs a model setting and goes through a gateway proxy.See it in the glossary needs a model to do the judging. In the catalog every judge has a required model setting. The judge goes through one of your organisation’s LLM providers, by way of a gateway proxy.
Monitors
A MonitorA saved evaluation job for one agent in one environment. It scores real traces, on a schedule or over a past window, so you can spot a drop in quality.Analogy:A scheduled inspector who samples the agent's work and files the marks in a ledger.See it in the glossary is a saved evaluation job for one agent in one environment. It lists:
- the evaluators to run;
- a Sampling rateThe share of traces that a monitor run scores. The default is 1.0, which means every trace in the window.See it in the glossary, which is the share of traces to score. The default is 1.0, so every trace counts;
- and one of two kinds of timing. A past monitor scores a fixed time range once. A future monitor repeats, every 60 minutes by default and at least every 5.
What happens when a monitor runs
You create a monitor
The console sends the form to AMS. AMS saves the monitor in its own database and makes sure your organisation has a score publisher login. A future monitor is marked due at once, so it runs within a minute.
A clock ticks every minute
A Monitor schedulerA worker inside AMS that wakes every minute, finds due monitors and starts an evaluation run for each. A database lock lets only one AMS copy do it.See it in the glossary inside AMS wakes every minute and picks every monitor whose time has come. A database lock makes sure only one copy of AMS does this.
OpenChoreo starts a run
AMS does not run the evaluation itself. It asks OpenChoreo to create a workflow run, and Argo starts a short-lived pod that runs the evaluation job on the workflow plane.
The job gets a pass and fetches traces
The job trades its publisher login for a short-lived token. That token is good for reading traces from the observer and posting scores, and for little else.
Evaluators score each trace
The job runs every chosen evaluator over each sampled trace.
Scores come back
The job posts the scores to AMS, which checks that the pass is a publisher pass for the same organisation as the monitor. The scheduler keeps watching the run and gives up on one that stays unfinished for 45 minutes.
You read the scores
The monitor page asks AMS for the stored scores, averages and trends. Nothing is calculated on the spot. It all comes from AMS’s database.
Where the scores live
Runs and scores are stored in AMS’s own Postgres database, in the monitor_runs and scores tables. This is one of the few things AMS keeps for itself, next to gateways, providers and proxies.
Your turn
Open Try it and play flow F14. Which steps happen on the control side, and which happen on the workflow plane? Then open the matcher and pair each part with its job.
Recap
- An evaluator is a small scoring test. The built-in catalog has 24: 9 code rules and 15 LLM judges. They work at trace, agent or LLM level.
- A monitor is a saved job for one agent in one environment, with evaluators, a sampling rate and a time window or a repeat interval.
- A scheduler in AMS ticks every minute. OpenChoreo runs the evaluation job on the workflow plane.
- Scores are posted back to AMS and stored in its database, and the console reads them from there.
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)