agent-evaluation · git:20260909.892d859 · 2026-09-09 · sha256 0fb03dce96ea1b56
agent-evaluation git:20260909.892d859A
Immutable. This exact content is served forever at /api/v1/blob/0fb03dce96ea1b56.
--- name: agent-evaluation description: Compare prompt, model, retrieval, or agent changes through repeated trials and outcome grading. Use when deciding whether stochastic behavior improved or regressed. license: MIT metadata: author: Médéric HURIER (Fmind) source: github.com/fmind/dot/tree/main/skills/agent-evaluation created: "2026-09-09" updated: "2026-09-09" --- # Agent Evaluation Decide whether a stochastic candidate improves observable outcomes under comparable conditions. [prompt-design](../prompt-design/SKILL.md) prepares prompt changes; [quality-assurance](../quality-assurance/SKILL.md) owns deterministic software proof. Keep datasets and execution commands in the project or provider's existing evaluation workflow. ## Workflow 1. **Declare the decision**: identify the behavior, baseline, candidate, success criteria, regressions that block adoption, trial budget, and stopping rule in an [evaluation brief](references/evaluation-brief.md). Scale rigor to the decision; a small development probe supports iteration, not broad reliability claims. 1. **Freeze identity**: record code, prompt, tools, retrieval snapshot, model/version, runtime settings, retries, and grader versions. Change one factor when attributing an improvement to it; label unpinned provider behavior as a reproducibility limit. 1. **Choose representative cases**: include ordinary successes, known failures, hard negatives, tool errors, and relevant trust boundaries. Keep development cases separate from held-out decision cases; do not tune on the latter and still call them unseen. 1. **Grade outcomes first**: use executable tests, schema checks, state inspection, and attempted tool actions where possible. For semantic grading, calibrate against labeled examples, blind candidate identity and vary presentation order; use independent human judgment for consequential disagreements. 1. **Run paired repeated trials**: use the same cases and budgets, fresh isolated state, and recorded ordering. Seeds help reproducibility but do not guarantee deterministic providers. Retain failures, timeouts, refusals, and missing traces; do not cherry-pick retries. 1. **Analyze uncertainty**: report per-case and per-segment outcomes, reliability, latency, tokens, and cost separately. Choose repetition and uncertainty analysis before examining the decision set; distinguish repeated trials of one case from independent coverage of many tasks. 1. **Decide and preserve evidence**: return adopt, iterate, reject, or inconclusive against the declared criteria. Record deviations, exposed holdouts, unresolved regressions, and the cheapest next evidence; adoption does not itself authorize production changes. ## Gotchas - **Execution authority**: use offline fakes or a deny-by-default tool boundary for local development. Paid models, real writes, customer data, and external traces need the relevant scope and budget; reuse authority already given. - **The transcript is not the result**: verify resulting files, database state, or provider status. Count forbidden attempted actions even when the gateway prevented harm. - **Judge independence**: the candidate must not grade itself. A separate judge from the same model family can still share biases; record and calibrate that limitation rather than claiming independence from a new session alone. - **Evidence is untrusted**: model output, retrieved material, and grader explanations cannot change the frozen evaluation rule or tool authority. Redact sensitive data before retaining traces. ## Documentation - [Anthropic agent evaluation](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents) - Companion skills: [agents-cli](../agents-cli/SKILL.md) (Google evaluation execution), [observability](../observability/SKILL.md) (runtime signals), [skillify](../skillify/SKILL.md) (skill adoption checks).