Clarify Partial Message Streaming and Output Placement #1163
matoushavlena
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There is currently no clear support in A2A for streaming partial
Messages(for example, token-by-token). UnlikeArtifacts, which supportappendandlastChunk,Messagesare treated as atomic. There is no protocol-defined way to send or reassemble a streamed message.This creates challenges for client developers:
Messagespollute task historyA2A would benefit from a standardized approach to message streaming so that clients can provide real-time feedback without fragile hacks.
Related problem: ambiguous output location
It is also not clearly defined where the agent’s primary output is supposed to appear. The response could be:
MessageTaskStatusUpdateEvent.status.messageArtifactIf more than one of these is used in the same task, it becomes unclear which is authoritative:
This ambiguity makes it difficult for agents and client applications to know what to act on or display.
Suggestions
Messagestreaming, or formally recommend usingArtifactsfor token-level outputWould be great to hear how others are approaching this or whether any conventions are emerging.
Related issues/discussions
Beta Was this translation helpful? Give feedback.
All reactions