kagent-dev / kagent

Cloud Native Agentic AI | Discord: https://bit.ly/kagentdiscord

Home Page:https://kagent.dev

Repository from Github https://github.comkagent-dev/kagentRepository from Github https://github.comkagent-dev/kagent

[FEATURE] Support Cross Agent (A2A) message streaming

AdityaRajputRana opened this issue Β· comments

πŸ“‹ Prerequisites

πŸ“ 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/