An agent eval framework, also called an agent evaluation framework, scores how an AI agent behaves across a full task.
It checks whether the agent finished the job, took the right path and called the right tools, and stayed safe. Then it turns all of that into a repeatable pass or fail signal instead of a subjective read of a transcript.
Most teams start by eyeballing transcripts. That works for the first ten agent runs and breaks down by the hundredth once tool arguments start drifting, and nobody notices until a customer does.
We build simulation and production monitoring for voice and chat agents at Cekura, and this guide draws on the same repeated-trial testing behind Cekura’s benchmarks. By the end, you can pick a framework, measure the right things including safety, and wire the whole thing into CI.
What Does an Agent Evaluation Framework Actually Test?
An agent eval framework tests the plan, the actions, the outcome, and whether the run stayed safe. These are four layers that a plain LLM eval never touches.
The plan layer checks whether the agent's reasoning steps make sense given the task, while the action layer checks whether it called the right tools with the right arguments.
The outcome layer checks whether the task got done. The safety layer, the one most eval setups skip, checks that the agent leaked no secrets and refused an adversarial instruction instead of following it.
A single-turn LLM eval stops at "was this response good." If you are still settling the basic definition of an eval and its four components, start there.
An agent can produce a fluent, well-reasoned response and still fail the task, because it called the wrong tool, passed a malformed argument, or stopped two steps short of completion. None of that shows up if you only grade the final message.
This is why an AI agent evaluation framework scores the full ordered sequence of messages, tool calls, and tool results. Get the trajectory model wrong, and every metric built on top of it inherits the error.
How Is Agent Evaluation Different From Grading One LLM Call?
Grading one LLM call is a closed problem with one input, one output, and one rubric. Grading an agent means grading a process with branches, retries, and state that changes as the run progresses.
Three properties make agent runs harder to score than single calls:
-
Multiple valid paths. Two agents can reach the same correct outcome through different tool sequences. A rigid step-by-step match penalizes the agent that took a legitimate shortcut.
-
Compounding errors. A wrong tool argument at step 2 can still produce a plausible-looking final answer at step 8, so grading only the last message misses the actual defect.
-
Non-determinism across attempts. The same agent, same input, same model version can pass on one run and fail on the next.
That last point is why agent eval frameworks increasingly score cases across repeated attempts instead of one run. Pass@k, as used in the Codex evaluation work, counts a case as solved if any of k attempts passes, which measures best-case capability.
Reliability testing wants the stricter counterpart, pass^k, introduced in τ-bench: a case counts as passing only when the agent succeeds on all k independent attempts. A framework that reports a single pass rate per case is measuring something closer to luck than reliability.
A 2025 survey of LLM agent evaluation work organizes this fragmented landscape along two axes: what to evaluate (behavior, capability, reliability, safety) and how to evaluate it (interaction mode, datasets, metrics, tooling).
Read as a whole, the survey makes the same point this section does from a different direction: an agent eval framework has to grade a process, not a single graded artifact.
What Should an Agent Evaluation Framework Measure?
A working agent eval framework scores five things: the four layers above, with plan and actions split into trajectory and tool-call checks, plus response quality.
Most of the frameworks below expose each as a separate metric.
| Layer | What it checks | Example evaluator |
|---|---|---|
| Trajectory | Did the agent's step sequence match an expected or acceptable path? | Exact, in-order, or any-order trajectory matching |
| Tool-call correctness | Did it call the right tool with the right arguments? | Tool selection accuracy, argument accuracy |
| Task completion | Did the underlying goal actually get satisfied? | Task adherence, task completion, goal success rate |
| Quality | Was the response coherent, grounded, and relevant? | Coherence, groundedness, relevance |
| Safety/adversarial | Did the agent resist injection, keep secrets in, and refuse unsafe asks? | Prompt-injection resistance, leak checks, refusal rate |
These layers get scored at three scopes. End-to-end scoring grades only the final outcome, and trajectory scoring grades the whole ordered run. Component-level scoring grades one decision in isolation, such as a single tool selection.
Most teams need all three: component-level to localize a defect, trajectory to catch compounding errors, end-to-end to confirm the user actually got what they asked for.
Microsoft's Agent Framework evaluation documentation says its built-in evaluators cover agent behavior (intent resolution, task adherence, task completion, task navigation efficiency), tool usage (tool call accuracy, tool selection, tool input accuracy, tool call success).
They also cover quality (coherence, fluency, relevance, and groundedness), and its hosted Foundry evaluator defaults to relevance, coherence, and task adherence, adding tool call accuracy automatically whenever the items being scored carry tool definitions.
AWS's Strands Evals takes a similar layered approach but scores tool-call sequences against exact match, in-order match, and any-order match, alongside a seven-point helpfulness scale and a five-point faithfulness scale for the response layer.
The choice between rigid and flexible trajectory matching comes down to the agent. Exact match is right for a compliance script, while any-order match is right for an agent with real latitude in how it solves a task.
Don’t Forget About Safety
Safety is the last row in the table above, and the quality metrics do not cover it on their own. It usually needs a dedicated adversarial suite. These checks do most of the work:
-
Prompt injection: adversarial instructions hidden in tool outputs or user input try to override the system prompt. Test it with red-team suites that plant injection payloads and assert the agent does not follow them.
-
Data and secret leakage: seed canary secrets or PII into the context, then assert they never appear in outputs or outbound tool calls.
-
Refusing unsafe requests: score refusals of out-of-policy or inappropriate asks with an LLM-judge against a refusal rubric.
Microsoft’s catalog adds dedicated safety evaluators to its behavior, tool, and quality set, but most eval stacks still bolt safety on as an afterthought. Cekura’s red-teaming suite runs this adversarial layer on voice and chat agents.
This adversarial layer is exactly what Cekura's red-teaming pillar runs on voice and chat agents, jailbreaks, system-prompt and data-leak attempts, and unauthorized-action probes included, so you test the question a buyer actually asks: does the agent hold up when someone tries to break it?
Code, Model, or Human: Which Grader Type Do You Need?
Three grader types cover agent evals: code-based checks, model-based judges, and human review.
Most working setups use all three, each where it is cheapest and most reliable.
Code-Based Graders
Rule-based checks are deterministic: did the agent call get_weather, does the output contain a required disclosure, did the tool arguments match a schema. They cost nothing per run and never disagree with themselves on a re-run. Push as much scoring here as a rule can express.
Model-Based Graders (LLM-as-Judge)
Rubric scoring with an LLM-as-judge earns its cost where a rule cannot express the target. Was the agent's explanation actually helpful, did it stay in character, and did it handle an ambiguous request sensibly?
A closer look at LLM-as-judge evaluation covers the calibration step this depends on. You label a sample by hand first, then check the judge's scores against that sample before trusting it in a CI gate.
Judge-based scoring comes with known failure modes worth planning around:
-
Position bias favors whichever answer a judge sees first
-
Verbosity bias rewards longer answers regardless of whether they are more correct
Stronger judges reduce both biases but don’t remove either. Swapping the answer order and counting only wins that hold in both orders handles position bias, and checking scores against a hand-labeled sample catches verbosity bias.
Human Review
People stay in the loop for the parts a script and a judge cannot own. These are building and periodically re-checking the calibration set the judge is graded against, adjudicating safety edge cases where a wrong call is expensive, and spot-auditing judge drift over time.
A working setup usually uses rule-based checks for anything expressible as a schema or exact match, LLM-as-judge for everything else, and human review reserved for calibration and safety adjudication.
Agent Eval Frameworks Compared: Open-Source and Hosted
Open-source AI agent frameworks such as LangGraph don't usually ship trajectory-level eval tooling in the same package.
CrewAI is a partial exception, with a crewai test command that reruns a crew and scores each task on a 1-to-10 scale, though it does not do trajectory or tool-argument matching.
Some agentic frameworks publish evaluation as a separate library, as the Strands Agents project does with Strands Evals, while Microsoft Agent Framework and Google ADK build evaluation into the core package.
The agent eval frameworks worth comparing now span both open-source libraries and hosted platforms, so the table below covers both.
| Tool | License | Cost | Best for | Multi-turn testing |
|---|---|---|---|---|
| DeepEval | Apache 2.0 | Free (Confident AI hosting is paid) | Pytest-style evals for agents, RAG, and chatbots | Simulates users |
| Strands Evals | Apache 2.0 | Free | Agents built on the Strands SDK | Simulates users |
| agentevals | MIT | Free | Lightweight trajectory checks for LangGraph agents | Scores multi-turn runs |
| Ragas | Apache 2.0 | Free | Teams extending RAG evals to tool use | Scores multi-turn runs |
| MLflow | Apache 2.0 | Free (Databricks hosting is paid) | Teams already tracing with MLflow | Simulates users |
| Microsoft Agent Framework | MIT | Free (Foundry hosting is optional) | Agents on Microsoft Agent Framework (.NET, Python) | Scores multi-turn runs |
| Google ADK | Apache 2.0 | Free | Agents on Google's Agent Development Kit | Simulates users |
| AWS agent-evaluation | Apache 2.0 | Free | Bedrock, Q, and SageMaker agents (no release since Mar 2025) | Simulates users |
| Arize Phoenix / AX | Phoenix ELv2; AX commercial | Phoenix free; AX from $0, Pro $50/mo | Trace-based evals with a hosted dashboard | Scores multi-turn sessions |
| LangSmith | Proprietary | From $0, Plus $39/seat/mo | Hosted tracing and evals for LangChain teams | Scores multi-turn traces |
All ten include LLM-as-judge scoring and can run in CI. Most also score tool calls and trajectories directly, so the real differences are license, cost, and what your agent is built on.
The open-source libraries install straight into your own test suite, with no platform to run. The hosted options (Arize AX and LangSmith, plus Confident AI (DeepEval's hosted layer) and Databricks-hosted MLflow) trade a subscription for a dashboard, storage, and alerting you'd otherwise build yourself
A small team on LangGraph can start with agentevals in an afternoon. A team already emitting OpenTelemetry traces gets more from MLflow or Strands Evals, and if you want a dashboard without building one, look at the hosted side.
Where Does lmms-eval Fit In?
lmms-eval is a multimodal model evaluation toolkit built by EvolvingLMMs-Lab, covering more than 100 benchmark tasks across image, video, and audio understanding for large multimodal models.
It benchmarks the model under your agent and pairs with an agent eval framework.
lmms-eval v0.7 (February 2026) added an agentic output type that runs iterative tool-call loops against deterministic simulators and reports trace-level metrics, but it does so on fixed benchmark tasks such as a telecom-support scenario with four tools and eight steps.
It measures how a multimodal model performs on someone else's agentic benchmark, but it doesn’t tell you whether your agent called your tools correctly on your task.
It is the right tool if your agent's failure mode traces back to the underlying multimodal model itself, for example an agent that misreads a screenshot before deciding which tool to call.
In that case, benchmark the model with lmms-eval and evaluate the agent's decisions with a trajectory-aware framework separately. Treating the two as interchangeable is how teams end up with a strong vision benchmark score and an agent that still fails its actual task.
How Do You Wire Agent Evals Into CI/CD?
Running evals by hand catches regressions the week you remember to run them. Wiring them into CI catches regressions on every change. For the full build-out, Cekura's guide to building AI agent evals in eight steps walks the whole setup.
Start small. Pull your first handful of test cases from real production failures, grow the set every time a new failure slips through, and only then gate releases on it.
-
Build a fixed test set first. Add synthetic cases only after the production failures and support tickets are in, because synthetic-only sets miss the failure modes that actually happen.
-
Separate smoke checks from full runs. Run cheap rule-based checks (schema validation, required tool calls) on every commit, and reserve the slower LLM-as-judge pass for pull requests or a nightly run.
-
Set a pass threshold before you need one. Decide what score counts as a regression in advance, before a bad release ships.
-
Repeat flaky cases before trusting them. Run non-deterministic tasks multiple times and require a minimum pass rate across attempts, not a single pass, before treating the case as reliable.
-
Gate merges on the smoke tier, alert on the full tier. A CI gate that blocks every merge on a slow LLM-as-judge run gets disabled within a month; a fast gate plus an alerting full run tends to survive.
# steps excerpt from .github/workflows/agent-evals.yml
- name: Smoke tier (every commit)
run: pytest tests/evals -m "rule_based" --maxfail=1
- name: Full tier (pull requests only)
if: github.event_name == 'pull_request'
run: deepeval test run tests/evals -m "judge" -r 3
continue-on-error: true
No CLI flag sets the minimum pass rate. Assert it inside the test from the repeated results, since -r repeats each case but leaves the threshold to your metric definition.
How Do You Evaluate a Multi-Turn Agent?
A fixed single-turn test fixture only checks whether the agent handles one message correctly in isolation.
It misses the failures that only show up across a conversation, such as an agent that loses context after a handoff, repeats a question the user already answered, or fails to recover after a user changes their mind mid-task.
Simulated-user testing addresses this by running a second model as the "user," scripted to pursue a goal with some latitude in how it phrases and pivots. Strands Evals runs this as its ActorSimulator, and DeepEval runs it as conversation simulation.
Both let you generate many conversation variants from one scenario definition instead of hand-writing every turn. Cekura runs simulated-user testing on voice and chat agents and scores each run against the conversation goal.
This is also where the online-versus-offline split comes in. Offline evaluation runs a fixed or simulated test set before you ship, the same way the CI gate above does.
Online evaluation scores live production traffic after release, catching drift that no pre-release test set anticipated because the failure only appears with real users asking things your test set never covered.
A CI-only suite answers "did this change break something we already know to check?" Production monitoring answers "is something breaking that we didn't know to check for?"
Open-Source Frameworks or a Hosted Eval Platform: What's the Real Tradeoff?
An open-source library gives you full control over metrics and no subscription cost, but you build and maintain the trajectory matchers, the trace parsing, the dashboards, and the alerting yourself.
A hosted platform trades that setup time for a recurring cost and less control over exactly how a metric is computed.
Cekura tests, monitors, and self-improves voice and chat agents against this same trajectory-and-outcome model, running repeated trials per scenario because a case that passes once and fails on the next identical attempt is not actually reliable.
Per Cekura's benchmarks, which ran ten voice-agent configurations through 82 scenarios with three retained repeats each, repeatable reliability (the share of scenarios where all three attempts passed) ranged from 30.5% to 90.2% depending on the stack.
Failed and non-connecting calls stay in that denominator. A framework that scores one attempt per case cannot produce that number at all, which is the point. The spread only becomes visible once you repeat.
Neither approach is strictly better. A small team validating one internal agent can usually stay on an open-source library.
A team shipping a customer-facing agent across many scenarios, where a silent regression costs a support ticket or a lost customer, usually finds the engineering cost of maintaining that tooling in-house outweighs a subscription.
How Do You Choose the Right Agent Evaluation Framework for Your Team?
Match the framework to your stack and your failure budget. Four questions help you make the call, and they are worth answering before a single test case gets written.
-
Check what you're already logging. If your agent already emits OpenTelemetry traces, a framework that reads traces directly (MLflow, Strands Evals) saves you an integration step.
-
Decide how rigid your correct path is. A compliance workflow with one correct tool sequence needs exact trajectory matching. An open-ended research agent needs any-order or LLM-as-judge scoring instead.
-
Estimate your judge budget. LLM-as-judge calls cost money and add latency to your CI run. Push as much scoring as possible to rule-based checks first, and reserve judge calls for what a rule genuinely cannot express.
-
Decide who owns production monitoring. A CI-only eval suite catches regressions before deploy but doesn’t tell you anything about drift after release.
How Cekura Helps You Evaluate Voice and Chat Agents
Grading one message tells you almost nothing about whether an agent finishes a real task safely and repeatedly. An open-source library can get you there, but someone has to build and maintain the simulations, the infrastructure tests, the production monitoring, and the adversarial suite.
Cekura runs all four on voice and chat agents in one place. Native integrations work out of the box for Retell, VAPI, ElevenLabs, LiveKit, Pipecat, Bland, and more. You don’t rebuild anything. You add a testing and monitoring layer on top of what you already have.
With Cekura, teams get:
-
Workflow testing: run thousands of multi-turn simulated conversations across your scenarios, from booking to refunds, and score each run against the conversation goal.
-
Infrastructure testing: check how the agent handles interruptions, long pauses, background noise, and latency before real callers hit them.
-
Production monitoring: score live calls and chats against Cekura's voice AI evaluation metrics research (workflow adherence, drop-off points, and broken tool calls), not just the runs in CI.
-
Red teaming: run jailbreaks, system-prompt and data-leak attempts, and unauthorized-action probes against the agent before an attacker does.
All of it runs with SOC 2, HIPAA, and GDPR compliance, including transcript redaction, role-based access, and audit trails.
Run the evaluation the right way, and reliability stops being a guess you confirm after an incident. Book a demo to see it score a real agent end-to-end.
Frequently Asked Questions
What Is an Agent Eval Framework?
An agent eval framework is a tool or library that scores an AI agent’s full task run: its plan, its tool calls, and whether the task completed. It gives you a pass or fail result you can rerun on every change.
What's the Difference Between Agent Evaluation and LLM Evaluation?
LLM evaluation grades one input-output pair against a rubric. Agent evaluation grades a multi-step trajectory including the plan, every tool call and its arguments, and whether the end goal was actually achieved.
An agent can pass an LLM-style quality check on its final message and still fail the underlying task.
Should I Use LLM-as-Judge or Rule-Based Checks for Agent Evals?
Use rule-based checks for anything expressible as an exact match, schema, or required tool call, since they are free and deterministic.
Reserve LLM-as-judge scoring for qualities a rule cannot express, like whether an explanation was actually helpful, and calibrate the judge against a hand-labeled sample before trusting it.
Is lmms-eval an Agent Evaluation Framework?
No. lmms-eval is a multimodal model benchmarking toolkit from EvolvingLMMs-Lab that scores large multimodal models across text, image, video, and audio tasks.
lmms-eval v0.7 (February 2026) added an agentic output type that runs tool-call loops on fixed benchmark scenarios, but it benchmarks a model against those scenarios rather than evaluating your own agent's trajectories in your own stack, so it complements an agent eval framework.
How Many Test Cases Does an Agent Eval Suite Need?
An agent eval suite needs enough test cases to cover your real failure modes.
Start from actual production failures and support tickets rather than synthetic cases alone, and prioritize a set small enough to run on every pull request over a larger set that only runs occasionally, since an eval suite nobody runs catches nothing.
How Do You Evaluate Multi-Step Task Completion Instead of Just the Final Answer?
To evaluate multi-step task completion, score the full trajectory against the goal.
Microsoft’s Agent Framework exposes dedicated task-completion and task-adherence evaluators for this, and Strands Evals has a goal-success-rate evaluator. Running the same case multiple times before counting it as passing catches the cases that succeed by luck on a single attempt.
Cekura's July 2026 six-platform experiment, running the same Medicare agent on six stacks, saw workflow reliability (pass³) range from 65.2% to 95.7%. That’s a 30.5-point spread only a repeated-attempt measure can surface.
How Do You Test an Agent for Prompt Injection and Unsafe Requests?
Test an agent for prompt injection and unsafe requests with an adversarial red-team suite.
Plant prompt-injection payloads in tool outputs and user turns and assert the agent does not follow them, seed canary secrets and assert they never leak into outputs or outbound tool calls, and score refusals of out-of-policy requests against a rubric.
Is There an Agent Evaluation Framework on GitHub?
Yes. Several agent evaluation frameworks are open source on GitHub, including DeepEval, Ragas, agentevals, Strands Evals, MLflow, Microsoft Agent Framework, Google ADK, and AWS agent-evaluation. Each is Apache-2.0 or MIT licensed and installs as a library you can wire into your own tests and CI.
Cekura runs this same trajectory-and-outcome evaluation on voice and chat agents.






