AgentAPIGate
Protocol Architecture · UCP · OpenAI/Stripe ACP · agents.json Discovery

Universal Commerce Protocol (UCP) vs Agentic Commerce Protocol (ACP) & agents.json

Bottom Line Up Front (BLUF)

Universal Commerce Protocol (UCP) and Agentic Commerce Protocol (ACP) are complementary retail standards, not mutually exclusive competitors: UCP standardizes storefront catalog discovery, SKU variants, tax/shipping quotes, and cart state, while ACP standardizes delegated checkout state machines and scoped single-use payment tokens (such as Stripe Shared Payment Tokens). Neither protocol is designed for sub-cent headless API metering — for $0.0005–$0.01 real-time data calls across 500+ endpoints, pair OpenAPI x-agent extensions + Remote MCP with scoped prepaid sub-keys or HTTP 402 machine micropayments.

1. Primary Specification Scope: UCP vs ACP vs agents.json

Universal Commerce Protocol (UCP · ucp.dev)

Co-authored across retail commerce platforms (Shopify, Google, and payment/retail partners), UCP defines transport-agnostic capability profiles so shopping agents can query live merchant inventory, buyer identity handoff, shipping tiers, and cart totals over REST, MCP, or A2A while preserving the merchant as Seller of Record.

Agentic Commerce Protocol (ACP · agenticcommerce.dev)

Open-sourced under Apache 2.0 by OpenAI and Stripe, ACP specifies deterministic checkout session endpoints (POST /checkout_sessions, complete, cancel) and Shared Payment Tokens (SPT) scoped to a single merchant, currency, expiration window, and maximum authorized total.

2. Side-by-Side Protocol Architecture Matrix

Architectural LayerUCP (Storefront & Cart)ACP (Delegated Checkout)HTTP 402 / Prepaid API Ledger
Primary Design GoalStandardize retail merchant product catalogs, inventory variants, cart state, shipping quotes, and tax calculation across AI shopping surfaces.Delegate user-approved checkout execution via scoped single-use payment credentials (e.g. Stripe Shared Payment Tokens) without exposing raw PANs.Settle headless machine-to-machine API calls and sub-cent data queries programmatically in a single HTTP round-trip with zero checkout UI.
Typical Transaction Size$15 – $2,500+ physical/digital retail cart orders$5 – $2,500+ human-confirmed checkout intents ($0.50+ card rail floor)$0.0005 – $0.05 per API call (or $1–$99 autonomous credit top-up)
Human-in-the-Loop RequirementCart assembly is autonomous; final purchase hands off to merchant checkout or delegated tokenExplicit buyer confirmation required before minting scoped Shared Payment TokenFully autonomous within scoped sub-key daily USD cap or agent wallet allowance
Discovery & Schema SurfaceMerchant UCP capability profile + structured product/cart endpointsOpenAPI checkout session endpoints (`create`, `update`, `complete`, `cancel`)`HTTP 402 Payment Required` challenge headers + `/openapi.json` + `/.well-known/api-catalog`
Failed / Empty Fulfillment ProtectionStandard retail order cancellation & merchant refund lifecyclePaymentIntent authorization hold canceled if merchant fulfillment check failsQuery-Before-Settle: upstream empty or 4xx/5xx responses charge $0.00 automatically

Building headless data pipelines rather than physical retail carts? Inspect our live HTTP 402 + Tempo MPP machine settlement guide (/x402) and scoped aag_agent_* daily USD budget caps.

3. Interactive /.well-known/agents.json & Commerce Manifest Validator

Paste an existing /.well-known/agents.json file or switch between a headless API manifest and a retail UCP + ACP storefront manifest to verify HTTPS transport, authentication rails, token footprint, and explicit readOnly safety flags in-browser.

Client-Side /.well-known/agents.json & Commerce Manifest Validator
100% browser-local schema & safety lint · $0.00 upstream calls
VALID MANIFEST (0 warnings)~278 tokens
Detected Discovery & Settlement Rails
OpenAPI 3.1Streamable HTTP MCPHTTP 402 Micropayments
Schema & Agent-Safety Diagnostics
All required discovery fields (schemaVersion, HTTPS openapi, auth.supported, and explicit boolean flows[].readOnly) passed validation.

4. Engineering Decision Checklist: Which Protocol Should You Implement?

A. Physical & Digital Retail Carts

Expose UCP for live SKU inventory, shipping, and tax calculation, and accept ACP Shared Payment Tokens for human-confirmed card checkout.

B. Multi-Step API Orchestration

Publish a compact /.well-known/agents.json + RFC 9727 api-catalog pointing to OpenAPI 3.1 x-agent-* and lazy Streamable HTTP MCP.

C. High-Frequency Agent Tool Calls

Avoid $0.30 fixed card fees on $0.001 queries: use non-expiring PAYG credits with scoped sub-keys or zero-signup HTTP 402 USDC settlement.

Frequently Asked Questions

What is the difference between Universal Commerce Protocol (UCP) and Agentic Commerce Protocol (ACP)?

Universal Commerce Protocol (UCP, co-developed across retail commerce ecosystems including Shopify and Google) standardizes how AI agents discover merchant product catalogs, variants, shipping options, taxes, and cart sessions while keeping the merchant as Seller of Record. Agentic Commerce Protocol (ACP, co-developed by OpenAI and Stripe under Apache 2.0) focuses on the checkout state machine and delegated payment credential handoff using scoped Shared Payment Tokens.

Can UCP, ACP, and HTTP 402 micropayments coexist on the same platform?

Yes — they solve different layers of the stack. Retail storefronts use UCP for catalog/cart modeling and ACP for $10–$500 buyer-confirmed card checkouts, whereas headless developer APIs and MCP servers use prepaid scoped API keys or HTTP 402 machine micropayments because traditional card rails cannot settle $0.001 per-call data lookups economically.

Where does /.well-known/agents.json fit alongside UCP, ACP, and MCP?

An /.well-known/agents.json manifest acts as a lightweight root index that points autonomous agents to your OpenAPI 3.1 contract, Remote Streamable HTTP MCP endpoint, supported authentication/commerce rails, and multi-step workflow chains (readOnly vs mutating checkout flows) without forcing the LLM to ingest a 150,000-token OpenAPI file.

How do engineering teams prevent runaway spend when agents invoke paid APIs?

For retail ACP checkouts, single-use Shared Payment Tokens bind a hard maximum amount, currency, and merchant ID. For high-frequency data APIs on AgentAPIGate, scoped aag_agent_* sub-keys enforce server-side daily/lifetime USD caps, vertical pack allowlists, read-only locks, and X-AAG-Max-Cost per-call ceilings.