cA2A
ca2a is a command-line utility that helps you interact with A2A agents. It's basically curl for A2A agents.
Installation
pip install ca2a
Usage
$ ca2a -h
usage: ca2a [-h] [-v] url method [items ...]
A command-line utility for interacting with A2A agents.
positional arguments:
url The URL to connect to the A2A agent
method The method to be invoked
items The parameter values (in the form of `key=string_value` or `key:=json_value`), or the header values (in the form of `key:value`)
options:
-h, --help show this help message and exit
-v, --verbose Enable verbose output showing the JSON-RPC request/response
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"
}'
Metadata
Release files for ca2a 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ca2a-0.1.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ca2a-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / ca2a-0.1.0.tar.gz
| Download URL | ca2a-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a735faaaad2c266e8837fe966bf3597df205d7119b53b2751b54dd61c83d336f
|
|
BLAKE2b-256 checksum How to use checksums |
2122c3afb997979d5c8777b0585649131eb9177fcac3b026bf97e8eb81b24603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 19, 2025.
Transparency logRelease files / ca2a-0.1.0-py3-none-any.whl
| Download URL | ca2a-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8af294c203f0ae49643ddd32281905c0f42ea0c9ebdcd553179ee0496f040ed2
|
|
BLAKE2b-256 checksum How to use checksums |
b72240e02993f0e7856dc3fc37f666707a6cd420b606a88cc826133a27e5793e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 19, 2025.
Transparency log