{
  "schemaVersion": "1.0",
  "schemaUrl": "https://www.yingxueyuan.cn/ai-directory.schema.json#/$defs/newsContentDocument",
  "name": "Google 开源 AQuA：在生产流量中诊断 Agent 质量回归｜映雪网资讯机器可读正文",
  "description": "单篇 AI 资讯结构化内容，含正文、逐节引用来源和编辑分析边界。",
  "siteUrl": "https://www.yingxueyuan.cn",
  "lastContentUpdate": "2026-10-31",
  "articles": [
    {
      "id": "google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08",
      "contentUrl": "https://www.yingxueyuan.cn/ai-content/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08.json",
      "category": "AI Agent 与自动化",
      "title": "Google 开源 AQuA：在生产流量中诊断 Agent 质量回归",
      "description": "AQuA 是 Google ADK Recipes 中的开源参考实现：在 Google Cloud 项目旁路抽样生产轨迹、聚类并核验失败，再按部署源码定位原因；它不自动改代码。",
      "summary": "Google Developers 于 2026-10-08 介绍 Ambient Quality Agent（AQuA）的生产 Agent 质量诊断流程：抽样会话、聚类失败、由另一模型核验，再把问题与部署源码快照对照。本文梳理初版的诊断逻辑；AQuA 在 2026-10-26 合并 v0.2.0 更新后已支持一套实例关联多套 Agent，且改用 agents-cli aqua attach 配置，原 Terraform/环境变量配置需要迁移。",
      "searchAliases": [
        "Google AQuA",
        "Ambient Quality Agent",
        "Google ADK 生产 Agent 质量监控",
        "Agent 生产质量回归诊断",
        "Google Agent 外环质量评估"
      ],
      "publishedAt": "2026-10-08",
      "updatedAt": "2026-10-31",
      "url": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/",
      "relatedArticles": [
        {
          "id": "google-aqua-v0-2-multi-agent-fleet-upgrade-2026-10-26",
          "title": "Google AQuA v0.2.0：一个质量 Agent 管多套 Agent，升级先检查破坏性变化",
          "url": "https://www.yingxueyuan.cn/news/google-aqua-v0-2-multi-agent-fleet-upgrade-2026-10-26/",
          "contentUrl": "https://www.yingxueyuan.cn/ai-content/news/google-aqua-v0-2-multi-agent-fleet-upgrade-2026-10-26.json"
        }
      ],
      "relatedGuides": [
        {
          "title": "Agent 框架和搭建平台怎么选？Dify、LangGraph、CrewAI 对照",
          "url": "https://www.yingxueyuan.cn/docs/agent-framework-vs-platform/"
        }
      ],
      "source": {
        "name": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
        "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
      },
      "sources": [
        {
          "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
          "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
        },
        {
          "label": "Google ADK Recipes：AQuA 开源代码库",
          "url": "https://github.com/google/adk-recipes/tree/main/core/python/ambient-quality-agent"
        },
        {
          "label": "Google Agents CLI：项目与命令文档",
          "url": "https://github.com/google/agents-cli"
        },
        {
          "label": "Google ADK Recipes：v0.2.0 合并记录与升级说明",
          "url": "https://github.com/google/adk-recipes/pull/2830"
        }
      ],
      "author": {
        "@type": "Organization",
        "@id": "https://www.yingxueyuan.cn/#editorial-team",
        "name": "映雪网编辑部",
        "url": "https://www.yingxueyuan.cn/editorial-policy/",
        "parentOrganization": {
          "@id": "https://www.yingxueyuan.cn/#organization"
        }
      },
      "publisher": {
        "@type": "Organization",
        "@id": "https://www.yingxueyuan.cn/#organization",
        "name": "映雪园智能科技",
        "alternateName": "映雪网",
        "brand": {
          "@type": "Brand",
          "@id": "https://www.yingxueyuan.cn/#brand-yingxuewang",
          "name": "映雪网",
          "url": "https://www.yingxueyuan.cn/"
        },
        "url": "https://www.yingxueyuan.cn/company/"
      },
      "sections": [
        {
          "id": "why-production-quality-drifts",
          "heading": "基础设施健康不代表对话任务完成得好",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#why-production-quality-drifts",
          "paragraphs": [
            "Google 举例说明，Agent 可以正常返回 HTTP 200、没有工具报错，却仍然跳过座位可用性查询，或忽略旅客的素食偏好。模型、提示词、工具契约、编排和子 Agent 交接都可能造成相似的表面结果，单看延迟、错误率或汇总评分很难定位原因。",
            "AQuA 面向上线后的“外环”：在已部署 Agent 的生产轨迹中找重复失败，再为离线评估和代码修复提供带证据的问题线索。它补充已有评估和监控流程，不能替代上线前测试，也不提供确定性真值。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            }
          ],
          "editorialNote": false
        },
        {
          "id": "five-stage-diagnostic-pipeline",
          "heading": "五阶段流程从抽样会话形成可复核的问题线索",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#five-stage-diagnostic-pipeline",
          "paragraphs": [
            "官方介绍的流程依次为：从 Cloud Trace、Cloud Logging 或 BigQuery 随机抽样最多 1,000 个近期会话；按工具选择与参数、任务完成、上下文等清单审查；把相似失败聚成候选问题；另一个模型对照最多三条完整轨迹核验候选；再将保留的问题记为新发现、重复出现或已解决。需要进一步查因时，AQuA 会读取部署时保存的源码快照，并可引用文件路径和行号。",
            "这意味着核验范围是有上限的：每个候选问题只会抽查最多三条轨迹，并非逐条人工复核所有命中会话。Google 将其称为 MVP；每轮最多核验 50 个问题簇，长会话的压缩、跨多套 Agent 的集中接入也仍是后续方向。",
            "AQuA 不会自动应用建议或开 Pull Request。修复仍需开发者或编码 Agent 检查轨迹、代码和外部依赖，再通过可重复评估验证改动。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            }
          ],
          "editorialNote": false
        },
        {
          "id": "architecture-and-prerequisites",
          "heading": "初版部署方式已由 10 月 26 日更新改变",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#architecture-and-prerequisites",
          "paragraphs": [
            "10 月 8 日文章展示的版本以单个 ADK Agent 和 Terraform 配置为中心。Google ADK Recipes 于 10 月 26 日合并 v0.2.0 后，一套 AQuA 可关联多套 Agent（也可来自其他 Google Cloud 项目），为每套分别保存配置、计划、调查、问题记录和源码快照；接入配置改由 agents-cli aqua attach 管理，不再按初版教程部署。",
            "因此初版文章中的部署命令只适用于当时流程。评估当前版本或升级现有实例时，应优先看 v0.2.0 合并记录：旧 Terraform 变量与环境变量已移除/忽略，改用 attach 对应参数；工具链最低版本、遥测来源选择和既有权限清理也有变化。其他 Agent 框架仍不能据此推断已有一键接入或跨云托管服务。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            },
            {
              "label": "Google ADK Recipes：AQuA 开源代码库",
              "url": "https://github.com/google/adk-recipes/tree/main/core/python/ambient-quality-agent"
            },
            {
              "label": "Google Agents CLI：项目与命令文档",
              "url": "https://github.com/google/agents-cli"
            },
            {
              "label": "Google ADK Recipes：v0.2.0 合并记录与升级说明",
              "url": "https://github.com/google/adk-recipes/pull/2830"
            }
          ],
          "editorialNote": false
        },
        {
          "id": "sample-results-and-cost",
          "heading": "示例结果和费用数字来自厂商演示",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#sample-results-and-cost",
          "paragraphs": [
            "Google 用 32 个旅行任务会话演示流程：系统报告 42 条结构化发现，聚类后由核验器排除 3 个误报簇，保留 6 个问题；两处提示词修复部署后，官方报告完整会话通过数从 5/32 增至 13/32。它是 Google 的示例工作负载与复测数据，不是独立基准，也不保证换到其他业务后会得到同样改善。",
            "官方给出的另一个 96 会话单 Agent 扫描费用约为 0.70 美元，旅行多 Agent 示例约为 3.76 美元；按需根因诊断另约 0.33 至 2.47 美元。这些数值由该文章按其模型、轨迹长度和当时价格估算，实际账单会随采样量、会话深度、所选模型和地区变化。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            }
          ],
          "editorialNote": false
        },
        {
          "id": "who-should-evaluate-it",
          "heading": "适合已有遥测与复核流程的 ADK 团队先做小规模评估",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#who-should-evaluate-it",
          "paragraphs": [
            "如果生产 Agent 已运行在 Google Cloud、已有可用轨迹和源码版本记录，可以先用合成数据的本地仪表板熟悉界面，再选低敏感度工作负载评估云上扫描成本、发现质量和人工复核时间。官方本地演示使用合成数据，不需 Cloud 项目、凭据或模型调用。",
            "若团队使用其他框架、没有可靠的轨迹与版本映射，或不希望生产会话进入模型审查流程，应先验证数据边界和集成工作量，再决定是否复用思路或改用已有评估方案。不要把模型标记的问题直接当作已证实缺陷或自动修复指令。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            },
            {
              "label": "Google ADK Recipes：AQuA 开源代码库",
              "url": "https://github.com/google/adk-recipes/tree/main/core/python/ambient-quality-agent"
            }
          ],
          "editorialNote": false
        },
        {
          "id": "source-and-scope",
          "heading": "来源与核验范围",
          "detailsUrl": "https://www.yingxueyuan.cn/news/google-aqua-ambient-quality-agent-production-diagnostics-2026-10-08/#source-and-scope",
          "paragraphs": [
            "本文依据 Google Developers 于 2026-10-08 发布的初版介绍和 google/adk-recipes 于 2026-10-26 合并的 v0.2.0 PR，于 2026-10-31 整理。未部署该参考实现、未登录 Google Cloud 运行演示，也未独立复核准确率、区域资格或实际费用；示例结果和版本变更按官方材料归纳。"
          ],
          "sources": [
            {
              "label": "Google Developers：The Outer Loop, Insights First: An Ambient Quality Agent That Diagnoses Your Production Agent",
              "url": "https://developers.googleblog.com/the-outer-loop-insights-first-an-ambient-quality-agent-that-diagnoses-your-production-agent/"
            },
            {
              "label": "Google ADK Recipes：AQuA 开源代码库",
              "url": "https://github.com/google/adk-recipes/tree/main/core/python/ambient-quality-agent"
            },
            {
              "label": "Google Agents CLI：项目与命令文档",
              "url": "https://github.com/google/agents-cli"
            },
            {
              "label": "Google ADK Recipes：v0.2.0 合并记录与升级说明",
              "url": "https://github.com/google/adk-recipes/pull/2830"
            }
          ],
          "editorialNote": true
        }
      ]
    }
  ]
}
