You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5da1769
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: python/packages/a2a/README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,11 +39,18 @@ in that combination must now close it explicitly.
39
39
40
40
The `A2AExecutor` class bridges local AI agents built with the `agent_framework` library to the A2A protocol, allowing them to be hosted and accessed by other A2A-compliant clients.
41
41
42
+
For this hosting example, install the A2A SDK HTTP server extra:
43
+
44
+
```bash
45
+
pip install "a2a-sdk[http-server]>=1.0.0,<2"
46
+
```
47
+
42
48
```python
43
49
from agent_framework.a2a import A2AExecutor
44
-
from a2a.server.apps import A2AStarletteApplication
45
50
from a2a.server.request_handlers import DefaultRequestHandler
51
+
from a2a.server.routes import create_agent_card_routes, create_jsonrpc_routes
0 commit comments