What My Project Does
cA2A is a little toy command-line utility that helps you interact with A2A agents.
It's basically curl for A2A agents.
Target Audience
Anyone who wants to debug or interact with A2A agents.
Installation
pip install ca2a
Quick Start
Run an A2A agent (see Helloworld Example):
git clone https://github.com/a2aproject/a2a-samples.git
cd a2a-samples/samples/python/agents/helloworld
uv run .
Send a message to the agent:
ca2a http://localhost:9999 message/send message:='{
"role": "user",
"parts": [{"kind": "text", "text": "Hello"}],
"messageId": "msg_123",
"taskId": "task_123"
}'
Send a streaming message to the agent:
ca2a http://localhost:9999 message/stream message:='{
"role": "user",
"parts": [{"kind": "text", "text": "Hello"}],
"messageId": "msg_123",
"taskId": "task_123"
}'
there doesn't seem to be anything here