ucp-checkout-a2a
Installation
SKILL.md
UCP Checkout — A2A Binding
Before writing code
Fetch live spec: Web-search site:ucp.dev specification checkout-a2a and fetch the page for the exact message structure, DataPart keys, and Agent Card format.
Also review Google's A2A protocol spec for the underlying transport: https://google.github.io/A2A/
Conceptual Architecture
What is A2A?
A2A (Agent-to-Agent) is a protocol for autonomous inter-agent communication. UCP's A2A binding lets a Platform agent talk to a Business agent using structured messages rather than REST calls.
How It Works
- Discovery: Business publishes an Agent Card at the URL declared in their
/.well-known/ucpprofile underservices.dev.ucp.shopping.a2a.endpoint. - Communication: Platform sends messages with checkout data in
DataPartobjects. Business agent responds with checkout state inDataPartobjects. - Identification: Platform includes
UCP-Agentheader andX-A2A-Extensionsheader referencing the UCP spec version.