# Universal Commerce Protocol gives AI shopping agents a shared checkout interface

> Source: <https://dev.to/dalby/universal-commerce-protocol-gives-ai-shopping-agents-a-shared-checkout-interface-565n>
> Published: 2026-12-04 18:09:18+00:00

**Key takeaway:** Stores implementing UCP publish a JSON profile at /.well-known/ucp listing services and dotted capabilities like dev.ucp.shopping.checkout, and assistants send their own profile address in a UCP-Agent header so both sides use only shared capabilities.

*Originally published as a Technical Brief on [dalby.md](https://dalby.md/briefs/google-universal-commerce-protocol).*

The Universal Commerce Protocol (UCP) is an open specification from Google for how an AI assistant buys something from an online store on a person's behalf. A store that implements it lets any assistant that also supports it see what the store offers, fill a checkout, pay with a credential from a payment service and hand difficult steps back to the buyer.

Google announced UCP on 11 January 2026 at the National Retail Federation's annual conference. It was co-developed with Shopify, Etsy, Wayfair, Target and Walmart, and more than 20 other companies endorsed it. [Google's announcement](https://blog.google/products/ads-commerce/agentic-commerce-ai-tools-protocol-retailers-platforms/) · [Google Developers Blog](https://developers.googleblog.com/under-the-hood-universal-commerce-protocol-ucp/)

The specification, its *JSON schemas* (machine-readable definitions of what each request and response must contain) and the documentation are on GitHub under the Apache 2.0 licence, which lets anyone use and adapt them, and the published specification is at ucp.dev. [UCP repository](https://github.com/Universal-Commerce-Protocol/ucp)

Two sides take part. The *store* sells and remains the legal seller, responsible for the sale, tax and returns. The *assistant* buys on the person's behalf: it is the application the buyer talks to, such as Gemini. The specification calls the store the *business* and the assistant the *platform*. Despite its name, the platform is on the buyer's side, not a shop system such as Shopify. This brief says store and assistant throughout; the specification's examples keep its own terms, so `business.example.com` is a store and `platform.example` an assistant.

The store publishes a JSON *profile* at a fixed address on its own domain, `/.well-known/ucp`. The `/.well-known/` path is a web convention for files that software can find without being told where they are. The profile says which protocol version the store uses, where its interface is, and which *capabilities* it supports. A capability is one part of the protocol, such as checkout or order tracking, and each has a dotted name, such as `dev.ucp.shopping.checkout`. A shortened example from the specification: [UCP specification overview](https://ucp.dev/2026-08-25/specification/overview/)

```
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        { "transport": "rest",
          "endpoint": "https://business.example.com/ucp/v1" }
      ]
    },
    "capabilities": {
      "dev.ucp.shopping.checkout": [ { "version": "2026-08-25" } ]
    }
  }
}
```

A *service* is how to reach the store; a *capability* is what the store can do there. In the example, `services` says where to reach the store and how: `dev.ucp.shopping` is the shopping service, offered over REST, a plain HTTP and JSON interface, at the given address. `capabilities` lists what the store can do through that service, here only checkout. A real profile also lists the payment methods the store accepts, such as Google Pay or Shopify's Shop Pay.

The assistant publishes a profile of its own and sends its address with every request, in a `UCP-Agent` header; "agent" in the header name means the assistant, and the `profile=` value in the request below is that address. So the assistant reads the store's profile before its first request, and the store reads the assistant's profile from the address in each request. The store then uses only the capabilities both sides support. *Extensions*, such as discount codes or delivery options, add fields to a capability; if the two sides do not share the checkout capability, its extensions are not used either.

The assistant creates a checkout session with an ordinary HTTP request:

```
POST /checkout-sessions HTTP/1.1
UCP-Agent: profile="https://platform.example/profile"
Content-Type: application/json

{"line_items":[{"item":{"id":"item_123"},"quantity":2}]}
```

The store replies with the session: an identifier, a status and any problems. In the specification's example the status is `incomplete`, because the buyer's email address is missing. `$.buyer.email` is a path to that field: `$` stands for the whole session (shortened):

```
{
  "id": "chk_1234567890",
  "status": "incomplete",
  "messages": [
    { "type": "error", "code": "missing", "path": "$.buyer.email",
      "content": "Buyer email is required" }
  ],
  "currency": "USD"
}
```

Through further updates, the assistant fills in the missing details until the session's status is `ready_for_complete`.

Payment goes through a payment service that the store accepts, such as Google Pay. The store's checkout response names the payment services it accepts, with its own configuration for each. The assistant starts the payment: it passes that configuration to the payment service and gets back a payment credential, such as a token tied to this purchase. The store takes no part in this step. The assistant then passes the credential on to the store instead of typing in card details. [Google Developers Blog](https://developers.googleblog.com/under-the-hood-universal-commerce-protocol-ucp/) · [UCP specification overview](https://ucp.dev/2026-08-25/specification/overview/)

The specification does not say where or how the buyer approves the payment. The one buyer step it describes for payment is the extra security check by the buyer's bank, covered below.

With that credential in hand, the assistant sends `POST /checkout-sessions/{id}/complete`, and the store places the order. [UCP checkout over REST](https://ucp.dev/2026-08-25/specification/shopping/checkout/rest/)

Some steps need the buyer, such as an extra security check by the card issuer, the buyer's bank. The store then sets the status to `requires_escalation`, the specification's term for handing a step to the buyer, and must include a `continue_url`, a link to a page on its own site. The assistant opens that page, and the buyer finishes the step there. This can happen at any point during the checkout, not only after step 2; the numbers give the usual order, not a fixed one. [UCP checkout schema](https://ucp.dev/2026-08-25/schemas/shopping/checkout.json)

The examples above use REST. The specification describes three other ways to offer the same checkout:

`UCP-Agent` header), and the assistant talks to it through the Agent2Agent (A2A) protocol, a standard for one AI agent to send requests to another.
Four versions have been released, each named by its date: 2026-01-11, 2026-01-23, 2026-04-08 and 2026-08-25. The 2026-08-25 release renames fields and moves some payment features to new names, so code written for an earlier version needs changes. When checked on 1 December 2026, it was still the latest release. [UCP announcements](https://github.com/Universal-Commerce-Protocol/ucp/blob/main/docs/documentation/announcements.md) · [v2026-08-25 release notes](https://github.com/Universal-Commerce-Protocol/ucp/releases/tag/v2026-08-25)

Without a shared protocol, every AI assistant needs its own integration with every store's checkout. UCP aims to replace those with one interface per store and one client per assistant. That saving arrives only if many stores and assistants adopt it.

For a shop developer, UCP is an HTTP interface described by published JSON schemas, so standard HTTP tools can send its requests, and the requests and responses can be checked against the schemas. The store's own code still decides prices, stock and taxes, and when the buyer must step in; `requires_escalation` gives it a defined way to hand control back. The [brief on safe AI write access](https://dalby.md/briefs/safe-ai-write-access-local-app) shows the same principle in a local app: the rules that hold are the ones the application enforces.

For a developer already building with MCP, a UCP store can appear as a set of tools in an MCP-compatible assistant. The [comparison of OpenAPI and MCP](https://dalby.md/briefs/can-openapi-fill-the-same-role-as-mcp) explains when each kind of interface fits; UCP defines both.

Google plays two roles: it wrote UCP, and it is also an assistant that uses it, with a buy button in AI Mode, the conversational search in Google Search, and in the Gemini app. When checked on 1 December 2026, it was open only to selected stores, for products eligible in the United States, Canada and Australia. Buyers pay with Google Pay, and the store needs an account in Merchant Center, the Google service where stores manage the product listings that Google shows. [Merchant Center Help](https://support.google.com/merchants/answer/16837055)

Researched and drafted with AI assistance, then reviewed by Søren Dalby. Sources are linked; errors may remain, and [corrections are welcome](mailto:contact@dalby.md?subject=Correction%3A%20Universal%20Commerce%20Protocol%20gives%20AI%20shopping%20agents%20a%20shared%20checkout%20interface).

Checked on 1 December 2026.
