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: docs/a2a_protocol.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ Create a separate `agent_card.yaml` file with the agent card configuration:
86
86
# agent_card.yaml
87
87
name: "Lightspeed AI Assistant"
88
88
description: "An AI assistant for OpenShift and Kubernetes"
89
+
protocolVersion: "0.3.0" # A2A protocol version (default: "0.3.0")
89
90
provider:
90
91
organization: "Red Hat"
91
92
url: "https://redhat.com"
@@ -128,6 +129,7 @@ customization:
128
129
agent_card_config:
129
130
name: "My AI Assistant"
130
131
description: "An AI assistant for helping with various tasks"
132
+
protocolVersion: "0.3.0" # A2A protocol version (default: "0.3.0")
131
133
provider:
132
134
organization: "My Organization"
133
135
url: "https://myorg.example.com"
@@ -266,7 +268,7 @@ The agent card describes the agent's capabilities:
266
268
"version": "1.0.0",
267
269
"url": "https://example.com/a2a",
268
270
"documentation_url": "https://example.com/docs",
269
-
"protocol_version": "0.2.1",
271
+
"protocol_version": "0.3.0",
270
272
"provider": {
271
273
"organization": "Red Hat",
272
274
"url": "https://redhat.com"
@@ -298,6 +300,8 @@ The agent card describes the agent's capabilities:
298
300
}
299
301
```
300
302
303
+
**Note:** The `protocol_version` field can be configured via the `protocolVersion` setting in your agent card configuration (see [Agent Card Configuration](#agent-card-configuration) section above).
304
+
301
305
## How the Executor Works
302
306
303
307
### A2AAgentExecutor
@@ -710,7 +714,16 @@ Check logs for entries from `app.endpoints.handlers` logger.
710
714
711
715
## Protocol Version
712
716
713
-
This implementation supports A2A protocol version **0.2.1**.
717
+
The A2A protocol version can be configured in the agent card configuration file using the `protocolVersion` field. If not specified, it defaults to **0.3.0**.
718
+
719
+
To set a specific protocol version, add it to your agent card configuration:
720
+
721
+
```yaml
722
+
# In agent_card.yaml or customization.agent_card_config
723
+
protocolVersion: "0.3.0"
724
+
```
725
+
726
+
The protocol version is included in the agent card response and indicates which version of the A2A protocol specification the agent implements.
0 commit comments