1. Introduction: Building an A2A Agent

Welcome to the Agent2Agent (A2A) Python quickstart tutorial.

In this tutorial, you will explore a simple “echo” A2A server using the Python SDK. This introduces the fundamental concepts and components of an A2A server. You will then look at a more advanced example that integrates a Large Language Model (LLM).

This hands-on guide will help you understand:

  • The basic concepts behind the A2A protocol.
  • How to set up a Python environment for A2A development using the SDK.
  • How Agent Skills and Agent Cards describe an agent.
  • How an A2A server handles tasks.
  • How to interact with an A2A server using a client.
  • How streaming and multi-turn interactions work.
  • How an LLM can be integrated into an A2A agent.

By the end, you will have a working understanding of A2A agents and a solid foundation for building or integrating A2A-compliant applications.

Tutorial steps

  1. Introduction (this page)
  2. Setup : prepare your Python environment and the A2A SDK.
  3. Agent Skills and Agent Card : define what your agent can do and how it describes itself.
  4. The Agent Executor : understand how the agent logic is implemented.
  5. Starting the Server : run the Helloworld A2A server.
  6. Interacting with the Server : send requests to your agent.
  7. Streaming and Multi-Turn Interactions : explore advanced capabilities with the LangGraph example.
  8. Next Steps : explore further possibilities with A2A.

To get familiar with the concepts first, read Key Concepts . When you are ready, start with Setup .

Source: A2A official documentation · Python Quickstart