Skip to content
Google Developers Blog·Indexed by this site · Originally published· Tools →

Google open-sources AQuA: a resident quality agent for diagnosing production agent failures

The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent- Google Developers Blog

AI summary

Google open-sourced AQuA (Ambient Quality Agent) in ADK recipes, a quality agent that runs persistently within a Google Cloud project to diagnose production environment agent failures. It pulls up to 1000 recent sessions on a schedule or on demand from Cloud Trace, Cloud Logging, or BigQuery, and runs them through a five-stage pipeline—sampling, review, clustering, validation, and tracing—to turn raw traces into verified insights, without entering the request path or writing back to the agent. The review stage scores each session against a nine-point checklist and generates structured actual/expected findings; the validation stage uses an independent model to discard clusters with insufficient evidence against up to three full records. Root cause analysis compares against the source snapshot at deployment time, pinpoints planning/prompt.py:93 and inspiration/prompt.py:23, and gives anchored modification suggestions, but does not apply edits or open PRs itself.

Read originaldevelopers.googleblog.com