AI Cloud Architect

Driving the Agent Quality Flywheel from Your Coding Agent

GoogleHow-to by Dima Melnyk and Jason DaiGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A coding-agent skill drives an agent quality loop (prepare data, run inference, grade with AutoRaters, analyze failures, optimize) against the GenAI evaluation service.

Who it is for

Teams building ADK or other agents who want to test prompt or instruction changes against evals instead of spot checks.

Key points

  • Two packages: google-agents-cli-eval for ADK with agents-cli, and agent-platform-eval-flywheel for the Evaluation SDK.
  • Requires a GCP project with the Agent Platform GenAI Evaluation Service enabled and OpenTelemetry traces for production grading.
  • The optimizer never grades its own fixes; the GenAI evaluation service scores them independently.
  • Google reports a travel-concierge revision-handling failure fell from 21% to 5% IGNORED after a three-sentence instruction change.

The same at other vendors

Timeline

  1. This postDriving the Agent Quality Flywheel from Your Coding Agent
  2. What it explainsAgent and Model Evaluations in Gemini Enterprise Agent Platform are now GA · Google · Announcement

Go deeper