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 multipleCase definitions against agents or teams. Each case can check custom criteria, expected tool calls, or both.
evals.py
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.