Skip to content

Open-Commerce-Protocol/OCP

Open Commerce Protocol (OCP)

OCP is a transport-agnostic semantic layer for AI commerce.

Overview

OCP unifies three execution modes:

  • protocol-native structured commerce;
  • agentic/delegated checkout;
  • browser-mediated fallback when API-only execution is insufficient.

OCP standardizes semantic consistency (discovery / intention / deal), not a single API style.

Quick Start

# 1) Read documentation entrypoint
cat docs/index.md

# 2) Browse specification docs
ls docs/specification

# 3) Validate example JSON (placeholder command)
python -m json.tool examples/messages/01-discovery-request.json >/dev/null

Repository Structure

Current Status

This repository is a draft scaffold aligned with docs/OCP_PROTOCOL_SPEC_DRAFT.md. Next steps are machine-verifiable schemas, runnable examples, and executable conformance tests.

About

OCP docs

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors