A2A README

The project's README from github.com/a2aproject/A2A. As one markdown file: README.md.

Agent2Agent (A2A) Protocol

PyPI - Version Apache License Ask Code Wiki

🌐 Language
Agent2Agent Protocol Logo

Agent2Agent (A2A) Protocol

An open protocol enabling communication and interoperability between opaque agentic applications.

The Agent2Agent (A2A) protocol addresses a critical challenge in the AI landscape: enabling gen AI agents, built on diverse frameworks by different companies running on separate servers, to communicate and collaborate effectively - as agents, not just as tools. A2A aims to provide a common language for agents, fostering a more interconnected, powerful, and innovative AI ecosystem.

With A2A, agents can:

DeepLearning.AI Course

A2A DeepLearning.AI

Join this short course on A2A: The Agent2Agent Protocol, built in partnership with Google Cloud and IBM Research, and taught by Holt Skinner, Ivan Nardini, and Sandi Besen.

What you'll learn:

Why A2A?

As AI agents become more prevalent, their ability to interoperate is crucial for building complex, multi-functional applications. A2A aims to:

Key Features

Getting Started

Contributing

We welcome community contributions to enhance and evolve the A2A protocol!

What's next

Protocol Enhancements

About

The A2A Protocol is an open source project under the Linux Foundation, contributed by Google. It is licensed under the Apache License 2.0 and is open to contributions from the community.

A2A (a2aproject/A2A)

Searching Database…

26.2K ·GitHub
这是什么?Agent2Agent(A2A)协议是一项开放标准,让基于不同框架、由不同公司运行的生成式 AI 智能体相互交流——它们可以发现彼此的能力、协商交互方式,并以智能体(而不仅仅是工具)的身份协作完成长时间运行的任务。
这是需要安装的软件,还是别的东西?它是一份协议规范,不是一个应用:这个仓库存放规范和文档,你通过官方 SDK 来采用它,构建符合 A2A 标准的智能体和客户端。
我该怎么开始用它开发?选择你所用语言的 SDK——Python 是 pip install a2a-sdk,JavaScript 是 npm install @a2a-js/sdk——另外还有 Go、Java、.NET 和 Rust 的 SDK,以及可以直接运行的示例。
它兼容我已在用的智能体框架吗?SDK 覆盖 Python、Go、JavaScript、Java、.NET 和 Rust,用 Google ADK、LangGraph、BeeAI 这类框架构建的智能体都可以作为 A2A 服务器对外提供。
智能体协作时必须共享内部记忆或工具吗?不需要——不透明性是核心设计目标:智能体可以在不暴露内部状态、记忆或专有工具实现的情况下协同工作,这有助于保护安全和知识产权。
这是 Google 专有标准,还是真正开放的?它是一个隶属于 Linux 基金会的开源项目,由 Google 贡献,采用 Apache License 2.0 许可证,并欢迎社区贡献。
智能体之间怎么找到彼此?通过 Agent Card——一种详细说明智能体能力和连接信息的文档,客户端和其他智能体由此可以发现它,并协商文本、表单或媒体等交互方式。
智能体之间能交换哪些数据?文本、文件和结构化的 JSON 数据,既适用于简短的请求/响应交互,也适用于长时间运行的任务。
有没有系统化的学习方式?有——一门由 DeepLearning.AI 推出的简短课程《The Agent2Agent Protocol》,由 Google Cloud 和 IBM Research 合作打造,内容涵盖把智能体暴露为 A2A 服务器、编写客户端,以及构建一个医疗领域的多智能体系统。
还有哪些待办事项?计划中的增强包括:在 Agent Card 中内嵌授权方案、用于动态查询智能体技能的 QuerySkill() 方法、任务过程中的交互体验协商(比如对话中途加入音频),以及更可靠的流式传输和推送通知。
Creator
a2aproject
Size
36.4 MB
Stars
26.2K
Age
1y
Commits · 90 Days