PostHole
Compose Login
You are browsing us.zone2 in read-only mode. Log in to participate.
rss-bridge 2026-03-01T04:04:38.790216778+00:00

Under the Hood: Universal Commerce Protocol (UCP)

The Universal Commerce Protocol (UCP) is a new, open-source standard for agentic commerce, co-developed by Google and industry leaders. It establishes a common, secure language to connect consumer surfaces (like Gemini and AI Mode in Search) with business backends, enabling seamless shopping from product discovery to purchase. UCP simplifies integration for businesses, supports various payment providers, and is designed to power the next generation of conversational commerce experiences.


[Google for Developers]

Under the Hood: Universal Commerce Protocol (UCP)

JAN. 11, 2026

Amit Handa

Director of Engineering

Google Commerce

Ashish Gupta

VP/GM, Merchant Shopping, and Engineering Fellow

Google

Facebook

Twitter

LinkedIn

Mail

1.0 What is UCP?

The Universal Commerce Protocol (UCP) is an open-source standard designed to power the next generation of agentic commerce. By establishing a common language and functional primitives, UCP enables seamless commerce journeys between consumer surfaces, businesses, and payment providers. It is built to work with existing retail infrastructure, and is compatible with Agent Payments Protocol (AP2) to provide secure agentic payments support. It also provides businesses flexible ways to integrate via APIs, Agent2Agent (A2A), and the Model Context Protocol (MCP).

UCP is developed by Google in collaboration with industry leaders including Shopify, Etsy, Wayfair, Target, and Walmart endorsed by over 20 global partners across the ecosystem like Adyen, American Express, Best Buy, Flipkart, Macy's Inc, Mastercard, Stripe, The Home Depot, Visa, Zalando and many more.

UCP is built to benefit the entire commerce ecosystem

  • For businesses: UCP empowers you to showcase your unique product and service offerings at shopping touchpoints across consumer interfaces such as AI Mode in Google Search and Gemini app, and others in the future. With UCP, you own your business logic, and you remain the Merchant of Record. UCP is built for retailer flexibility, and provides an 'embedded option' that allows you to maintain a fully customized checkout experience from day one.
  • For AI platforms: With UCP, you can enable agentic shopping for your audiences. You can simplify business onboarding using standardized APIs while giving them flexibility to use MCP, A2A and existing agent frameworks of their choice.
  • For developers: UCP is an evolving open-source standard designed to be community-driven. We invite you to build the next generation of digital commerce with us.
  • For payment providers: UCP’s open, modular payment handler design enables open interoperability and choice of payment methods. Through this design, UCP enables universal payments that are provable. Every authorization is backed by cryptographic proof of user consent.
  • For consumers: When your favorite brands adopt UCP, it removes friction from product discovery to decision, so you can shop the brands you love, with peace of mind, ensuring you get the best value inclusive of your member benefits.

The case for a new, flexible standard

As consumers embrace conversational experiences, they expect seamless transitions from brainstorming and research to final purchase. That means it’s critical to support real-time inventory checks, dynamic pricing, and instant transactions, all within the user’s current conversational context.

However, traditional tech infrastructure makes it difficult to support this agentic shift. Businesses face an N x N integration bottleneck, forcing them to build bespoke connections for every surface, which ultimately slows the ecosystem's shift toward delightful agentic commercial experiences.

Developed in collaboration with industry leaders, UCP is designed to tackle this bottleneck and meet the evolving needs of the entire commerce landscape. Unlike legacy systems, UCP standardizes the full commerce journey - from discovery and consideration to purchase and order management - through a single, secure abstraction layer:

  • Unified integration: collapses N x N complexity into a single integration point for all consumer surfaces.
  • Shared language: standardizes discovery, capability schema, and transport bindings to ensure cross-platform interoperability, and end-to-end support for the full commerce lifecycle.
  • Extensible architecture: built with flexible capabilities and extensions framework which can easily scale as new agentic experiences emerge. This design choice also allows UCP to expand across new verticals.
  • Security-first approach: provides tokenized payments and verifiable credentials, as a secured way to communicate between agents and business backends.

By reducing integration complexity and removing technical barriers, UCP enables businesses to actively participate in the new era of agentic commerce.

UCP Overview

[UCP Diagram (Detailed) (1)]

UCP is built to power agentic experiences across the commerce ecosystem. It creates a clear language for consumer surfaces (such as AI Mode on Search, Gemini, and others) to connect to business backends (for product discovery, cart checkout etc) in a standardized and secure way.

Businesses and agents choose the services (for example, Shopping and other verticals) they want to support, and expose the capabilities corresponding to them. Capabilities are core commerce building blocks such as checkout and product discovery. These capabilities can also have extensions that augment these capabilities with specialized functionality, such as discounts. UCP’s discovery mechanism allows agents to dynamically discover business capabilities and payment options via profiles.

Additionally, UCP models a unique payments architecture, separating what consumers use to pay (instruments) from payment handlers (payment processors) allowing it to scale to a diverse set of existing payment providers. UCP also supports multiple transports including A2A, MCP and APIs to provide flexibility for businesses and agents to communicate. For example, the Checkout Capability can have a REST API binding or a MCP binding depending on your platform's needs.

2.0 How it works

Let’s use a sample business store and an agent to see how UCP works.

Here are suggested steps:

  • Setup a business server and add sample products to your store
  • Prepare your business server to accept requests from agents
  • Enable your agent to discover business capabilities
  • Invoke a checkout capability with your agent
  • Apply discounts to the checkout request with your agent

2.1 Set up the business server and add sample products to your store

To set up a business server, we have created a Samples repository, which contains the Python server to host the Business APIs and a UCP SDK which contains sample product data.

Set up the business server:

mkdir sdk
git clone https://github.com/Universal-Commerce-Protocol/python-sdk.git sdk/python
pushd sdk/python
uv sync
popd
git clone https://github.com/Universal-Commerce-Protocol/samples.git
cd samples/rest/python/server
uv sync

Shell

The business we are using is a demo flower shop. We have a SQLite based sample product database that allows us to store sample products for our demo.

Run the following command to create a local database populated with sample products for the business:

mkdir /tmp/ucp_test
uv run import_csv.py \
--products_db_path=/tmp/ucp_test/products.db \
--transactions_db_path=/tmp/ucp_test/transactions.db \
--data_dir=../test_data/flower_shop

Shell

2.2 Prepare your business server to accept requests from agents

Start the business server hosting the Business APIs on port 8182, pointing to the sample products database. We start the server in the background and keep it running, so that the client can connect to it.

Run the following command to start the business server:

[...]


Original source

Reply