agent-evaluation-mlflow

Implement agent evaluation and safety gates using MLflow 3.x scoring and tracing workflows.

2|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/raphaelmansuy/k8s-agent-stack --skill agent-evaluation-mlflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-evaluation-mlflow
Source: https://github.com/raphaelmansuy/k8s-agent-stack/tree/main/archive/skills/agent-evaluation-mlflow
Command: npx skills add https://github.com/raphaelmansuy/k8s-agent-stack --skill agent-evaluation-mlflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Implement agent evaluation and safety gates using MLflow 3.x to ensure agents meet quality and safety standards before deployment.

Core Features & Use Cases

  • MLflow-based evaluation: Track experiments, automate scoring, and store traces for auditability.
  • Built-in scorers: Safety, Correctness, Relevance, Hallucination, and guidelines-based checks.
  • Quality gates: Pre-deploy and continuous evaluation to block deployments that fail thresholds.

Quick Start

Run an MLflow-backed evaluation against a sample dataset to validate safety and quality gates.

Frequently Asked Questions about agent-evaluation-mlflow

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

FAQPage Schema
How do I set up MLflow evaluation for LLM agents?

MLflow evaluation automates agent scoring and tracking using MLflow 3.x. Configure a tracking server, define your evaluation dataset, and deploy built-in or custom scorers (Safety, Correctness, Relevance, Hallucination, Guidelines) to measure agent quality across experiments and traces.

What are safety gates and how do quality gates work in agent deployment?

Quality gates are threshold-based checks that block unsafe or low-quality agent deployments. MLflow safety gates enforce pre-deploy validation, continuous monitoring, canary testing, and drift detection to ensure agents meet safety and correctness standards before reaching production.

Can I detect hallucination and PII leakage in LLM agents?

Yes. MLflow evaluation includes Groundedness and safety scorers that detect hallucinations and PII leakage. Combine these with custom scorers, prompt-injection resilience checks, and tool safety validation to catch quality issues across your agent lifecycle.

How do I trace and audit agent behavior with MLflow?

MLflow tracing captures automatic and manual agent execution logs for auditability. Store traces alongside evaluation results and scorer outputs so you can replay, debug, and audit agent decisions during testing and post-deployment monitoring.

Does MLflow evaluation work with multi-scorer frameworks?

Yes. MLflow supports parallel evaluation across multiple scorers—Safety, Correctness, Relevance, Hallucination, Guidelines, ChunkRelevance, and custom scorers. Combine scores into a single evaluation gate to validate agents against diverse quality dimensions.

What's the difference between pre-deploy gates and continuous evaluation?

Pre-deploy gates validate agents before release using batch evaluation datasets. Continuous evaluation monitors live agents for drift and degradation post-deployment. MLflow integrates both to enforce quality standards across the full agent lifecycle.