Skip to content

Commit a818e07

Browse files
DJ-osholtskinner
authored andcommitted
Create README.md
1 parent d06be0d commit a818e07

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
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.

0 commit comments

Comments
 (0)