CX · Reference guideCX Guide
PlaygroundDownloadsAboutv0.17.0
Sheet 01 · The ring model

Four rings.
One contract.
Agentic ready.

CX is one language for data and code — the same bracket form is a document, a schema, a query, and a program. How much of it you take on is a ring: Ring 0 is a data format that cannot execute anything, each ring outward adds exactly one commitment, and imports point inward, never out. The contract is machine-checked.

R0Datadocuments · schemas · values
R1Codeevaluation · deny-by-default capabilities
R2Platformthe store · transports · live surfaces
R3Ecosystemtooling · packs · the catalog
DATA CANNOT EXECUTE IMPORTS POINT INWARD NEVER OUTWARD R = 4 RINGS RING 3ecosystem RING 2platform RING 1code RING 0data MACHINE-CHECKED IMPORT GATES · RING TAGS
Fig. 1 — four rings, one-directional import contract

Table of contents

Start here

Ring 0 — Data

Ring 1 — Code

Ring 2 — Platform

Ring 3 — Ecosystem

x/ tier — experimental

Reference

Source: docs-src/canonical/sections/*.cxd + the co-located docs in stdlib/*.cx and x/*.cx. Built by make guide.