Skip to content

Evals: checking an agent's quality

Eval sets of test cases and checks that score an agent's work, so you can see whether a change made it better or worse.

An eval set is a few typical inputs for an agent and a description of good output. Running it scores the agent's work the same way every time, so after you change a prompt, a Library entry or a model level you can see whether things got better or worse before real work is affected. Admins find it on the agent's Evals tab.

Cases and checks

  • Cases: inputs filled in as a person would fill in the start form. Mix typical ones with the awkward ones that have gone wrong before.
  • Rule checks: the output has text, contains or doesn't contain a phrase, matches a pattern, is within a length, or equals a value.
  • AI judge: an AI call reads the output and scores it 1 to 5 against your rubric, for qualities rules can't catch, such as tone or clarity.
  • Each check has a weight, can be marked required, and can apply only to some cases. A case passes when it reaches the pass mark and every required check passes.

Running an eval

  • Before it starts, the app says how many test runs and AI judge calls it makes, and about how many tokens it uses.
  • Each case runs as a test run, so emails, Send to, web and API steps, hand-offs and memory writes are only recorded. What still runs for real: AI steps and the AI judge (to the workspace's AI provider), and an AI agent step's reading tools (web pages, web search, read-only API calls).
  • Results show which cases passed, the average score, how often each check passed, and what changed since the last run of the set.
  • In Simulated mode no AI judge is called; rule checks still count. Creating, changing and running evals is recorded in the activity log.
All help topics