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
{{ message }}
Repository navigation
Clarify server handling of same-major, different-minor A2A-Version values #1294
Section 3.6.2, “Server Responsibilities,” of the A2A specification says agents MUST process requests using the semantics of the requested A2A-Version (matching Major.Minor):
In the released A2A Java SDK 1.5.0.Final, A2AVersionValidator documents that minor versions are compatible and its implementation accepts a request when the major version matches, without requiring the requested minor version to be listed among the agent's supported interfaces:
A Spring MVC server using SDK 1.5.0.Final advertises one supported interface with protocol version 1.0. Sending a JSON-RPC message/send with A2A-Version: 1.1 succeeds and is processed by the regular request handler. The focused integration test and SDK upgrade are in:
Is accepting 1.1 for an interface that advertises only 1.0 the intended SDK compatibility policy, and if so, where is the requested Major.Minor semantics applied? We want to ensure the server processes requests using the requested protocol semantics, not only that it accepts the header.
If accepting a different minor version based only on a matching major version is not sufficient under Section 3.6.2, should the SDK validate exact supported minor versions or route requests through version-specific behavior? Please advise on the expected behavior and appropriate fix/tests.
Thanks for the clear reproduction. I think this is a valid issue: the SDK currently treats a matching major version as sufficient, but the 1.0 specification requires the requested major/minor version to be supported by the interface and processed with its semantics.
In your example, a server that supports only 1.0 should reject 1.1 with VersionNotSupportedError. We should change the validation and add coverage for unsupported minor versions, while preserving patch-version handling and the 0.3 default for an absent version. Supporting multiple minor versions would also require the relevant semantics to be implemented.
Thanks for clarifying the expected behavior. I’m excited to work on this fix and after the confirmation I will apply the corresponding changes on the Spring Boot side.
Activity
kabir commentedon Nov 5, 2026
Thanks for the clear reproduction. I think this is a valid issue: the SDK currently treats a matching major version as sufficient, but the 1.0 specification requires the requested major/minor version to be supported by the interface and processed with its semantics.
In your example, a server that supports only 1.0 should reject 1.1 with VersionNotSupportedError. We should change the validation and add coverage for unsupported minor versions, while preserving patch-version handling and the 0.3 default for an absent version. Supporting multiple minor versions would also require the relevant semantics to be implemented.
Would you like to work on a fix?
soheilqalamkari commentedon Nov 6, 2026
Thanks for clarifying the expected behavior. I’m excited to work on this fix and after the confirmation I will apply the corresponding changes on the Spring Boot side.
fix(server): validate requested minor protocol version (a2aproject#1294)
fix(server): validate requested minor protocol version (a2aproject#1294)
fix(server): validate requested minor protocol version (#1294) (#1297)