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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user