generalOfficialpython
Dice Agent Grpc (Official Sample)
56by A2A Project
Official A2A python sample agent: Dice Agent Grpc
1,329 starsUpdated 2026-02-23apache-2.0
Quality Score56/100
★ Community
70
◷ Freshness
86
✓ Official
100
⚡ Skills
10
⬡ Protocol
30
🔒 Security
20
Getting Started
1Clone the repository
$ git clone https://github.com/a2aproject/a2a-samples
2Navigate to the project
$ cd a2a-samples/samples/python/agents/dice_agent_grpc
3Install dependencies
$ pip install -r requirements.txt
4Run the agent
$ python main.py
README
gRPC agent example
This example setups up an A2AServer that supports gRPC transport for interacting with the Agent.
The example also sets up a HTTP server that serves the public agent card at well-known, which acts as a mechanism for clients to discover agents.
Serving agent card at well-known url is optional and only one of the discovery methods for agents.
Capabilities
StreamingPush NotificationsMulti-TurnAuth: none
official-samplepython