Running evals: web UI, CLI and pytest
ADK runs the same evaluation three ways. See how to build test cases from real chats in adk web, run eval sets from the terminal with adk eval, and wire evals into your suite with pytest.
9 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 9 minutes.
Written from the official documentation
In this module: ADK evaluation
- How ADK evaluates an agentEvalsets, trajectory and response scoring, pass and fail, animated.Pro
- Test files vs evalsets.test.json for unit-style, .evalset.json for integration.Pro
- Trajectory and response criteriatool_trajectory_avg_score and response_match_score.Pro
- LLM-as-judge criteriafinal_response_match_v2, rubrics, hallucinations, safety.Pro
- Multi-turn and user simulationLetting an AI play the user.Pro
- Environment simulationTesting without real backends.Pro
- Custom metricsScoring what matters to your product.Pro
- Efficiency metricsTool calls, model calls, tokens and latency.Pro
- Running evals: web UI, CLI and pytestadk web, adk eval and AgentEvaluator.Pro
- Evals in CI/CDBlocking a merge when quality drops.Pro
- Testing deployed agentsSmoke tests against a live endpoint.Pro
- OptimizationImproving an agent from eval results.Pro