Chapter 7. The Agent2Agent (A2A) Protocol: Enabling Agent-to-Agent Communication
In Chapter 6, you successfully orchestrated a team of specialized agents to create a helpful Teaching Assistant. You saw firsthand the power of collaboration: passing information from a grammar checker to a math solver to a summarizer. But there was a catch—all those agents were built with the same framework (ADK) and ran in the same controlled environment.
In the real world, you don’t control the entire ecosystem. Imagine your Teaching Assistant from the previous chapter needs to expand its capabilities. A student asks, “What are the latest breakthroughs in quantum computing?” Your current agents (Math, Grammar) can’t answer this. You need a Research Agent that can browse the web, read academic papers, and synthesize complex topics. You could build this agent yourself in ADK. But what if a fantastic “Academic Research Agent” already exists? What if it was built by a different team using a different framework, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access