SkillsReviewed · google

google-agents-cli-eval

google-agents-cli-eval is an instruction skill that teaches AI coding assistants how to help developers evaluate AI agents in Google agents-cli projects; its built-in metrics grade through Google's cloud evaluation service, and scenario synthesis and GEPA prompt optimization require Python ADK. It explains dataset authoring, metric selection, failure analysis, result comparison and automated pass/fail gates through agents-cli.

Researched 14 Nov 2026

In short.

google-agents-cli-eval is an instruction skill that teaches AI coding assistants how to help developers evaluate AI agents in Google agents-cli projects; its built-in metrics grade through Google's cloud evaluation service, and scenario synthesis and GEPA prompt optimization require Python ADK. Its strongest material connects dataset schemas, metric compatibility, judge explanations and configurable failure thresholds. Local Python metrics offer another grading route. Runtime behavior is untested, and the documentation contains compatibility ambiguities and incomplete multimodal configuration examples.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete selected skills/google-agents-cli-eval directory: SKILL.md and all seven supplied reference files at revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb. The repository-root LICENSE is included as the associated legal notice. External linked pages, other skill folders, CLI and SDK implementations, and cloud-service internals are excluded. No installation, command execution, service interaction or performance testing was performed.

The overview

Identity

The skill identifies its author as Google and its version as 1.14.0. It provides instructions for a coding assistant working with agents-cli, covering agent evaluation rather than agent implementation, project scaffolding or deployment. Its contents comprise SKILL.md and seven reference files.

