Skip to content

Commit 1197192

Browse files
authored
Merge branch 'main' into test.task-updater
2 parents 5c278d2 + 53a5861 commit 1197192

File tree

2 files changed

+37
-18
lines changed

2 files changed

+37
-18
lines changed

.github/actions/spelling/allow.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ AError
44
ARequest
55
ARun
66
AServer
7+
AServers
78
AStarlette
89
EUR
910
GBP
@@ -13,6 +14,7 @@ JSONRPCt
1314
Llm
1415
aconnect
1516
adk
17+
agentic
1618
autouse
1719
cla
1820
cls

README.md

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,55 @@
1-
# A2A SDK (Prototype)
1+
# A2A Python SDK
22

3-
Early version of the A2A Python SDK.
3+
A Python library that helps run agentic applications as A2AServers following the [Agent2Agent (A2A) Protocol](https://google.github.io/A2A/).
44

5-
## Install SDK
5+
## Installation
66

7-
```bash
8-
pip install .
9-
```
7+
You can install the A2A SDK using either `uv` or `pip`.
108

11-
## Verify install
9+
## Prerequisites
1210

13-
```py
14-
import a2a
15-
```
11+
- Python 3.13+
12+
- `uv` (optional, but recommended) or `pip`
1613

17-
## Run Helloworld
14+
### Using `uv`
1815

19-
Run Remote Agent
16+
When you're working within a uv project or a virtual environment managed by uv, the preferred way to add packages is using uv add.
2017

2118
```bash
22-
cd examples/helloworld
23-
python __main__.py
19+
uv add a2a-sdk
2420
```
2521

26-
In another terminal, run the client
22+
### Using `pip`
23+
24+
If you prefer to use pip, the standard Python package installer, you can install `a2a-sdk` as follows
2725

2826
```bash
29-
python test_client.py
27+
pip install a2a-sdk
3028
```
3129

30+
## Examples
31+
32+
### [Helloworld Example](https://github.com/google/a2a-python/tree/main/examples/helloworld)
33+
34+
1. Run Remote Agent
35+
36+
```bash
37+
cd examples/helloworld
38+
uv run .
39+
```
40+
41+
2. In another terminal, run the client
42+
43+
```bash
44+
uv run test_client.py
45+
```
46+
47+
You can also find more examples [here](https://github.com/google/A2A/tree/main/samples/python/agents)
48+
3249
## License
3350

34-
This project is licensed under the terms of the [Apache 2.0 License](LICENSE).
51+
This project is licensed under the terms of the [Apache 2.0 License](https://raw.githubusercontent.com/google/a2a-python/refs/heads/main/LICENSE).
3552

3653
## Contributing
3754

38-
See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
55+
See [CONTRIBUTING.md](https://github.com/google/a2a-python/blob/main/CONTRIBUTING.md) for contribution guidelines.

0 commit comments

Comments
 (0)