A2A Specification Proposes SendLiveMessage for Bidirectional Agent Interactions
Development
The Agent2Agent (A2A) protocol specification introduced a pull request defining SendLiveMessage, a single operation facilitating bidirectional communication between agents. The fully additive operation supports duplex sessions, short message exchanges, and passive task observation across gRPC, WebSocket, and HTTP transports. It establishes opening semantics, stream-level error handling via StreamError, and introduces TaskMessageUpdateEvent for clients using A2A version 1.1 or higher.
Key facts
- Pull Request #2153 introduces
SendLiveMessageas an additive operation for bidirectional agent interaction in the A2A specification. - The operation serves three primary use cases: long-lived duplex sessions, brief connect-send-disconnect exchanges, and attaching to an existing task strictly to observe it.
StreamRequest.payloadreuses existing message definitions (SubscribeToTaskRequestandSendMessageRequest) rather than defining new wrapper messages.- Opening semantics allow binding via
subscribewith an optionallast_seen_generationto replay missed events without resending a fullTasksnapshot. - Native duplex transports like gRPC and WebSocket use a single connection, while HTTP models the downlink as a server stream with separate short-lived calls for uplink messages.
- A new
StreamErrormechanism rejects malformed requests without terminating the underlying connection, and servers must reject unrecognized payloads withStreamErrorinstead of closing streams. TaskMessageUpdateEventdelivers client-originated timeline entries exclusively to clients negotiatingA2A-Version: 1.1or higher.- Client-written artifacts were deferred and split into a separate pull request (#2322).
Why it matters
Real-time collaboration between autonomous agents requires robust duplex streaming that handles mid-stream errors and state resynchronization without brittle connection resets.
Trend impact
- agent-to-agent duplex streaming
- standardized agent task observation
Evidence
- Primary source
- Evidence ID:
a2a-spec--ab47ccabfa0adab8