While integrating A2A with the Agent Framework, I noticed that the MapA2A extension currently uses RunAsync, which produces a fully-buffered response rather than streaming partial deltas.
Reference:
|
var response = await hostAgent.RunAsync( |
Since A2A supports streaming, I’m trying to understand the recommended way to enable streaming through this helper.
Questions:
- Is there an existing streaming API (e.g., RunStreamingAsync) that
MapA2A is expected to use?
- If not, is streaming support planned for
MapA2A based on Agent's capability?
While integrating A2A with the Agent Framework, I noticed that the
MapA2Aextension currently usesRunAsync,which produces a fully-buffered response rather than streaming partial deltas.Reference:
agent-framework/dotnet/src/Microsoft.Agents.AI.Hosting.A2A/AIAgentExtensions.cs
Line 50 in 73761aa
Since A2A supports streaming, I’m trying to understand the recommended way to enable streaming through this helper.
Questions:
MapA2Ais expected to use?MapA2Abased on Agent's capability?