Agents CLI Evaluation Guide is the evaluation skill in Google's agents-cli suite. It teaches a coding agent to test an agent built with the Agent Development Kit (ADK) or another framework agents-cli supports by running it over a dataset of cases, grading each trace with metrics and fixing the agent until the scores hold, rather than declaring it done after a demo.
The core is a fixed loop. The agent writes one or two cases for the agent's main task and agrees a pass bar with the user, runs agents-cli eval run, reports every case's score per metric plus the final RESULT: PASS|FAIL line (a passing mean can hide a failing case), reads the judge's rationale for each failure, changes the agent and reruns, comparing each metric and case with the previous results file. Five to ten or more iterations per case is described as normal. The bar is never lowered to make a case pass: a flaky case gets a lower temperature, more judge samples or a rubric metric instead.
A metrics table maps goals to built-ins: multi_turn_task_success, multi_turn_trajectory_quality and multi_turn_tool_use_quality for multi-turn traces, final_response_quality, hallucination or grounding, safety, final_response_match against a golden answer, per-case rubrics, and custom LLM-judge or code metrics. A second table says what to change in the agent when each one is low. Because eval run exits non-zero below a threshold, it can gate CI, and the skill requires a fresh run before every deploy.
It also covers splitting runs into eval generate and eval grade, holding back cases to catch overfitting, simulated-user datasets with eval dataset synthesize, failure clustering with eval analyze, prompt tuning with eval optimize (ADK Python only, run once and only on request) and the managed Eval Service. Bundled references cover dataset schema, metrics, multimodal cases and hill-climbing. Requires agents-cli (uv tool install google-agents-cli). Apache-2.0.