OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

AI index

OSS documentation

Build AI-native systems on explicit contracts, then add Studio when you want the operating layer.

These docs are optimized for OSS adopters first. Learn the contract model, generate and govern surfaces safely, wire integrations, and run the system in production without giving up ownership of your code.

One system, many surfaces

Define explicit contracts once, then keep APIs, UI, data, events, and agent-facing surfaces aligned.

Incremental adoption

Start with one endpoint, one workflow, or one unsafe module. You do not need a rewrite to begin.

Operator-grade controls

Carry policy, auditability, migrations, tracing, and integration boundaries forward with the same system model.

Quick start

Start with one contract

Use the CLI and core libraries to define one explicit capability, generate the surface, and validate the contract boundary before you expand.

docs-quick-start
bun add -D contractspec
bun add @contractspec/lib.contracts-spec @contractspec/lib.schema

contractspec init
contractspec create --type operation
contractspec build src/contracts/mySpec.ts
contractspec validate src/contracts/mySpec.ts

Primary path

Move through the system in the right order

Start with onboarding, then learn the model, then build and operate with confidence. The primary docs path is intentionally shorter than the full route inventory.

OSS docsStart with OSS. Adopt Studio when you want the operating layer.

Why ContractSpec

Keep educational and comparison content reachable without letting it define the primary OSS learning path.