# Google 智能体开发工具包

Google 智能体开发工具包（Google Agent Development Kit，ADK）是 Google 推出的一个开源、代码优先的框架，用于构建、评估和部署 AI 智能体及多智能体系统，于 2025 年 4 月在 Google Cloud NEXT 2025 上发布。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> 它处于 Gemini 模型与托管成品智能体的 Google Cloud 服务之间，并针对 Gemini 模型进行了优化：ADK 是开发框架，[Vertex AI](https://www.edgepedia.org/zh/vertex-ai) Agent Engine 是其托管部署运行时，而 [Agent2Agent](https://www.edgepedia.org/zh/agent2agent)（A2A）协议则是一个独立的智能体间通信规范，ADK 智能体可以使用这种协议。

| 事实 | 详情 |
|---|---|
| 发布时间 | Google Cloud NEXT 2025，2025 年 4 月<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> |
| 许可证 | Apache License 2.0<sup>[2](https://github.com/google/adk-docs)</sup> |
| 语言 | Python（v1.0.0 稳定版，2025 年 5 月）；Java（v0.1.0，2025 年 5 月）<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup> |
| 模型支持 | 针对 Gemini 和 Vertex AI 优化；通过 LiteLLM 实现模型无关<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> |
| 部署目标 | 任意容器运行时、Cloud Run、GKE、Vertex AI Agent Engine<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup><sup> • </sup><sup>[4](https://adk.dev/)</sup> |
| 当前主版本 | ADK 2.0，与 1.x 相比有破坏性的 API 和会话变更<sup>[5](https://github.com/google/adk-python)</sup> |

## 它是什么

ADK 是一个开发者工具包，不是模型，也不是托管服务。Google 将其描述为“一个开源、代码优先的工具包，用于以灵活性和控制力构建、评估和部署复杂的 AI 智能体”，采用 Apache 2.0 许可证。<sup>[2](https://github.com/google/adk-docs)</sup> 智能体以代码形式编写，而非在可视化编辑器中配置，框架处理单模型 SDK 调用所不涉及的基础支撑工作：编排多个智能体、绑定工具、管理对话状态，以及将结果打包以便部署。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup>

尽管针对 Gemini 和 Vertex AI 进行了优化，该项目声明其模型无关、部署无关，并与其他框架兼容。<sup>[5](https://github.com/google/adk-python)</sup> 通过 LiteLLM 集成，开发者可以调用 [Anthropic](https://www.edgepedia.org/zh/anthropic)、Meta、Mistral AI、AI21 Labs 等公司的模型，ADK 还可以整合来自 [LangChain](https://www.edgepedia.org/zh/langchain)、LlamaIndex、LangGraph 和 CrewAI 的工具与智能体。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup>

## 发布与版本历史

Google 于 2025 年 4 月在 Google Cloud NEXT 2025 上推出 ADK，将其定位为“简化智能体和多智能体系统全栈端到端开发”的框架。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> 文档仓库创建于 2025 年 4 月 1 日。<sup>[2](https://github.com/google/adk-docs)</sup>

在 2025 年 5 月的 Google I/O 上，Google 宣布了 Python ADK v1.0.0，称其为稳定、可用于生产的版本，并推出了 Java ADK v0.1.0。<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup> 后来的 ADK 2.0 版本对智能体 API、事件模型和会话模式引入了破坏性变更；ADK 2.0 写入的会话可被 ADK 1.28 及更高版本读取（多余字段会被忽略），但与更早的 1.x 版本不兼容。<sup>[5](https://github.com/google/adk-python)</sup>

## 工作原理

ADK 提供两种组合风格。**工作流智能体**提供确定性管道：`Sequential`、`Parallel` 和 `Loop` 智能体执行固定结构，适用于可预测性重要的场景。`LlmAgent` 转移提供由 LLM 驱动的动态路由以实现自适应行为，让模型决定哪个子智能体处理请求。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> 智能体可以嵌套为层级结构，因此协调器智能体可以委托给专家智能体。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup>

ADK 2.0 代际增加了基于图的工作流运行时——一个用于确定性流程的图执行引擎，支持路由、扇出/扇入、循环、重试、状态管理、动态节点、人在回路步骤和嵌套工作流。Task API 提供结构化的智能体间委托，支持多轮任务模式、单轮受控输出、混合委托模式、人在回路，以及可用作工作流节点的任务智能体。<sup>[5](https://github.com/google/adk-python)</sup>

工具绑定涵盖预构建工具（如网络搜索和代码执行）、[模型上下文协议](https://www.edgepedia.org/zh/model-context-protocol)（MCP）工具以及第三方框架工具。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup> 在上下文管理方面，ADK 自动过滤无关事件、概括较早的对话轮次、延迟加载工件并跟踪 token 用量。<sup>[4](https://adk.dev/)</sup> 在开发方面，该框架附带[命令行界面](https://www.edgepedia.org/zh/command-line-interface)和用于本地测试的可视化 Web UI，以及面向语音和视频智能体的内置双向音视频流。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup>

## 评估与可观测性

部署前，ADK 的内置评估通过 `AgentEvaluator.evaluate()` 针对预定义测试用例运行智能体，评估最终响应质量和逐步执行轨迹，可从 CLI 或 Web UI 使用。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup>

通过 Agent Runtime、Cloud Run 或 GKE 部署到 Google Cloud 后，智能体继承托管基础设施、内置身份验证、Cloud Trace 可观测性以及 Google 所称的企业级安全性。<sup>[4](https://adk.dev/)</sup> Vertex AI Agent Engine 控制台新增了一个 UI，用于查看已部署的智能体、列出会话、追踪和监控。<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup> 这些描述是 Google 自己的说法；现有资料中没有对评估工具成熟度的独立评估。

## 部署与定价

该框架本身是免费的，是 Apache 2.0 下的开源软件。<sup>[2](https://github.com/google/adk-docs)</sup> ADK 可以部署到任意容器运行时，或 Google Cloud 路径：Vertex AI Agent Engine 作为完全托管的运行时、Cloud Run 或 GKE。<sup>[1](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)</sup><sup> • </sup><sup>[4](https://adk.dev/)</sup>

## A2A 与互操作性

ADK 的“原生 A2A 支持”指的是 Agent2Agent 协议，这是一个独立的、源自 Google 的规范，用于不同系统的智能体相互发现和交换任务。在推出 ADK 的 I/O 2025 更新的同时，Google 发布了 A2A 协议规范 v0.2，增加了无状态交互支持和类似 OpenAPI 的标准化身份验证，以及官方的 A2A Python SDK。<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup> Google 宣布了第三方采用情况：Microsoft 表示将在 [Azure AI Foundry](https://www.edgepedia.org/zh/azure-ai-foundry) 中支持该协议以构建 A2A 智能体，并允许在 [Microsoft Copilot Studio](https://www.edgepedia.org/zh/microsoft-copilot-studio) 中调用任何 A2A 智能体；SAP 宣布在 Joule 中支持；Zoom 宣布在其开放平台中支持。<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup> 这些是供应商的意向和支持声明，而非跨供应商部署可用的演示，资料也未涵盖 A2A 据报向 [Linux 基金会](https://www.edgepedia.org/zh/linux-foundation)的捐赠，或 A2A 作为标准与 MCP 如何竞争或共存。

## 数据一览

所有可获得的采用数据均为供应商侧或仓库统计数据。adk-docs 仓库创建于 2025 年 4 月 1 日，截至 2026 年 9 月有 1,481 个星标和 212 个未解决问题。<sup>[2](https://github.com/google/adk-docs)</sup> Google 列出雷诺集团（Renault Group）、Box 和 Revionics 为提供 ADK 反馈的客户。<sup>[3](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)</sup>

## References

1. [Agent Development Kit: Making it easy to build multi-agent applications - Google Developers Blog](https://developers.googleblog.com/agent-development-kit-easy-to-build-multi-agent-applications/)
2. [google/adk-docs](https://github.com/google/adk-docs)
3. [What's new with Agents: ADK, Agent Engine, and A2A Enhancements - Google Developers Blog](https://developers.googleblog.com/en/agents-adk-agent-engine-a2a-enhancements-google-io/)
4. [Agent Development Kit (ADK)](https://adk.dev/)
5. [google/adk-python](https://github.com/google/adk-python)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Prompting, reasoning, and agents

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/google-agent-development-kit

English original: https://www.edgepedia.org/google-agent-development-kit
