Back to AI updates
GoogleNew features

The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent

This is relevant if your organisation has developers running AI agents in production on Google Cloud. It is a free, open-source tool that automatically samples live agent sessions, flags recurring failures, and suggests fixes, which can save a developer's time compared with manually reviewing transcripts.

Read the original source 3 min read
Diagram of AQuA inner loop and outer loop quality architecture.
Google AI Edge/Developers — AQuA inner-loop/outer-loop quality architecture. ↗

What changed

Google's Developers Blog introduced AQuA (Ambient Quality Agent), an open-source reference implementation for monitoring and diagnosing AI agents after they're deployed. Running in a developer's own Google Cloud project alongside their agent, outside the request path, it samples up to 1,000 recent production sessions from Cloud Trace, Cloud Logging, or BigQuery; grades each session against a nine-point failure checklist; clusters related failures and verifies them against full transcripts using a separate model; tracks issues as new, recurring, or resolved across runs; and can run on-demand root-cause analysis that cites specific lines in the deployed source and proposes fixes, though it never applies edits or opens pull requests itself. The code is open source (google/adk-recipes); a local demo needs no cloud project or credentials, but attaching it to a live agent requires a Google Cloud project and the agents-cli tooling, with the dashboard behind Identity-Aware Proxy. It is currently scaffolded one-to-one per agent; fleet-wide use is still being explored. Costs are usage-based under standard Gemini platform pricing.

Why it matters to your work

This is relevant if your organisation has developers running AI agents in production on Google Cloud. It is a free, open-source tool that automatically samples live agent sessions, flags recurring failures, and suggests fixes, which can save a developer's time compared with manually reviewing transcripts.

When this could help

Useful once an agent is live in production and you want a scheduled or on-demand quality sweep across recent sessions to catch regressions or recurring breakdowns (tool selection, grounding, task completion) before they're reported by users.

AQuA (Ambient Quality Agent) is an open-source reference agent that samples real production sessions, grades them against a nine-point failure checklist, clusters and verifies recurring issues against transcripts, and can run root-cause analysis citing specific source lines — all without sitting in the request path or editing your agent's code itself.

How to get started

  1. Try the local demo first: clone google/adk-recipes, cd into core/python/ambient-quality-agent, and run make demo (no cloud project or credentials needed).

    Provider guidance ↗
  2. Attach AQuA to your own agent: run agents-cli extension add, then agents-cli infra single-project --apply, then agents-cli deploy.

    Provider guidance ↗
  3. Set a plain-English developer goal in goal.md on the dashboard Configuration page to steer what AQuA grades sessions against.

    Provider guidance ↗
  4. Optionally add a deterministic rubric in eval_config.yaml and publish it with agents-cli aqua metrics publish.

    Provider guidance ↗
  5. Trigger root-cause analysis from the dashboard Chat, or run agents-cli aqua run, to get line-anchored findings you or a coding agent can apply on a branch.

    Provider guidance ↗

Build it into your routine

  1. Post-deployment quality sweep

    Run an AQuA sweep after each deployment to catch regressions in tool selection, grounding, or task completion before they surface as user complaints.

  2. Weekly recurring-issue triage

    Check the AQuA dashboard weekly for issues tracked as RECURRING across runs, and pull root-cause analysis for the ones still open after 14 days.

What to check

  • AQuA never applies an edit or opens a pull request on its own — it proposes line-anchored fixes for a human or coding agent to apply on a branch. Source ↗
  • Samples up to 1,000 recent sessions per run and verifies each cluster against up to three full transcripts, so it is a sampling-based sweep rather than an exhaustive audit. Source ↗
  • Currently scaffolded one-to-one per agent; a cluster is auto-resolved after 14 days unseen even if not explicitly fixed. Source ↗

Sources & provider guides

Official documentation checked 12 Oct 2026. SCALA prompts and workflows are suggestions, not claims of hands-on testing.

Source & availability

This is a summary of a published provider announcement, with practical context from SCALA’s feed.

Plan, region, workspace and rollout conditions may affect access in Australia. Check the original source for current availability.

developers.googleblog.com

This update is primarily for technical teams.