Skip to content

A2A Streaming and Push Notifications

How A2A keeps clients informed during long tasks, using server-sent events and webhooks.

Editorial team 1 min read

Agent tasks can take a long time. A2A offers ways to deliver updates without constant polling.

Streaming

For interactive use, the client can request a streaming response. The remote agent sends a stream of events over server-sent events (SSE):

  • Status updates as the task changes state.
  • Artifact updates as outputs are produced, possibly in chunks.

Streaming suits tasks lasting seconds to minutes where a user is waiting.

Push Notifications

For long-running tasks, the client provides a webhook URL. The remote agent sends notifications when important changes happen, and the client then fetches details.

Push suits tasks lasting hours or days, and clients that shouldn't hold connections open.

Polling

Clients can always request a task's current status by ID.

Security for Webhooks

  • Verify notifications really come from the remote agent, using authentication the protocol supports.
  • Validate webhook URLs to prevent the agent being used to call internal addresses.
  • Treat notification content as untrusted until verified.

Choosing

Interactive → streaming. Long, background work → push notifications. Simple integrations → polling.

More in A2A

All A2A guides →
A2A Guide · 1 min

What Is the Agent2Agent (A2A) Protocol?

An introduction to A2A, the open protocol that lets AI agents built by different teams and vendors work together.

A2A 1 min read 8 Aug 2025

A2A Guide · 1 min

A2A Versus MCP

How the Agent2Agent protocol and the Model Context Protocol differ, and why many systems use both.

A2A 1 min read 7 Aug 2025

A2A Guide · 1 min

A2A Agent Cards and Discovery

How agents advertise their skills with Agent Cards, and how clients find and choose agents to work with.

A2A 1 min read 6 Aug 2025

A2A Guide · 1 min

A2A Tasks and Their Lifecycle

How work is tracked in A2A: task states, long-running work, requests for input and cancellation.

A2A 1 min read 5 Aug 2025