Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.48 KB

File metadata and controls

45 lines (31 loc) · 1.48 KB

Universal Commerce Protocol (UCP) Samples

This directory contains sample implementations and client scripts for the Universal Commerce Protocol (UCP).

Sample Implementations

REST (Python) - Start Here

A reference implementation of a UCP Merchant Server using Python and FastAPI.

👉 Get Started with the REST Tutorial

  • Server: Located in rest/server/

    • Demonstrates capability discovery, checkout session management, payment processing, and order lifecycle.
    • Includes simulation endpoints for testing.
  • Client: Located in rest/client/

    • Happy Path Script - A script demonstrating a full "happy path" user journey (discovery -> checkout -> payment).

A2A (Coming Soon)

A reference implementation using Agent 2 Agent (A2A) protocol.

  • Located in a2a/
  • Status: Implementation in progress