Skip to content

google-agents-cli-eval

Evaluate ADK agents with metrics, evalsets, and the iterative eval-fix loop.

— (0 ratings) 600.9K downloads google
$ npx skills add https://github.com/google/agents-cli --skill google-agents-cli-eval

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Evaluate ADK agents with metrics, evalsets, and the iterative eval-fix loop.

  • Run evaluations with agents-cli eval run using configurable criteria (tool trajectory, response matching, rubric-based scoring, hallucination detection, safety checks) and match types (EXACT, IN_ORDER, ANY_ORDER)
  • Build evalsets with multi-turn conversation cases, expected tool trajectories, intermediate responses, and session state overrides
  • Iterate through 5-10+ eval-fix cycles: diagnose failures, fix agent instructions or tool logic, rerun, and track progress with task lists
  • Avoid common pitfalls: don't lower thresholds to hide failures, handle extra tool calls with IN_ORDER matching, ensure app name matches directory, and initialize state with callbacks to prevent KeyError crashes

Agent Evaluation Guide

Requires: agents-cli (uv tool install google-agents-cli) — install uv first if needed.

Scaffolded project? If you used /google-agents-cli-scaffold, dataset and a custom metric are already scaffolded in tests/eval/ (Python projects) or eval/ (Go projects). For simplicity, this skill and its references use the Python directory layout; adjust accordingly if you've scaffolded a Go agent.
You already have agents-cli eval run (chains generate + grade), tests/eval/datasets/, and tests/eval/eval_config.yaml. Start with executing eval run and iterate from there.

Reference Files

File Contents
references/dataset_schema.md Canonical EvaluationDataset schema — all field types, JSON examples for single-turn / multi-turn / multi-agent, common mistakes
references/metrics-guide.md Complete metrics reference — all built-in metrics, match types, custom metrics, judge model config
references/user-simulation.md Dynamic conversation testing — eval dataset synthesize flags, what scenarios are, compatible metrics
references/builtin-tools-eval.md google_search and model-internal tools — trajectory behavior, metric compatibility
references/advanced-commands.md Opt-in commands: eval analyze, eval optimize, eval submit / eval results
references/multimodal-eval.md Multimodal inputs — eval dataset schema, built-in metric limitations, custom evaluator pattern
references/live-eval.md Live and voice agents — --mode adk_live, what gets graded, user-only turn authoring, the Live-model and region traps

Installs: 600.9K | GitHub stars: 6.4K | First seen: Apr 21, 2026

Related skills

New

Agent workflows

find-skills

Helps users discover and install agent skills.

New • 4.6M
New

Agent workflows

agent-browser

Fast, persistent browser automation with session continuity across sequential agent commands.

New • 1.8M
New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M