Skip to main content
Teams shipping agents need to know whether a prompt, model, tool, or context change improved the product. Evals turn expected behavior into repeatable checks that can run during development and in CI.
accuracy_eval.py
AccuracyEval runs the agent, then uses the evaluator model to compare its response with the expected output.

Choose an Eval

Accuracy and agent-as-judge checks use a model to evaluate output. Reliability checks inspect recorded tool calls and arguments. Performance checks execute a function repeatedly and report runtime and memory statistics.

Build a Regression Suite

Eval suites run multiple Case definitions against agents or teams. Each case can check custom criteria, expected tool calls, or both.
evals.py
The CLI returns a failing exit code when a selected case fails and can write a JSON report for CI artifacts. See Eval Suites for selectors, timeouts, judge modes, and programmatic execution.

What to Evaluate

Start with behavior that matters to the product: Keep cases focused on one behavior so failures point to a clear prompt, model, context, or tool change.

Next Steps

Accuracy

Compare responses with expected answers.

Agent as Judge

Score custom quality criteria.

Reliability

Check tool calls and arguments.

Performance

Measure runtime and memory usage.

Eval Suites

Run many judge and reliability cases in CI.