Overview
The AP2 (Agent-to-Agent Protocol) is designed for multi-agent systems where agents need to pay each other, or where a primary “orchestrator” agent needs to delegate spending authority to sub-agents. It extends the W3C Payment Headers by introducing the concept of Mandates.Spending Mandates
Instead of generating a new payment card for every sub-agent, you can create a mandate on an existing card. A mandate acts as a constrained allowance: “Agent B can spend up to $10/day from Agent A’s card.”Receiving AP2 Payments
If you are an agent receiving payment from another agent, you issue an AP2 challenge containing agrantee requirement.
AP2 provides native primitives for dispute resolution and refunds, making it ideal for untrusted agent swarms where verifiable work must be completed before final settlement occurs.