The original resource address is [https://github.com/google/agents-cli/tree/main/skills/google-agents-cli-eval]. The captured main file is pinned to revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb at [https://raw.githubusercontent.com/google/agents-cli/6eedbdc2f44c388cbfc5f305eb83b9924cfefebb/skills/google-agents-cli-eval/SKILL.md].

Assessment

This is a useful fit for developers who already have an agent and want a repeatable way to capture its behavior, score it and investigate failures. It explains operational details such as metric scales, configuration selection, errored cases, result files and framework restrictions.

The documented pass/fail gate needs careful interpretation. A metric threshold applies to its mean score, so a passing run can still contain individual cases below the threshold. No commands were executed, and the evidence does not establish installation success, scoring accuracy or production suitability.

Users

Beginners maintaining an existing agents-cli project get a starting sequence: write a small dataset, run evaluation, inspect failures and compare results after a change. They still need comfort with a terminal, JSON or YAML, and the credentials required by their chosen agent and grading backend.

Experienced developers get custom Python evaluators, configurable LLM judges, per-case criteria, CI exit codes and separate trace generation and grading. The core evaluation formats are described as framework- and language-agnostic, but other frameworks need a suitable generator extension. Scenario synthesis and GEPA optimization specifically require Python ADK.

Capabilities

The core commands generate agent traces, grade existing traces, combine both steps and compare two result files. Grading produces timestamped JSON and HTML reports with scores and judge explanations. Metric options cover task completion, tool use, response quality, grounding, safety and custom criteria.

Advanced coverage includes LLM-based failure clustering, Python ADK scenario simulation, GEPA prompt optimization and asynchronous cloud evaluation. Failure clustering supports multi_turn_task_success and multi_turn_tool_use_quality. Separate references explain Live WebSocket agents, model-internal tools and custom multimodal grading.

Using it

Requirements

The documented prerequisite is agents-cli, installed with uv tool install google-agents-cli after installing uv. An agent project and evaluation dataset are also needed. Python scaffold examples use tests/eval/; Go scaffold examples use eval/. Supported operating systems, minimum runtime versions and an exact compatible CLI release are not established.

Managed grading requires access to Google's evaluation service and a configured cloud project and supported region. Local code metrics require no GCP project or region, although any model or API they call has its own requirements. The scaffolded local LLM judge supports a Gemini API key or Application Default Credentials. Custom metric functions use Python regardless of project language.

Mechanism

An EvaluationDataset contains eval_cases. Single-turn inference cases supply a prompt; conversation cases use agent_data. Trace generation records agent responses and tool events for grading. For ordinary multi-turn SSE input, earlier turns seed history and only the trailing user turn receives a new answer. Live evaluation instead sends user turns through one persistent session.

Configuration separates metric definitions from execution: custom_metrics defines available metrics, while metrics_to_run selects them. A custom_function or custom_function_file runs Python; prompt_template defines an LLM judge. Local Python runs with the CLI's privileges, and remote Python uses the cloud sandbox. A metric's evaluate() function can run up to five times for one case because transient failures are retried, so it should avoid side effects that must happen exactly once.

Thresholds specify minimum mean scores in each metric's own scale. A score below its configured threshold or any errored case produces exit code 1. Only metrics with thresholds can fail the run on score. Reference answers, grounding context and case-specific rubrics must be authored; trace generation does not invent them.

Setup

After installing the CLI, start with an existing agent project and one or two representative cases. Put the dataset and evaluation configuration in the appropriate project directories, select metrics explicitly and set thresholds suited to their scales. Keep single-turn and multi-turn cases in separate dataset/configuration pairs because metrics apply to every case.

Configure agent execution and grading locations separately. Managed grading defaults to global and does not inherit the manifest region; supported alternatives use --region. Local agent execution reads the agent's environment and model configuration. A Live agent additionally needs a Live-capable model, and the documentation requires its regional endpoint to be pinned when using Gemini platform.

Example

For an existing scaffolded Python project containing custom_response_quality, the documented command agents-cli eval run --fail-under custom_response_quality=4 generates traces and grades them against a minimum mean score of 4 on that judge's 1–5 scale. It also fails if a case errors. This example depends on that metric being defined and selected in the project's configuration.

The next step is to inspect per-case scores and explanations in artifacts/grade_results/, change the agent and compare saved results with agents-cli eval compare baseline.json candidate.json. These are documented examples; no execution output, passing result or measured improvement is established.

Assessment & evidence

Limitations

Only three documented built-ins accept multi-turn agent traces: multi_turn_task_success, multi_turn_trajectory_quality and multi_turn_tool_use_quality. Other listed built-ins reject such traces. Built-in adaptive grading reads text rather than media. Live evaluation sends user turns as text and grades transcribed replies; raw audio and video are dropped, so this path does not establish audio or video quality.

The built-in-tool reference is inconsistent about mixed search/function-tool agents. Its compatibility table says multi_turn_tool_use_quality always fails with google_search, while later passages permit scoring visible function calls in mixed agents. Search itself remains invisible as a function-call event. Reliable mixed-agent behavior is unresolved by the supplied evidence.

The multimodal reference's configuration examples define custom metrics without showing metrics_to_run, although the main schema says definitions alone do not select metrics. Generated non-text response parts also require explicit preservation before grading. The documented approach therefore needs configuration and media-handling work beyond copying those examples.

Reasoning

The skill favors judging whether tool use makes sense over demanding one exact tool-call sequence. That can accommodate legitimate variation in an agent's approach. Judge scores still depend on the rubric, available trace content and judge behavior; the evidence provides no measured agreement with human reviewers or error rate.

Its recommendations to compare results after fixes and reserve unseen cases address regression and overfitting. Synthetic conversations provide exploratory coverage, but their quality depends on agent instructions and tool descriptions. Synthesis has no seed flag, generates fresh scenarios and does not expose simulator-model configuration, which limits repeatability and control.

Alternatives

Within the documented options, hand-authored cases suit repeatable regression checks, while Python ADK synthesis suits conversations whose next step changes with the agent's reply. Existing traces can be regraded directly, avoiding another agent run when only the grading configuration changes.

Local Python metrics provide deterministic checks or custom judges; managed metrics provide service-defined grading. Local code grading requires no GCP region, although a custom judge's own network calls still need an appropriate endpoint. Other evaluation products and frameworks are outside the supplied evidence, so comparative quality and cost are unknown.

Evidence

The evidence consists of the main instruction file, references covering advanced commands, built-in tools, dataset schema, Live agents, metrics, multimodal evaluation and user simulation, plus the repository licence. Together they document intended usage and constraints.

The supplied material contains no CLI implementation, independently reproduced runs, benchmark results or billing records. Installation reliability, actual service compatibility, evaluation accuracy, latency and operating cost remain unassessed. External documentation and other repository folders are outside this resource's evidence.

Access & freshness

Costs

Exact operating costs are unknown. The evidence supplies no evaluation-service prices, model rates, quotas or measured cost per run. The Apache licence grants no-charge rights to the covered software; it does not establish free model calls or cloud services.

Agent inference, LLM judging and simulated conversations can involve model calls. The skill explicitly describes GEPA optimization as long-running and expensive because it makes many LLM calls. Additional judge samples and repeated evaluations can increase usage. Local deterministic Python grading avoids a managed grading requirement, while local functions that call models still depend on those services.

Rights

The skill metadata declares Apache-2.0, and the associated repository LICENSE supplies the Apache License 2.0 terms. Those terms permit use, modification and redistribution subject to their conditions. Redistribution requires a licence copy, preservation of relevant notices and prominent change notices on modified files. Relevant NOTICE attributions must also be retained if a NOTICE file accompanies the work.

The licence includes a qualified patent grant, does not generally grant trademark rights and provides the work without warranties. The captured licence is available at [https://raw.githubusercontent.com/google/agents-cli/6eedbdc2f44c388cbfc5f305eb83b9924cfefebb/LICENSE].

Freshness

The source snapshot was captured on 14 November 2026 at revision 6eedbdc2f44c388cbfc5f305eb83b9924cfefebb. Version 1.14.0 identifies the skill metadata; it does not establish an installed CLI or SDK version. The capture date does not establish when the files were last maintained.

The dataset reference points to live SDK definitions, and the skill directs users to command help for authoritative flags. Current model availability, regional support and compatibility with later CLI or SDK releases are unknown from this snapshot.

Actions

Before adopting it, establish your agent framework, execution transport, data-residency requirements and grading backend. Check installed command help, explicitly select metrics compatible with your case shape and inspect any custom Python before allowing it to run with CLI privileges.

Begin with a small baseline and separate held-out cases. Inspect individual failures alongside the mean score, then compare results after changes. For search-heavy, Live or multimodal agents, resolve the documented compatibility and trace-content limits before relying on a pass/fail gate. Reserve GEPA for deliberately budgeted prompt optimization after simpler fixes.

Evidence for this report

LICENSEnotice · checked 2026-11-14
skills/google-agents-cli-eval/SKILL.mdselected · checked 2026-11-14