Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Universal Commerce Protocol (UCP) Samples

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

Sample Implementations

Python

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

  • Server: Documentation

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

    • Located in rest/python/client/.
    • A script demonstrating a full "happy path" user journey (discovery -> checkout -> payment).

Node.js

A reference implementation of a UCP Merchant Server using Node.js, Hono, and Zod.

  • Server: Documentation
    • Located in rest/nodejs/.
    • Demonstrates implementation of UCP specifications for shopping, checkout, and order management using a Node.js stack.

A2A (Agent-to-Agent)

An AI-powered retail agent implementing UCP via the A2A protocol.

  • Cymbal Retail Agent: Documentation
    • Located in a2a/business_agent/.
    • Demonstrates A2A protocol integration with UCP Extension.
    • Includes AI-powered shopping assistant with Google ADK and Gemini.
    • React-based chat client for user interaction.

Getting Started

Please refer to the specific README files linked above for detailed instructions on how to set up, run, and test each sample.

关于 About

Samples for UCP

语言 Languages

Python63.6%
TypeScript35.4%
Shell0.6%
HTML0.4%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
46
Total Commits
峰值: 13次/周
Less
More

核心贡献者 Contributors