All projects
CREON
AI-governed agentic commerce on Chainlink CRE with x402 payments and onchain settlement.
CRE & AI Risk & Compliance
What it is
CREON is an agentic commerce system for digital goods that combines AI policy enforcement (OpenAI), x402 payment gating, and verifiable onchain execution.
It solves a core problem in agentic commerce: listing policy, payment verification, entitlement, and payout are usually fragmented across multiple systems and require manual operations.
With CREON, the workflow is unified:
- createListing: product listings are evaluated by deterministic checks plus LLM-based risk/compliance classification.
- purchase: x402 payment proof is validated and purchase intent is recorded.
- entitlement is written onchain so buyers can restore access.
- settle: merchant payout is executed via checkout split logic (platform fee + merchant net), with clear transaction traces.
The project supports additional lifecycle actions like search, refund, governance, verify, and decide, making it usable as a full policy-aware commerce backend for agents and human operators.
How it Works
- Workflow engine: Chainlink CRE workflow in TypeScript (main.ts) with action router and process handlers.
- AI integration: OpenAI policy classifier for listing risk/compliance decisions (openai.ts, listingPolicy.ts).
- Payment gateway: Next.js gateway with x402-gated purchase endpoint (proxy.ts, route.ts).
- Data layer: MongoDB Atlast bridge API for workflow with reads/writes (route.ts).
- Onchain layer: Entitlement and checkout settlement contracts on Base Sepolia (EntitlementRegistry.sol, CommerceCheckout.sol).
- Testing/demo: CRE CLI simulations with fixtures across listing, purchase, settlement, governance, refund, and policy stress cases (workflow/fixtures/).
Links
Created by
- Herald Bayoca