Skip to main content

best agent evals tools

Summary

  • The best agent evals tools score the whole execution trace, including tool calls, retrieval steps and multi-turn sessions, not only the final answer.
  • Open-source MLflow (Apache 2.0) covers the core agent eval loop: tracing, mlflow.genai.evaluate(), LLM judges, code-based scorers and evaluation datasets.
  • MLflow's built-in ToolCallCorrectness and ToolCallEfficiency judges check whether an agent picked the right tools with the right arguments, and trace-based judges built with make_judge() can read the complete execution trace.
  • LLM judges need calibration: the judge's align() method tunes it to expert feedback, with MemAlign as the default optimizer.
  • On Databricks, the same open-source APIs run as managed MLflow, with traces and evaluation datasets in Unity Catalog and production monitoring in Beta.

best agent evals tools

The best agent evals tools grade what the agent did, not only what it said. An agent can return a plausible answer after calling the wrong tool, passing a bad argument or repeating the same search, and an output-only test will pass it. Pick a tool that scores execution traces, mixes LLM judges with deterministic checks, and lets domain experts correct the judges. Open-source MLflow is a strong default because evaluation, tracing and human feedback share one data model.

What is agent evaluation?

Agent evaluation measures whether an AI agent completes tasks correctly and safely. In MLflow, a scorer receives a trace, extracts the fields it needs, and returns its assessment as Feedback attached to that trace. A judge is a scorer backed by an LLM. A code-based scorer is a plain Python function for exact checks such as format validation.
Agent evals differ from single-call LLM evals in three ways. The unit of work is a multi-step trajectory. Tool selection and arguments matter as much as wording. And many agents are conversational, so some failures only show up across a whole session.

Key capabilities to evaluate

Capability Why it matters for agents
Trace-level scoring A judge that reads the full trace can catch a wrong tool call even when the final answer looks fine.
Tool-call checks Tool choice, arguments and redundant calls are where agents most often go wrong.
Multi-turn evaluation Session-level judges catch frustration, unanswered questions and lost context across turns.
Custom and code-based scorers Domain rules need natural-language judges. Schemas and formats need deterministic code.
Judge alignment An LLM judge should agree with your experts before you trust its scores.
Datasets built from traces Test cases drawn from real failures reflect what users actually ask.
One scorer for dev and prod Running the same scorer offline and on live traffic keeps quality numbers comparable.

How open-source MLflow handles agent evals

MLflow is an Apache 2.0 project under the Linux Foundation. mlflow.genai.evaluate() runs your agent against an evaluation dataset, applies a list of scorers, and stores the results as traces with scorer feedback in the active experiment. In direct evaluation mode, MLflow calls your agent itself, so the evaluation traces have the same shape as production traces and the same scorers work on both.
For agents, the built-in judges include ToolCallCorrectness (are the tool calls and arguments correct for the query?) and ToolCallEfficiency (are the calls free of redundancy?), alongside RetrievalGroundedness, Safety and Guidelines. When those don't fit, make_judge() builds a custom judge. Its {{ trace }} template variable hands the judge the complete execution trace, which it explores with Model Context Protocol (MCP) tools. This example comes from the Databricks docs:

from mlflow.genai.judges import make_judge
from typing import Literal

tool_usage_judge = make_judge(
    name="tool_usage_validator",
    instructions=(
        "Analyze the {{ trace }} to verify correct tool usage.\n\n"
        "Check that the agent selected appropriate tools for the user's request "
        "and called them with correct parameters."
    ),
    feedback_value_type=Literal["correct", "incorrect"],
    model="databricks:/databricks-gpt-5-mini",  # required for trace-based judges
)

For conversational agents, multi-turn judges such as ConversationCompleteness and UserFrustration score whole sessions, which MLflow groups by the session ID on each trace. ConversationSimulator generates test conversations from consistent goals and personas. Multi-turn evaluation is marked experimental, so expect the API to change.
To keep judges honest, collect expert labels under the same name as the judge and call the judge's align() method. MemAlign is the default alignment optimizer.

How Databricks approaches agent evals

Databricks runs the same open-source MLflow as a managed service, so the code above runs unchanged. The platform adds:

  • Unity Catalog storage. Traces can be stored as Unity Catalog Delta tables in OpenTelemetry format, with no per-experiment trace limit. Evaluation datasets are created in a Unity Catalog schema. Both follow the same permissions as the rest of your data.
  • Expert review. The Review App organizes traces into labeling sessions for domain experts, and review queues (Beta) route items to reviewers one at a time. Those labels feed judge alignment.
  • Production monitoring (Beta). Register a scorer, then start it with a ScorerSamplingConfig to score a sample of live traces. It supports built-in judges and @scorer functions defined and registered from a Databricks notebook.

Start with the agent evaluation overview, then read Scorers and LLM judges and Align LLM judges with human feedback.

FAQs

What is the difference between agent evals and LLM evals?

LLM evals usually score one prompt and one response. Agent evals score a trajectory: the tools the agent chose, the arguments it passed, the documents it retrieved and, for chat agents, the whole conversation.

Can I evaluate an agent without ground-truth answers?

Yes. RelevanceToQuery, Safety, RetrievalGroundedness and ToolCallEfficiency don't need ground truth. Correctness and ToolCallCorrectness read it from the dataset's expectations field.

How do I know an LLM judge is accurate?

Have domain experts label a set of traces, then call align() so the judge learns from those labels.

Is MLflow agent evaluation open source?

Yes. Tracing, mlflow.genai.evaluate(), built-in judges, scorers and the prompt registry are open-source MLflow APIs. Managed MLflow on Databricks adds hosting, Unity Catalog governance and services such as the Review App.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.