Skip to main content

Universal Commerce Protocol (UCP)

How do AI agents shop?

UCP is Google's open standard for agent-to-merchant commerce. Where A2A handles agent communication, UCP handles the buying — checkout, discounts, fulfillment, returns. One protocol so any agent can transact with any merchant.

Discovery

Merchants publish capabilities at /.well-known/ucp — the same pattern as A2A's agent cards. An agent hits this endpoint and learns what commerce operations the merchant supports.

FieldPurposeExample
servicesAvailable commerce operationsCheckout, Discount, Fulfillment
capabilitiesWhat each service supportsCart management, coupon validation, shipment tracking
transportHow to connectREST, A2A binding, MCP binding
authenticationRequired authOAuth2, API key

Discovery is the onramp. No integration guides, no partner agreements. Hit the endpoint, read the schema, transact.

Services

UCP defines three core service interfaces:

ServiceWhat It DoesOperations
CheckoutCart to payment to orderCreate cart, add items, apply payment, confirm order
DiscountPricing intelligenceQuery available discounts, validate coupons, apply promotions
FulfillmentPost-purchase logisticsTrack shipment, manage returns, confirm delivery

Each service is optional. A merchant implements what they support. An agent inspects capabilities before attempting operations — no trial-and-error.

Commerce Journey

The full loop from intent to delivery:

BROWSE → CART → DISCOUNT → CHECKOUT → PAYMENT → FULFILLMENT → FEEDBACK
↓ ↓ ↓ ↓ ↓ ↓ ↓
Agent Agent Agent Agent AP2/x402 Merchant Agent
finds builds applies confirms authorizes ships evaluates
items basket coupons order payment product experience
StageProtocolWho Acts
Browse + CartUCP CheckoutAgent queries merchant catalog, builds cart
DiscountUCP DiscountAgent finds and applies best available pricing
PaymentAP2Agent authorizes payment via VDC mandate
SettlementCard rails, stablecoins, or x402Payment service provider settles
FulfillmentUCP FulfillmentMerchant ships, agent tracks

Transport Bindings

UCP is transport-flexible. Three official bindings:

BindingHow It WorksBest For
RESTStandard HTTP endpointsDirect merchant integrations
A2ACommerce operations wrapped as A2A tasksAgent-to-agent commerce delegation
MCPCommerce operations exposed as MCP toolsAI assistants shopping on behalf of users

The A2A binding means any agent that speaks A2A can also shop via UCP. The MCP binding means any LLM with MCP tool access can transact. Same operations, three entry points.

Merchant of Record

UCP preserves the merchant-of-record model. The merchant owns the transaction:

ResponsibilityWho Owns It
Product catalogMerchant
PricingMerchant
Tax calculationMerchant
Order fulfillmentMerchant
Customer serviceMerchant
Payment processingMerchant's PSP

The agent is a buyer, not an intermediary. This matters for regulation — the merchant retains liability, compliance obligations, and customer relationship. The protocol standardizes the interface, not the business.

Partners

20+ launch partners across the commerce stack:

LayerPartners
MarketplacesShopify, Etsy, Wayfair, Target, Walmart
PaymentVisa, Mastercard, Stripe, Adyen, American Express
Commerce platformsBigCommerce, WooCommerce

Shopify is building UCP natively. When Shopify's 4M+ merchants gain UCP endpoints, any A2A-capable agent can buy from any Shopify store without custom integration.

Where UCP Sits

A2A (communication) → UCP (commerce) → AP2 (payment) → Settlement
ProtocolWhat It DoesAnalogy
A2AAgents find and talk to each otherDNS + TCP
UCPAgents buy and sellHTTP (the commerce API)
AP2Agents authorize paymentsCredit card authorization
SettlementValue actually movesBank clearing

UCP is the commerce API for the agentic economy. A2A provides the transport. AP2 provides the payment authorization. Together they form Google's agent commerce stack.

Context

Questions

When every merchant publishes a /.well-known/ucp endpoint, does the agent that shops best become the ultimate consumer?

  • If UCP standardizes the buy side, what happens to the differentiation merchants built through custom checkout experiences?
  • Does the merchant-of-record model survive when the buyer is an algorithm that optimizes purely for price?
  • At what transaction volume do agents need their own discount negotiation — and does UCP support that?