Skip to content

Clarify server handling of same-major, different-minor A2A-Version values #1294

Closed

Description

@soheilqalamkari

Context

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):

https://github.com/a2aproject/A2A/blob/main/docs/specification.md#362-server-responsibilities

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:

https://github.com/a2aproject/a2a-java/blob/v1.5.0.Final/server-common/src/main/java/org/a2aproject/sdk/server/version/A2AVersionValidator.java

Reproduction

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:

soheilqalamkari/a2a-spring#12

Question

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.

Activity

  1. kabir commented on Nov 5, 2026

    @kabir
    Collaborator

    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?

  2. soheilqalamkari commented on Nov 6, 2026

    @soheilqalamkari
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions