Universal Commerce Protocol (UCP) & Agent Payments (AP2) Demo
UCP is the standardized language for AI agents to discover, negotiate, and execute transactions autonomously. Paired with AP2 — the trust layer using Verifiable Digital Credentials and cryptographic checkout-hash binding — agents can securely pay merchants across REST, MCP, and A2A transports without custom integrations.
What are UCP & AP2?
The Universal Commerce Protocol (UCP) and Agent Payments Protocol (AP2) together form a complete standard for autonomous AI commerce — from product discovery to cryptographically secured payment.
Universal Commerce Protocol (UCP)
- • Standardized Language: A common protocol for AI agents to discover, negotiate, and execute transactions autonomously
- • Transport Agnostic: Runs across REST, MCP, and A2A protocols
- • Machine-Readable Discovery:
/.well-known/ucpprofile lets any agent find merchant capabilities - • Server-Selects Architecture: Businesses dictate protocol version and capabilities
- • Minor Units: All monetary amounts represented in cents to avoid floating-point errors
Agent Payments Protocol (AP2)
- • Trust Layer: Secures agent-led transactions using Verifiable Digital Credentials (VDCs)
- • Checkout Hash: Cryptographically signed payment authorizations tied to specific cart states
- • Signature Algorithms: Supports ES256, ES384, and ES512
- • Mandates Extension: Session becomes “Security Locked” once negotiated — no modifications allowed
- • Non-Repudiation: Every authorization is verifiable and tamper-proof
Why This Matters
As AI agents increasingly handle purchasing, booking, and supply-chain transactions on behalf of humans and organizations, a universal commerce standard prevents fragmentation and ensures trust. UCP gives agents a shared language; AP2 ensures every dollar is accounted for with cryptographic proof.
- • No more one-off API integrations per merchant
- • Agents can transact across any UCP-compliant storefront
- • Payment authorization is tied to exact cart state — no bait-and-switch
Key Features at a Glance
Transport Agnostic
Works over REST, MCP, and A2A — plug into existing infrastructure without rewrites.
Server-Selects
Merchants control which UCP version and capabilities they expose. Agents adapt accordingly.
Verifiable Digital Credentials
AP2 uses VDCs to prove agent identity and payment authority without sharing raw secrets.
Checkout Hash Binding
Payment authorization is cryptographically bound to the exact cart state — tamper-evident by design.
Mandates Extension
Once an AP2 mandate is negotiated the session locks. No items can be added, removed, or repriced.
Minor Unit Amounts
All monetary values in cents (e.g., $59.98 = 5998) to eliminate floating-point rounding issues.
What this demonstrates: AI agents autonomously discovering merchants, negotiating terms, and executing cryptographically signed transactions using emerging open commerce protocols (UCP + AP2).
How it relates to your business: Delegate recurring purchases, procurement, and subscription management to agents — with an audit trail that your finance and legal teams can actually trust. Every transaction is cryptographically signed and attributable.
Pain it solves: “Let AI spend money” is a non-starter without cryptographic receipts and enforced spending policies. These protocols add both — turning agent commerce from science fiction to something finance will sign off on.
Who it is for: Finance, procurement, and innovation leaders looking at autonomous spending agents for B2B or B2C commerce.
- Agent automatically renews SaaS subscriptions within policy limits and logs every transaction to the ledger.
- Procurement agent sources supplies, compares quotes, and executes the purchase once human-approved budget is set.
- Consumer agent books travel across vendors and settles the transaction with the merchant directly.
Add autonomous commerce to your AI agents
We help teams implement UCP and AP2 so their agents can discover, negotiate, and pay — securely and at scale.
Plan your commerce integrationBusiness Applications
How UCP and AP2 unlock autonomous commerce across industries
Agent-Led Purchasing
- • Procurement: Agents compare suppliers, negotiate pricing, and authorize purchases without human approval loops
- • Travel & Booking: Personal AI assistants book flights, hotels, and rentals across UCP-enabled providers
- • SaaS Subscriptions: Agents evaluate, trial, and subscribe to software tools on behalf of teams
Trust & Compliance
- • Audit Trail: Every AP2 authorization is cryptographically signed — complete non-repudiation
- • Spending Limits: VDCs encode authority boundaries so agents cannot exceed delegated budgets
- • Supply Chain: Multi-agent supply networks transact with verifiable credentials at each hop
Developer Experience
- • Single Standard: Implement UCP once and reach every compliant merchant
- • Transport Freedom: Use the transport you already have — REST, MCP, or A2A
- • Open Specs: Published at ucp.dev and ap2-protocol.org
Ecosystem
- • UCP Hub: ucphub.ai — registry for discovering UCP-enabled merchants
- • Interoperability: Designed to compose with A2A, MCP, and existing payment rails
- • Open Source: Reference implementations and SDKs available for rapid adoption