Skip to content

Commit 012ea77

Browse files
committed
Updates the installation instructions in README.md
Updates the FastAPI optional dependency installation instructions in README.md.
1 parent a74f5e5 commit 012ea77

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ If you prefer to use pip, the standard Python package installer, you can install
4040
pip install a2a-sdk
4141
```
4242

43+
### Optional
44+
45+
#### FastAPI-based A2A Server App
46+
47+
Using `a2a.server.apps.A2AFastAPIApplication` requires the FastAPI package, which is an optional dependency.
48+
With `uv`, it can be specified as follows:
49+
50+
```shell
51+
uv add a2a-sdk[fastapi]
52+
```
53+
54+
Alternatively, a preferred version of the `fastapi` package can be added directly to the project:
55+
56+
```shell
57+
uv add fastapi
58+
```
59+
4360
## Examples
4461

4562
### [Helloworld Example](https://github.com/google-a2a/a2a-samples/tree/main/samples/python/agents/helloworld)

0 commit comments

Comments
 (0)