Samples to see A2A in action
Sample implementations to see A2A in action
Samples to see A2A in action
This page provides links to sample implementations that demonstrate how to use the A2A protocol in different contexts. These samples are available in the A2A GitHub repository.
Sample A2A Client/Server
A reference implementation of both client and server components for the A2A protocol:
- Basic API implementation
- JSON-RPC message handling
- Task management
- Authentication examples
Explore the Client/Server Sample →
Multi-Agent Web App
A complete web application demonstrating how multiple agents can collaborate using the A2A protocol:
- Browser-based UI
- Multiple specialized agents
- Task coordination
- Real-time updates
Explore the Multi-Agent Web App →
Command Line Interface (CLI)
A command-line tool for interacting with A2A agents:
- Simple text-based interface
- Task creation and management
- Streaming support
- Agent discovery
Agent Implementations
The repository also includes sample implementations of A2A for various agent frameworks:
Framework | Description | Link |
---|---|---|
Google ADK | Google's Agent Development Kit with A2A support | View Sample → |
CrewAI | Multi-agent orchestration framework | View Sample → |
LangGraph | Agent workflow framework | View Sample → |
Genkit | JavaScript agent framework | View Sample → |
Running the Samples
Most samples can be run with these general steps:
Each sample includes specific instructions in its README file.