File tree Expand file tree Collapse file tree 1 file changed +27
-8
lines changed
Expand file tree Collapse file tree 1 file changed +27
-8
lines changed Original file line number Diff line number Diff line change 1- # A2A SDK
1+ # A2A SDK (Prototype)
22
3- ## SDK
3+ Early version of the A2A Python SDK.
44
5- This is the python SDK for A2A compatible agents.
5+ ## Install SDK
66
7- ## Type generation from spec
7+ ``` bash
8+ pip install .
9+ ```
10+
11+ ## Verify install
12+
13+ ``` py
14+ import a2a
15+ ```
816
9- <!-- TODO replace spec.json with the public url so we always get the latest version-->
17+ ## Run Helloworld
18+
19+ Run Remote Agent
1020
1121``` bash
12- uv run datamodel-codegen --input ./spec.json --input-file-type jsonschema --output ./src/a2a/types.py --target-python-version 3.10 --output-model-type pydantic_v2.BaseModel --disable-timestamp --use-schema-description --use-union-operator --use-field-description --use-default --use-default-kwarg --use-one-literal-as-default --class-name A2A --use-standard-collections
22+ cd examples/helloworld
23+ python __main__.py
1324```
1425
15- ## Running tests
26+ In another terminal, run the client
1627
1728``` bash
18- uv run pytest
29+ python test_client.py
1930```
31+
32+ ## License
33+
34+ This project is licensed under the terms of the [ Apache 2.0 License] ( LICENSE ) .
35+
36+ ## Contributing
37+
38+ See [ CONTRIBUTING.md] ( ../CONTRIBUTING.md ) for contribution guidelines.
You can’t perform that action at this time.
0 commit comments