[FEATURE] Support Cross Agent (A2A) message streaming
AdityaRajputRana opened this issue Β· comments
π Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
π Feature Summary
Message streaming is not available when there is a Cross-agent call, it would be useful to have messages streamed for sub-agent calls as well.
β Problem Statement / Motivation
Streaming and parallel processing works when there are only tool calls hence the agent can output tokens in parallel manner.
However when there a call to another agent, the calling agent waits for the sub-agent response first and starts the token output once the complete sub-agent response has been received.
I think support parallel streaming of A2A calls will improve reduce and response time and let our calling agents to make calls to other tool/agents quickly if needed.
π‘ Proposed Solution
Support Cross Agent (A2A) message streaming
π Alternatives Considered
No response
π― Affected Service(s)
UI Service
π Additional Context
No response
π Are you willing to contribute?
- I am willing to submit a PR for this feature
I stand to be corrected here, but I think this is ultimately controlled by the Google ADK implementation (at present). KAgent simply configures a RemoteA2AAgent - which A2A calls are made are ultimately then implemented within Google ADK.
@onematchfox I also don't have much idea about exact implementation and have not worked with these technologies, but there are some mentions of text streaming in A2A in some medium articles as well docs.
Please check:
https://medium.com/google-cloud/a2a-deep-dive-getting-real-time-updates-from-ai-agents-a28d60317332
https://google.github.io/adk-docs/get-started/streaming/