agent-evaluation

Evaluate and optimize LLM agent output quality using MLflow evaluation APIs.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Blackkadder/databricks-apps-and-agents-workshop --skill agent-evaluation-blackkadder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-evaluation
Source: https://github.com/Blackkadder/databricks-apps-and-agents-workshop/tree/main/.claude/skills/agent-evaluation
Command: npx skills add https://github.com/Blackkadder/databricks-apps-and-agents-workshop --skill agent-evaluation-blackkadder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a repeatable, MLflow-native workflow to evaluate and improve the output quality of LLM agents, addressing issues like wrong or incomplete responses, incorrect tool selection, and cost-inefficient behavior.

Core Features & Use Cases

  • MLflow-native evaluation: Uses mlflow.genai.datasets, mlflow.genai.scorers, and mlflow.genai.evaluate to ensure traceability and observability.
  • Tracing and diagnostics: Guides instrumenting with MLflow tracing to capture prompts, tool usage, and runtime behavior for failure analysis.
  • Dataset and scorer management: Discovers existing datasets, creates new datasets with provided templates, registers scorers, and runs automated evaluations; ideal for QA, model benchmarking, and pre-deployment validation.

Quick Start

Run an MLflow-backed evaluation by discovering datasets, registering scorers, enabling tracing, and executing the provided evaluation scripts.

Frequently Asked Questions about agent-evaluation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate LLM agent output quality using MLflow?

To evaluate LLM agent output quality using MLflow, you use the mlflow.genai.evaluate API alongside registered scorers and datasets to measure tool selection accuracy, answer quality, and cost. This provides a repeatable workflow for QA and pre-deployment validation.

What is MLflow tracing for LLM agents and when do I need it?

MLflow tracing for LLM agents captures prompts, tool usage, and runtime behavior to enable failure analysis. You need it when diagnosing incorrect responses or cost-inefficient behavior in your GenAI agents during development.

Does MLflow genai evaluation require specific datasets and scorers?

Yes, MLflow genai evaluation requires MLflow version 3.8 or higher and utilizes genai datasets and registered scorers. The Skill provides scripts and templates to discover existing datasets, create new ones, and register scorers for automated evaluation.

What's the best way to benchmark GenAI agents for tool selection accuracy?

The best way to benchmark GenAI agents for tool selection accuracy is using the MLflow-native evaluation workflow. It applies registered scorers via the mlflow.genai.evaluate API to systematically measure and optimize agent behavior across your datasets.

How do I analyze LLM agent failures during pre-deployment validation?

You analyze LLM agent failures by instrumenting your agents with MLflow tracing to capture runtime behavior, then running automated evaluations with provided scripts. This diagnostics approach pinpoints incorrect tool selection and incomplete responses.