AI Agent Evals in CI

Evals are the test suite for an AI agent's behavior. Without them, every prompt tweak is a silent gamble — you change a word and find out in production whether accuracy dropped. agentFast ships evals that run in CI and fail the build on a regression.

Below threshold, the build goes red
AI agent evals in CI: agentfast eval exits non-zero when a metric drops below thresholdA fresh-context judge that cannot be contaminated, plus deterministic scorers for containment, tool-use and grounding. Below threshold, the build fails.$ agentfast evalcontainmentthr 0.850.94PASStool-usethr 0.80.91PASSgroundingthr 0.850.72FAILexit 1 — grounding below threshold→ the build goes red before a customer sees itfresh-contextjudgesees output +rubric onlyfails closed
How the scoring works

A judge that can't be contaminated

The LLM judge runs in a fresh context — it sees the output and the rubric, never the agent's reasoning — so it can't be talked into a passing grade.

Fails closed

The judge is read-only and fails closed: if it can't reach a confident verdict, the case does not silently pass.

Deterministic scorers

Free, auditable scorers for containment, tool-use and grounding — fast and reproducible, exactly what you want gating a PR.

One command, non-zero exit on breach
ci
agentfast eval
# runs the seeded cases, prints per-metric scores
# exits 1 if any metric is below its configured threshold
Ship prompt changes on evidence, not hope
Thresholds live in agentfast.yaml. Drop agentfast eval into CI and a change that regresses accuracy, tool-use, or grounding turns the build red before it reaches a customer. Each template ships with 15 seeded eval cases to start from.

Eval outcomes land in the same per-run telemetry as cost and latency, so you track quality alongside spend. See them in the SupportAgent, ResearchAgent, and CodeAgent templates.

Stop rebuilding the plumbing.

agentFast is the production layer — memory, 50 tools, observability, evals, guardrails, human-in-the-loop — for LangGraph, CrewAI, the Claude & OpenAI Agent SDKs & Vanilla. Own it for life.

Get agentFast — from $89