Overview
AI Testing and Evaluation framework for validating prompt and agent outputs.
The AI Testing and Evaluation framework (Umbraco.AI core) provides automated validation of AI outputs. You can define tests that run prompts or agents, then grade the results against success criteria to detect regressions and compare model configurations.
Installation
The testing framework is included in the core Umbraco.AI package. No additional installation is required.

Features
Graders - Define success criteria with code-based and model-based graders
Variations - A/B test across different models, profiles, and configurations
Baselines - Set a run as a baseline for regression detection
Batch Execution - Run multiple tests at once or filter by tags
Metrics - Calculate pass@k and pass^k for non-deterministic outputs
Transcripts - Capture full execution traces for debugging
How It Works
Create a test targeting a prompt or agent with one or more graders
Run the test to execute the target and grade the output
Review results including per-grader scores, metrics, and transcripts
Set a baseline and compare future runs for regression detection
Add variations to compare different model configurations side by side
Quick Start
Navigate to the AI section > Tests
Click Create and select a prompt or agent to test
Add graders to define success criteria
Click Run to execute the test and review results
See Getting Started for a detailed walkthrough.
Documentation
Tests, graders, variations, and metrics
Step-by-step setup guide
All built-in grader types
A/B testing across configurations
Management API endpoints
Related
Prompt Management - Prompt templates
Agent Runtime - Agent definitions
Guardrails - Safety and compliance rules
Last updated
Was this helpful?