Repository navigation
Description
🔴 Required Information
Is your feature request related to a specific problem?
Version 1.0 of the A2A spec was released back in March, which stabilizes the spec but also makes breaking changes from 0.3.x. It would be super helpful for the ADK to support this new spec so that new apps can be developed against it!
Describe the Solution You'd Like
a2aproject/a2a-java is currently in 1.0.0.Beta1 for new spec support. Adopting this new version requires updating calls to match the new API, although it appears most behaviour maps relatively cleanly. The main challenge will be whether the ADK continues to support 0.3.x, there's some discussion about adding compatibility to the new A2A version but it seems uncertain whether it will make it into the first stable version. Without compatibility, agents upgrading to the new ADK version would also break any older agents connecting to it until they upgraded to the new spec - I'm unsure if this is acceptable.
Impact on your work
We are building out a new agent using the ADK, and would like to support the new spec out of the gate, rather than having to update in future. In addition, the a2a-java:0.3.3 version has a bug where tools returning an RxJava Single which hop threads cause the stream to end after the tool call. This bug appears to be fixed with the new AgentEmitter in 1.0.
Willingness to contribute
Yes - I have some POC work updating the google-adk-a2a code to the new A2A version, and am willing to submit a PR if approved!
🟡 Recommended Information
Describe Alternatives You've Considered
- Continue with 0.3.x: need to reach out to the
a2a-javaproject regarding the bug found and see if they would be willing to backport a fix to 0.3. Eventually, the ADK will need to support v1.0 though.
Proposed API / Implementation
For the most basic implementation, calls just need to be updated to the new names exposed in the A2A SDK. If multiple versions of the spec are to be supported though, this may be more complex.
Additional Context
N/A
Activity
hemasekhar-p commentedon May 13, 2026
Hi @fluxehub, Thank you for submitting this feature request. It is currently under review by our team, we will keep you updated if any additional information is required. We appreciate your input.
hemasekhar-p commentedon May 13, 2026
@tilgalas, Please take a look into it.
fluxehub commentedon May 14, 2026
I've heard from the A2A team that 0.3 spec compatibility should be in the final release, so concerns about breaking spec for consumers should hopefully be mitigated. I have a nearly working POC, can submit a PR when ready if interested?
EDIT: Our team has had to move back to the Python ADK for other reasons sadly, so I'm no longer able to provide help on this 😭
brian17han commentedon Sep 22, 2026
@hemasekhar-p @tilgalas Do you have any updates on this? We're currently blocked because we can't use A2A 1.0+. Thank you.
Shay-Deng commentedon Nov 12, 2026
I'd like to help with this if an outside PR is welcome. I've been working on A2A conformance in a2a-java 1.x lately (for example a2aproject/a2a-java#1317 and a2aproject/a2a-java#1318), so I know the 1.x API and its 0.3 compatibility layer fairly well.
Some context from
main(f688c80): thea2amodule pins a2a-java0.3.2.Final, while a2a-java is at1.5.1.Finalnow, with packages moved fromio.a2atoorg.a2aproject.sdk. adk-python, which CONTRIBUTING.md names as the reference, already accepts both:a2a-sdk>=0.3.4,<2, with version branches ina2a/_compat.py. On the Java side the change covers the 6 main files ina2a/that use a2a-java types (plusAgentExecutorConfigthrough its callback types), 5 test files, and the two A2A examples. (Edited: corrected the file count, see below.)RemoteA2AAgent,AgentExecutorand the converters expose a2a-java types in public signatures, though, so it can't be done without breaking code that uses the module directly.Two ways I can see to do it:
google-adk-a2ato a2a-java 1.x in a release that allows breaking changes. (Edited: on the server side a2a-java 1.x'scompat-0.3conversion lets the same executor serve 0.3 clients, but calling 0.3 peers needs its separatecompat-0.3client API, see below.)@tilgalas, would you accept either of these from outside, and if so, which direction do you prefer? Is anyone already working on it internally? I'd rather not start a large change that overlaps internal work, so I'll wait for a direction here before starting the full migration.
Shay-Deng commentedon Nov 27, 2026
A correction to my comment above, and a more concrete outline in case it helps you decide.
Correction. I wrote that a2a-java 1.x ships
compat-0.3client transports "so ADK agents could still talk to 0.3 peers". That holds for the server side only:compat-0.3/server-conversionwraps a 1.x request handler, so the sameAgentExecutorcan serve 0.3 clients. On the client side,compat-0.3/clientis a separate API (Client_v0_3, with 0.3 types), not a transport for the 1.xClient, soRemoteA2AAgentcalling a 0.3 peer would need an adapter on top of the 0.3 mappers. I also overcounted the files: 6 main files use a2a-java types directly, plusAgentExecutorConfigthrough the callback types. I've edited the comment above. Sorry for the mix-up.Outline against
main(e0d6c2a, no changes undera2a/since 38dadb1) and a2a-java1.5.1.Final:RemoteA2AAgent.Builder.agentCard/a2aClient,AgentExecutor.execute/cancel, the threeCallbacksinterfaces, and the public converter methods (PartConverter,EventConverter,ResponseConverter). The open feat(a2a): add a policy for which file URIs reach the model #1933 would add one more,A2APartConverter.convert(io.a2a.spec.Part<?>). So an in-place upgrade breaks direct users of the module; a parallel module would need its own Java package to coexist.TaskState.TASK_STATE_*). The parts that need care:AgentExecutormoves fromexecute(RequestContext, EventQueue)toexecute(RequestContext, AgentEmitter). The defaultcancelthrowsTaskNotCancelableError, so ADK's cancel and cleanup override stays.TaskStatusUpdateEventno longer has a settablefinal;isFinal()is derived from the state, andisFinalOrInterrupted()covers input/auth-required.ResponseConverterandRemoteA2AAgentalready branch on those states.FileParthas nomediaType(it's on the file content), andDataPart.data()is a nullableObjectrather than a map.AgentCardneedssupportedInterfaces; the 1.x client rejects a card without one.compat-0.3conversion, so one host serves both.RemoteA2AAgent.The same questions as before: is an outside PR welcome here, and do you prefer the in-place upgrade or a separate module? I'm still holding off until there's a direction.