Component ยท Data side
evaluation-job
BOTH Job Workflow plane
What it is
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.
Why it exists
Teams need automatic measurements of agent quality, such as correctness or tool use, without writing their own scoring jobs.
How it works
- AMS creates a WorkflowRun and Argo starts a pod from the image amp-evaluation-monitor in the workflows-<namespace> area.
- The job fetches traces from amp-observer, using the trace export route.
- It runs evaluators from the amp-evaluation library. The catalog that Agent Manager offers for monitors has 24 built-in evaluators (9 rule-based and 15 using an LLM as judge), plus custom ones. The library itself defines more classes: 11 rule-based, 16 LLM judges and 6 DeepEval wrappers.
- It posts scores to the AMS publisher route, making up to three attempts with growing waits and not retrying on client errors (4xx).
- On Choreo Cloud the workflow template runs on the cloud-dp-oc-ci cluster.
Identity and access
It gets a client_credentials token for a per-organization publisher client (audience amp-publisher-<ouId>). amp-observer limits that token to reading traces, and AMS accepts it only on the publisher route by checking the audience pattern.
Key facts
- Language
- Python 3.11
- Image
- amp-evaluation-monitor
- Namespace
- workflows-<namespace>
- Side
- Workflow plane
Talks to (4)
- calls amp-observer (agent-manager-observer) Fetch tracesHTTP :9098 /api/v1/traces/export
- calls agent-manager-service (AMS) Publish scoresHTTP POST /api/v1/publisher/monitors/{m}/runs/{r}/scores
- signs in with Platform ThunderID 1.0.0 Evaluation job gets a token for the score publisher loginHTTP POST IDP_TOKEN_URL
- signs in with Platform IdP (ThunderID private build) On SaaS the evaluation job token endpoint belongs to the Platform IdPHTTP POST IDP_TOKEN_URL
Used by (3)
- needed by libs/amp-evaluation Evaluators and Monitor runnerpython import
- deployed by Argo Workflows Runs image amp-evaluation-monitorArgo pod
- needed by Monitor and evaluators Monitor executes via eval job
Inside and around
Part of: cloud-dp-oc-ci (workflow plane)