ON-PREM CHOREO CLOUD BOTH

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

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 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.

TypeHow it scoresHow manyExamples
codeA plain rule over the trace9latency_performance, token_efficiency, content_safety, length_compliance
llm_judgeA language model marks the work15safety, 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 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 is a saved evaluation job for one agent in one environment. It lists:

  • the evaluators to run;
  • a , 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.
Component

Monitor and evaluators

Shared or other Other BOTH

A monitor is a saved evaluation job for one agent in one environment. It lists the evaluators to run, a sampling rate (default 1.0, which means every trace) and either a fixed time range (type past) or a repeat interval (type future, 60 minutes by default and at least 5). Each run is a workflow that scores traces with the amp-evaluation library and sends the scores back to Agent Manager.

What happens when a monitor runs

Flow

Monitors and evaluation, from creating a monitor to reading scores

F14 12 steps BOTH

A monitor is saved in Agent Manager, a one-minute scheduler turns each due monitor into a workflow run on the workflow plane, the evaluation job reads the agent's traces, scores them, posts the scores back, and the console reads them.

  1. 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.

  2. A clock ticks every minute

    A 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.

  3. 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.

  4. 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.

  5. Evaluators score each trace

    The job runs every chosen evaluator over each sampled trace.

  6. 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.

  7. 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.

Component

evaluation-job

Data side Workflow plane BOTH

The evaluation job is a short-lived Python program that scores agent behavior. For one monitor run it fetches traces, runs evaluators over them, and posts the scores back to AMS. It runs in a build-like pod on the workflow plane.

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.

Try it

Follow one request

What to do: press Play, or use Next, to walk through the request step by step.

Loading the diagram...

Match them up

What to do: pick an item on the left, then its partner on the right.

Loading the matching game...

Wrap up

Recap

Tick each one when you could explain it to a colleague.

Finished?

Quick check

Loading the quick check...

Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)