Is your feature request related to a problem? Please describe.
Right now it's not possible to stream messages token-by-token with A2A, resulting in a bad user experience.
I have built typical, conversational agents with A2A. They accept text, have a number of tools they can call, return the results of the tool calls as Artifacts, and send intermediate messages the agent generates as TaskStatusUpdateEvents.
However, because TaskStatusUpdateEvent doesn't have an append option, it's not possible to stream messages to the user token-by-token.
Because MessageUpdateEvent doesn't exist (and doesn't have an append option), it's not possible to stream standalone Messages to the user token-by-token.
Describe the solution you'd like
- Add an
append option to TaskStatusUpdateEvent to add token-by-token message streaming to Task Messages.
- Create a
MessageUpdateEvent with an append option to add token-by-token message streaming to standalone Messages.
Describe alternatives you've considered
It doesn't make sense to send intermediate messages the agent generates as Artifacts because they're not the output of the Task, they're commentary. It's important to keep Artifacts as they are because they effectively filter noise.
Additional context
No response
Code of Conduct
Is your feature request related to a problem? Please describe.
Right now it's not possible to stream messages token-by-token with A2A, resulting in a bad user experience.
I have built typical, conversational agents with A2A. They accept text, have a number of tools they can call, return the results of the tool calls as
Artifacts, and send intermediate messages the agent generates asTaskStatusUpdateEvents.However, because
TaskStatusUpdateEventdoesn't have anappendoption, it's not possible to stream messages to the user token-by-token.Because
MessageUpdateEventdoesn't exist (and doesn't have anappendoption), it's not possible to stream standaloneMessages to the user token-by-token.Describe the solution you'd like
appendoption toTaskStatusUpdateEventto add token-by-token message streaming toTaskMessages.MessageUpdateEventwith anappendoption to add token-by-token message streaming to standaloneMessages.Describe alternatives you've considered
It doesn't make sense to send intermediate messages the agent generates as
Artifacts because they're not the output of theTask, they're commentary. It's important to keepArtifacts as they are because they effectively filter noise.Additional context
No response
Code of Conduct