A2A Request Lifecycle
Properties
created
29.03.2026, 17:39
modified
26.07.2026, 13:33
published
Empty
sources
What is A2A? · Agentic Web - arxiv 2507.21206
topics
Agent Communication, Agent Protocol
authors
Empty
ai-assisted
Yes
( What is A2A?)
# 4-Phase Lifecycle
# Phase 1: Agent Discovery
- Client sends
GET /.well-known/agent-cardto retrieve the remote agent’s Agent Card - Client evaluates skills and capabilities listed in the Agent Card to confirm the agent matches task requirements
# Phase 2: Authentication
- Client parses
securitySchemesfrom the Agent Card - If OpenID Connect: client requests a JWT from the Auth Server
- Auth Server returns a signed JWT; client attaches it to subsequent requests via HTTP headers
# Phase 3: sendMessage (Synchronous / Polling)
- Client parses the endpoint URL from the Agent Card
- Client sends
POST /sendMessagewith JWT - Server processes the request, creates a Task, and returns a Task Response
- For long-running operations, the client periodically polls the server for task status updates
# Phase 4: sendMessageStream (Streaming)
- Client sends
POST /sendMessageStreamwith JWT - Server opens a Server-Sent Events (SSE) connection and streams multiple events:
Task SubmittedTaskStatusUpdateEvent(progress)TaskArtifactUpdateEvent(incremental artifact delivery)TaskStatusUpdateEvent: Completed
- Client can subscribe to receive these updates in real time without polling
# Interaction Mechanisms Summary
( What is A2A?)
- Request/Response (Polling) — synchronous request; client polls server for updates on long-running tasks
- Server-Sent Events (SSE) — client opens a stream to receive real-time incremental results over a persistent HTTP connection
- Push Notifications — server actively sends asynchronous webhook notifications to the client for extended or disconnected scenarios
# Workflow (High-Level)
- Client agent receives user query and creates a new Task with a unique ID
- Client retrieves Agent Cards to identify remote agents matching task requirements
- Client and remote agents exchange Messages under the A2A protocol
- Task state is continuously updated as execution progresses
- Once complete, output is encapsulated and delivered as an Artifact