Skip to content

A2A Tasks and Their Lifecycle

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

Editorial team 1 min read

In A2A, work is organised as tasks. Each has an identifier and moves through a lifecycle.

Typical States

  • Submitted: received but not started.
  • Working: in progress.
  • Input required: the remote agent needs more information from the client.
  • Completed: finished successfully, with artifacts.
  • Failed: couldn't be completed.
  • Cancelled: stopped at the client's request.
  • Other states, such as rejected or requiring authentication, may exist depending on the specification version.

Long-Running Work

Tasks can take seconds or days. Clients can:

  • Wait for a response to simple requests.
  • Stream updates as the task progresses.
  • Receive push notifications to a webhook.
  • Poll for status.

Multi-Turn Interaction

The "input required" state allows back-and-forth: a booking agent might ask which of several flights the user prefers, then continue.

Context

Related tasks can share a context identifier, grouping a conversation's worth of work.

Designing Remote Agents

Report meaningful status updates, fail clearly with reasons, and support cancellation so clients aren't left waiting.

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 Messages, Parts and Artifacts

The data that flows between agents in A2A: messages with text, file and data parts, and artifacts as outputs.

A2A 1 min read 4 Aug 2025