ai-agent-evaluation

Installation
SKILL.md

AI Agent Evaluation & Testing

Agents are non-deterministic, multi-step and act on the world. Test outcomes, trajectories, policy adherence and cost with datasets, not vibes.

What to measure

Level Metric How
Task outcome Success rate Check the end state programmatically (DB row, file, API effect) before using a judge
Trajectory Steps, loops, redundant calls, error recovery Assert on the recorded trace (must search before answering)
Tool use Right tool, schema-valid args, no invented tools Assert on tool-call log
Response quality Faithfulness, relevance, completeness, format LLM-as-judge with rubric + human spot-check
Policy Respects permissions, asks confirmation for irreversible actions Scenario set with must-not rules
Robustness Paraphrase, typos, other languages, long context Perturbation suites
Efficiency Tokens, latency p95, tool calls, cost per task Budget assertions
Consistency pass@k / pass^k over N runs Run each case 5–10×

Build the dataset

Start with 20–50 real or synthetic tasks from logs and tickets; grow to 200+. Tag by capability, difficulty and risk. Each case: input/context, expected outcome (assertion), optional reference trajectory, must-not rules. Include ambiguous asks (should it clarify?), tool failures (timeouts, 500s, empty results) and untrusted text inside tool outputs.

Installs
3
GitHub Stars
4
First Seen
Oct 24, 2026