Workflows
Eval a prompt before you trust it
Measure an agent or a prompt with real cases and negative controls, then change one thing at a time. Built on foundry-evals and agent-evals-starter.
"It worked when I tried it" is one sample. An eval is the same question asked on purpose, many times, with a grader you trust. Without one, every prompt change is a guess.
What you install
claude plugin marketplace add ai-foundry-byu/foundry-marketplace
claude plugin install foundry-evals@ai-foundryNew to evals? Run agent-evals-starter first. It runs offline and shows every part on a small support agent.
The steps
- Scaffold a suite.
new-evalwrites cases, a runner, code graders, a yes-or-no judge and negative controls. - Add controls. A do-nothing agent and a pushover agent should both score badly. If they don't, your graders are broken, not your agent.
- Run it and read it.
run-evalreports the score with a confidence interval and compares it with the last run. - Audit it. The
eval-auditoragent looks for problems that make a score meaningless, like a judge that agrees with everything. - Hill-climb one change at a time.
hillclimbchanges one thing, re-runs, and keeps the change only if it beats noise.
Check your work
The do-nothing control fails. Your score has an interval, not just a number. You can name the one change that moved it.
Limits
A suite's score is not held-out accuracy unless you keep a test split and score it separately. new-eval is labeled beta. The full skill series starts at Agent evals.