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

Core model

Contracts are the durable system boundary.

ContractSpec uses explicit TypeScript specs to describe behavior before it spreads across APIs, UI, data models, events, and operator flows. The goal is not to hide implementation. The goal is to make the system boundary explicit enough that generation, validation, runtime enforcement, and regeneration can stay coherent.

System promiseone contract → many surfaces

Use the contract layer to keep surface behavior aligned, then let runtimes and generators do the repetitive work without inventing a closed platform.

What the contract layer owns

  • Behavior: operations, events, presentations, workflows.
  • Validation: input, output, and schema boundaries.
  • Governance: policy, auditability, and migration rules.
  • Surface alignment: generated or served behavior across API, UI, data, and agent-facing interfaces.

Specification types

You can adopt the model one part at a time. Not every system needs every spec type on day one.

OSS docscore-modelStart 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.