UCP Python SDK repository for the Universal Commerce Protocol (UCP) delivers an official Python client library that simplifies building UCP-compliant applications in Python. UCP itself is a modern, open-source standard that empowers seamless commerce interactions between platforms, AI agents, merchants, and payment providers without requiring bespoke integrations for every participant in the commerce ecosystem. This SDK provides Pydantic models for UCP schemas, making it easy for Python developers to construct, validate, and serialize protocol messages and data structures according to the UCP specification. By adhering to the official protocol standards, applications built on this SDK can participate in tasks like capability discovery, checkout flows, order management, and more, while remaining interoperable across different UCP implementations and surfaces.
Features
- Pydantic model support for UCP schemas
- Simplified Python interface for commerce message construction
- Ready-to-use data validation aligned with UCP spec
- Compatibility with UCP discovery and checkout workflows
- Apache-2.0 open-source license
- Tooling for rapid prototyping of commerce apps