File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,34 @@ When the Embabel shell comes up, use the story agent like this:
4848x "Tell me a story about...[your topic]"
4949```
5050
51+ Embabel integrates with the [ A2A] ( https://github.com/google-a2a/A2A ) protocol, allowing you to connect to other
52+ A2A-enabled agents and
53+ services.
54+
55+ > Embabel agents can be exposed to A2A with zero developer effort.
56+
57+ Check out the ` a2a ` branch of this repository to try A2A support.
58+
59+ You'll need the following environment variable:
60+
61+ - ` GOOGLE_STUDIO_API_KEY ` : Your Google Studio API key, which is used for Gemini.
62+
63+ Start the Google A2A web interface using the ` a2a ` Docker profile:
64+
65+ ``` bash
66+ docker compose up
67+ ```
68+
69+ Go to the web interface running within the container at ` http://localhost:12000/ ` .
70+
71+ Connect to your agent at ` host.docker.internal:8080/a2a ` . Note that ` localhost:8080/a2a ` won't work as the server
72+ cannot access it when running in a Docker container.
73+
74+ Your agent will have automatically been exported to A2A. Add it in the UI, and start a chat.
75+ You should see something like this:
76+
77+ <img src =" images/a2a_ui.jpg " alt =" A2A UI " width =" 600 " >
78+
5179## Contributors
5280
5381[ ![ Embabel contributors] ( https://contrib.rocks/image?repo=embabel/java-agent-template )] ( https://github.com/embabel/java-agent-template/graphs/contributors )
You can’t perform that action at this time.
0 commit comments