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
Copy file name to clipboardExpand all lines: README.md
+32-35Lines changed: 32 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,26 +29,38 @@ More examples will be added soon.
29
29
30
30
The A2A Java SDK provides a Java server implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A). To run your agentic Java application as an A2A server, simply follow the steps below.
31
31
32
-
-[Add the A2A Java SDK Core Maven dependency to your project](#1-add-the-a2a-java-sdk-core-maven-dependency-to-your-project)
32
+
-[Add an A2A Java SDK Server Maven dependency to your project](#1-add-an-a2a-java-sdk-server-maven-dependency-to-your-project)
33
33
-[Add a class that creates an A2A Agent Card](#2-add-a-class-that-creates-an-a2a-agent-card)
34
34
-[Add a class that creates an A2A Agent Executor](#3-add-a-class-that-creates-an-a2a-agent-executor)
35
-
-[Add an A2A Java SDK Server Maven dependency to your project](#4-add-an-a2a-java-sdk-server-maven-dependency-to-your-project)
36
35
37
-
### 1. Add the A2A Java SDK Maven dependencies to your project
36
+
### 1. Add an A2A Java SDK Server Maven dependency to your project
38
37
39
-
> **Note**: The A2A Java SDK isn't available yet in Maven Central but will be soon. For now, be
40
-
> sure to check out the latest tag (you can see the tags [here](https://github.com/a2aproject/a2a-java/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
38
+
Adding a dependency on an A2A Java SDK Server will provide access to the core classes that make up the A2A specification
39
+
and allow you to run your agentic Java application as an A2A server agent.
40
+
41
+
The A2A Java SDK provides two A2A server endpoint implementations, one based on Jakarta REST (`a2a-java-sdk-server-jakarta`) and one based on Quarkus Reactive Routes (`a2a-java-sdk-server-quarkus`). You can choose the one that best fits your application.
42
+
43
+
Add **one** of the following dependencies to your project:
44
+
45
+
> *⚠️ The `io.github.a2asdk``groupId` below is temporary and will likely change for future releases.*
<!-- Use a released version from https://github.com/a2aproject/a2a-java/releases -->
63
+
<version>${io.a2a.sdk.version}</version>
52
64
</dependency>
53
65
```
54
66
@@ -185,39 +197,24 @@ public class WeatherAgentExecutorProducer {
185
197
}
186
198
```
187
199
188
-
### 4. Add an A2A Java SDK Server Maven dependency to your project
189
-
190
-
> **Note**: The A2A Java SDK isn't available yet in Maven Central but will be soon. For now, be
191
-
> sure to check out the latest tag (you can see the tags [here](https://github.com/a2aproject/a2a-java/tags)), build from the tag, and reference that version below. For example, if the latest tag is `0.2.3`, you can use the following dependency.
192
-
193
-
Adding a dependency on an A2A Java SDK Server will allow you to run your agentic Java application as an A2A server.
194
-
195
-
The A2A Java SDK provides two A2A server endpoint implementations, one based on Jakarta REST (`a2a-java-sdk-server-jakarta`) and one based on Quarkus Reactive Routes (`a2a-java-sdk-server-quarkus`). You can choose the one that best fits your application.
196
-
197
-
Add **one** of the following dependencies to your project:
The A2A Java SDK provides a Java client implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A), allowing communication with A2A servers.
203
+
To make use of the Java `A2AClient`, simply add the following dependency:
206
204
207
-
OR
205
+
----
206
+
> *⚠️ The `io.github.a2asdk``groupId` below is temporary and will likely change for future releases.*
<!-- Use a released version from https://github.com/a2aproject/a2a-java/releases -->
213
214
<version>${io.a2a.sdk.version}</version>
214
215
</dependency>
215
216
```
216
217
217
-
## A2A Client
218
-
219
-
The A2A Java SDK provides a Java client implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A), allowing communication with A2A servers.
0 commit comments