- Spot-check outputs by hand
- Miss flaky tool routing
- Discover regressions in production
- Guess at latency and spend
Ship agents with
evidence, not hope.
AgentEval is a CI evaluation harness for LLM agents. Test answers, tool choices, trajectories, latency, cost, and flakiness before a regression reaches production.
The problem
Agents fail differently
from regular software.
A prompt, model, or tool change can silently improve one answer while breaking another. Traditional unit tests cannot see quality drift, fabricated claims, or the wrong execution path.
- Versioned YAML golden cases
- Deterministic-first scoring
- Reviewable regression gates
- Reproducible run evidence
Evaluation primitives
Everything an agent CI gate needs.
Focused evidence for every layer between a user prompt and an agent’s final answer.
Framework adapters
CrewAI built in. LangGraph-ready.
Normalize CrewAI crews today, or connect LangGraph and custom
orchestrators through one compact AgentAdapter contract.
Execution evidence
Trajectory scoring
Compare expected and actual node sequences with order-aware LCS scoring and exact-match evidence.
Repeatability
Flakiness detection
Repeat selected cases, separate consistently wrong behavior from unstable outputs, and retain every observation.
Performance
Cost + latency tracking
See p50 and p95 response time, provider-reported token usage, and estimated cost for every run.
Quality
Deterministic-first metrics
Score exact, contains, numeric, table, hallucination, and tool-call expectations before using an LLM judge.
Regression control
CI gates that fail loudly.
Catch correctness drops, hallucination spikes, missing cases, evaluator failures, and agent errors without hiding outages inside quality rates.
Small interface, real evidence
From crew to CI report
in a few lines.
Wrap your crew, point AgentEval at a YAML suite, and get a normalized report that can be stored, compared, and gated in CI.
- 1 Install from PyPI
- 2 Connect an adapter
- 3 Run your golden suite
from my_crew.crew import MyCrew
from agenteval.adapters import CrewAIAdapter
from agenteval.core.runner import run_golden_suite
adapter = CrewAIAdapter(
crew_factory=lambda: MyCrew().crew(),
input_key="topic",
)
report = run_golden_suite(
adapter,
cases_path="tests/golden/cases.yaml",
adapter_name="research_crew",
)
print(report.correctness_rate) # 0.952
Project status
Make regressions reviewable
Give your agents a quality gate.
Start with a golden case. Add the rest when the evidence earns it.