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
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,16 +40,19 @@ The A2A Java SDK provides a Java server implementation of the [Agent2Agent (A2A)
40
40
-[Add a class that creates an A2A Agent Card](#2-add-a-class-that-creates-an-a2a-agent-card)
41
41
-[Add a class that creates an A2A Agent Executor](#3-add-a-class-that-creates-an-a2a-agent-executor)
42
42
43
-
### 1. Add the A2A Java SDK Server Maven dependency to your project
43
+
### 1. Add an A2A Java SDK Reference Server dependency to your project
44
44
45
-
Adding a dependency on an A2A Java SDK Server will provide access to the core classes that make up the A2A specification
46
-
and allow you to run your agentic Java application as an A2A server agent.
45
+
Adding a dependency on an A2A Java SDK Reference Server will provide access to the core classes
46
+
that make up the A2A specification and allow you to run your agentic Java application as an A2A server agent.
47
47
48
-
The A2A Java SDK provides a [reference A2A server implementation](reference-impl/README.md) based on [Quarkus](https://quarkus.io) for use with our tests and examples. However, the project is designed in such a way that it is trivial to integrate with various Java runtimes.
48
+
The A2A Java SDK provides [reference A2A server implementations](reference) based on [Quarkus](https://quarkus.io) for use with our tests and examples. However, the project is designed in such a way that it is trivial to integrate with various Java runtimes.
49
49
50
50
[Server Integrations](#server-integrations) contains a list of community contributed integrations of the server with various runtimes. You might be able to use one of these for your target runtime, or you can use them as inspiration to create your own.
51
51
52
-
To use the reference implementation with the JSONRPC protocol add the following dependency to your project:
52
+
#### Server Transports
53
+
The A2A Java SDK Reference Server implementations support a couple transports: JSON-RPC 2.0 and gRPC.
54
+
55
+
To use the reference implementation with the JSON-RPC protocol, add the following dependency to your project:
53
56
54
57
> *⚠️ The `io.github.a2asdk``groupId` below is temporary and will likely change for future releases.*
55
58
@@ -62,7 +65,7 @@ To use the reference implementation with the JSONRPC protocol add the following
62
65
</dependency>
63
66
```
64
67
65
-
To use the reference implementation with the gRPC protocol add the following dependency to your project:
68
+
To use the reference implementation with the gRPC protocol, add the following dependency to your project:
66
69
67
70
> *⚠️ The `io.github.a2asdk``groupId` below is temporary and will likely change for future releases.*
68
71
@@ -75,6 +78,11 @@ To use the reference implementation with the gRPC protocol add the following dep
75
78
</dependency>
76
79
```
77
80
81
+
Note that you can add more than one of the above dependencies to your project depending on the transports
82
+
you'd like to support.
83
+
84
+
Support for the HTTP+JSON/REST transport will be coming soon.
85
+
78
86
### 2. Add a class that creates an A2A Agent Card
79
87
80
88
```java
@@ -233,7 +241,7 @@ that you can use to create your A2A `Client`.
233
241
</dependency>
234
242
```
235
243
236
-
### 2. Add dependencies on the A2A Java SDK Client Transport(s) you'd like to use
244
+
### 2. Add one or more dependencies on the A2A Java SDK Client Transport(s) you'd like to use
237
245
238
246
You need to add a dependency on at least one of the following client transport modules:
239
247
@@ -569,7 +577,8 @@ The following list contains community contributed integrations with various Java
569
577
570
578
To contribute an integration, please see [CONTRIBUTING_INTEGRATIONS.md](CONTRIBUTING_INTEGRATIONS.md).
571
579
572
-
* [reference-impl/README.md](reference-impl/README.md) -Reference implementation, based on Quarkus.
580
+
* [reference/jsonrpc/README.md](reference/jsonrpc/README.md) -JSON-RPC2.0Reference implementation, based on Quarkus.
581
+
* [reference/grpc/README.md](reference/grpc/README.md) - gRPC Reference implementation, based on Quarkus.
573
582
* https://github.com/wildfly-extras/a2a-java-sdk-server-jakarta - This integration is based on Jakarta EE, and should work in all runtimes supporting the [Jakarta EE Web Profile](https://jakarta.ee/specifications/webprofile/).
0 commit comments