How do you make agent evaluations run automatically on every change?
- Exam domain
- Evaluating and deploying agentic workflows~22% of the exam
- Difficulty
- Easy
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Evaluating agents in development and in production.
Objective in the exam guide: Creating continuous evaluation pipelines to assess an agent's tool execution based on established success criteria.
Continuous evaluation catches regressions when they are made.
Why D is the answer
Run them in the CI pipeline with adk eval or pytest
ADK evaluations run from the command line with adk eval or from pytest, so a pipeline can run them on every change and block regressions.
Remember: Evals belong in CI.
How it works
Run adk eval or pytest with AgentEvaluator in CI on every change.
Failing criteria fail the build.
Clues in the question
The words that point to the answer, and what each one tells you.
- automatically on every change
- CI.
In detail
- Continuous evaluation is named in the exam guide.
- Store results to compare runs over time.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Evaluate once at launch and never againWrong
Agents change with prompts, tools and models, so one evaluation goes stale.
B. Evaluate only after users complainWrong
Complaints arrive after the damage.
C. Ask a teammate to chat with the agent before each releaseWrongMost tempting
Manual chats are inconsistent and miss regressions.
Why it tempts: Manual checks are slow and inconsistent.
D. Run them in the CI pipeline with adk eval or pytestRight
Evals belong in CI.
Use case
An illustrative scenario, not a real incident.
Illustrative: a prompt edit drops the pass rate below the threshold, and the merge is blocked with the failing cases listed.
See it in different ways
flowchart LR S0["Change pushed"] --> S1["Pipeline runs evals"] --> S2["Thresholds checked"] --> S3["Merge or block"]
How to read this chart
- Read it in order: Change pushed, then Pipeline runs evals, then Thresholds checked, then Merge or block.
stateDiagram-v2 state "Change pushed" as s0 state "Evals run" as s1 state "Merged" as s2 state "Blocked" as s3 [*] --> s0 s0 --> s1 s1 --> s2: above threshold s1 --> s3: below threshold s2 --> [*] s3 --> [*]
How to read this chart
- It starts at "Change pushed".
- From "Change pushed", it moves to "Evals run".
- From "Evals run", "above threshold" moves it to "Merged".
- From "Evals run", "below threshold" moves it to "Blocked".
- It ends at "Merged" or "Blocked".