Tutorials

This section collects A2A tutorials from beginner to advanced. If you are new to A2A, complete the Python quickstart first, then pick later samples by language and scenario.

Python

TutorialDescriptionDifficulty
A2A and Python QuickstartBuild a simple Python-based “echo” A2A server and clientEasy
ADK factsBuild and test a simple Personal Assistant agent with the Agent Development Kit (ADK) that can provide interesting factsEasy
ADK agent on Cloud RunDeploy, manage, and observe an ADK-based agent as a scalable, serverless service on Google Cloud RunEasy
Multi-agent collaboration using A2ASet up an orchestrator (host agent) that routes and manages requests among several specialized A2A-compatible agentsEasy
Airbnb and weather multi-agentBuild a complex multi-agent system where agents collaborate using A2A to plan a trip, finding both Airbnb accommodations and weather informationMedium
A2A client-server example using a remote ADK agentSee how a local A2A client agent discovers and consumes the capabilities of a separate, remote ADK-based agent (for example, a prime number checker)Easy
Colab NotebookDeploy A2A agents to Cloud Run from your browser, then evaluate their performance with Vertex AIEasy

Java

TutorialDescriptionDifficulty
Weather AgentBuild a weather information agent using an MCP serverEasy
Content Writer AgentBuild a content writer agent that generates content from outlinesEasy
Content Editor AgentBuild a content editor agent that proof-reads and polishes contentEasy
Dice Agent (multi-transport)Build a multi-transport agent that rolls dice and checks for prime numbersMedium
Magic 8 Ball Agent (security)Learn how to secure A2A servers with Keycloak using bearer token authentication, and configure a client to obtain and pass the tokenMedium

JavaScript

TutorialDescription
Movie research agent using JavaScriptBuild an A2A agent with Node.js that uses the TMDB API to handle movie searches and queries

C#/.NET

TutorialDescription
All .NET samplesFoundational samples showing how to build A2A clients and servers with the C#/.NET SDK, including an Echo agent

Learning tips

Source: A2A official documentation · Tutorials