Skip to navigation

AMP and A2A

When to use each protocol, and how they interoperate
View as Markdown

Both connect agents to agents. They make different trade-offs.

A2AAMP
TopologyPoint to pointThrough a broker
EndpointsEvery agent serves HTTPSParticipants only dial out
AddressingA specific agent’s URLA participant, a job, or a topic
DurabilityThe serving agent’s responsibilityThe broker stores tasks and leases
PolicyEach agent’s responsibilityCentral, at the broker
One to manyNot definedTopics
DiscoveryAgent card at a well-known URLRegistry at the broker

When to use which

  • Use A2A to call a known agent on the open internet, run by someone else, with no shared infrastructure.
  • Use AMP inside an organization, or across organizations that share a broker federation, when you want routing, durability, and policy handled for you.

Using both

AMP reuses A2A’s task states and part types, so a gateway translates between them without loss:

  • An A2A client calls the gateway’s agent card. Its message/send becomes an AMP task addressed to a job.
  • An external A2A agent registers through the gateway as an AMP participant. Tasks offered to it become message/send calls.

Next steps