1. Introduction: Building an A2A Agent
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
- Introduction (this page)
- Setup : prepare your Python environment and the A2A SDK.
- Agent Skills and Agent Card : define what your agent can do and how it describes itself.
- The Agent Executor : understand how the agent logic is implemented.
- Starting the Server : run the Helloworld A2A server.
- Interacting with the Server : send requests to your agent.
- Streaming and Multi-Turn Interactions : explore advanced capabilities with the LangGraph example.
- Next Steps : explore further possibilities with A2A.
To get familiar with the concepts first, read Key Concepts . When you are ready, start with Setup .