Add a2a module: agent card, tasks, streaming, input-required and agent-to-agent calls on the A2A Java SDK, served over the JDK HTTP server

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
Claude
2026-10-11 08:35:19 +00:00
parent ec1b076e9b
commit 10545299f8
19 changed files with 1042 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
GET /.well-known/agent-card.json
{
"name": "Glossary Agent",
"description": "Defines Java terms",
"version": "1.0.0",
"capabilities": {
"streaming": true,
"pushNotifications": false,
"extendedAgentCard": false
},
"defaultInputModes": [
"text/plain"
],
"defaultOutputModes": [
"text/plain"
],
"skills": [
{
"id": "define",
"name": "Define a term",
"description": "Returns a one-sentence definition",
"tags": [
"java",
"glossary"
],
"examples": [
"record"
]
}
],
"supportedInterfaces": [
{
"protocolBinding": "JSONRPC",
"url": "http://127.0.0.1:PORT",
"tenant": "",
"protocolVersion": "1.0"
}
]
}