agent-evaluation

Evaluate LLM agent output quality using MLflow native APIs.

Updated Mar 23, 2024
One-click install
npx skills add https://github.com/m19c/dotfiles --skill agent-evaluation-m19c
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-evaluation
Source: https://github.com/m19c/dotfiles/tree/main/claude/.claude/skills/agent-evaluation
Command: npx skills add https://github.com/m19c/dotfiles --skill agent-evaluation-m19c

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow, instrumenting-with-mlflow-tracing, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of evaluating and optimizing the output quality of existing LLM agents, including improving tool selection accuracy, answer quality, and reducing costs.

Core Features & Use Cases

  • Systematic Evaluation: Utilizes MLflow evaluation with datasets, scorers, and tracing for comprehensive evaluation.
  • End-to-End Workflow: Covers every step from tracing setup to dataset creation and evaluation execution.
  • MLflow Integration: Encourages the use of MLflow's native APIs to ensure observability and tracking.
  • Custom Scorer Creation: Allows for the creation of custom scorers for specific quality criteria.
  • Dry Run: Provides a step-by-step dry run to catch issues early before full evaluation.

Quick Start

Run the agent evaluation with MLflow by executing: uv run python scripts/evaluate_agent.py

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?

You can evaluate LLM agent output quality using MLflow by leveraging its native APIs to systematically run evaluations with datasets, scorers, and tracing.

How do I create custom scorers for evaluating my LLM agents?

You can create custom scorers for evaluating LLM agents to measure specific quality criteria, such as tool selection accuracy and answer quality, within the evaluation workflow.

Do I need MLflow tracing setup to evaluate my LLM agents?

Yes, evaluating LLM agents requires MLflow and the instrumenting-with-mlflow-tracing skill to properly set up tracing for comprehensive observability and tracking during evaluation.

What's the best way to optimize LLM agents and reduce costs?

The best way to optimize LLM agents and reduce costs is through systematic evaluation using datasets and custom scorers to improve tool selection accuracy and overall answer quality.

Can I test my LLM agent evaluation for errors before running the full process?

Yes, you can run a step-by-step dry run to catch issues early and validate your datasets and scorers before executing the full LLM agent evaluation.