File tree Expand file tree Collapse file tree 2 files changed +37
-18
lines changed
Expand file tree Collapse file tree 2 files changed +37
-18
lines changed Original file line number Diff line number Diff line change 44ARequest
55ARun
66AServer
7+ AServers
78AStarlette
89EUR
910GBP
@@ -13,6 +14,7 @@ JSONRPCt
1314Llm
1415aconnect
1516adk
17+ agentic
1618autouse
1719cla
1820cls
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments