One system, many surfaces
Define explicit contracts once, then keep APIs, UI, data, events, and agent-facing surfaces aligned.
OSS documentation
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.
Define explicit contracts once, then keep APIs, UI, data, events, and agent-facing surfaces aligned.
Start with one endpoint, one workflow, or one unsafe module. You do not need a rewrite to begin.
Carry policy, auditability, migrations, tracing, and integration boundaries forward with the same system model.
Implemented packs
These pages are the canonical landing points for agent enforcement, AI-native surface composition, Builder authoring, and governed agent ecosystems. Each one has a practical path into the implementation.
Guard coding-agent edits and commands with local-first context, plan packets, patch verdicts, and review packets.
Define AI-native surfaces as typed bundle specs that resolve into auditable runtime plans.
Coordinate multimodal authoring, provider routing, readiness, export, and mobile review through governed contracts.
Build governed multi-agent systems with durable collaboration, controlled self-improvement, replaceable deployment topologies, and evidence-based production qualification.
Quick start
Use the CLI and core libraries to define one explicit capability, generate the surface, and validate the contract boundary before you expand.
1bun add -D contractspec
2bun add @lssm-tech/lib.contracts-spec @lssm-tech/lib.schema
3
4contractspec init
5contractspec create --type operation
6contractspec build src/contracts/mySpec.ts
7contractspec validate src/contracts/mySpec.tsPrimary path
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.
Start
Install ContractSpec, wire a first contract, and adopt it into an existing codebase.
Core Model
Learn how contracts, generated surfaces, policies, overlays, and safe regeneration fit together.
Build
Use practical guides, libraries, architecture patterns, and examples to ship real surfaces.
Feature Hubs
Install complete feature systems, customize granular surfaces, and compose vertical applications across web and native.
Agents
Build, operate, improve, deploy, and qualify governed agent ecosystems.
Domains
Implement AuthOS, BillingOS, CompanyOS, CommunicationOS, and other product operating domains across web and mobile.
Operate
Run the system safely with governance, auditability, tracing, and operator-grade controls.
Integrations
Connect models, messaging, storage, payments, search, and external systems through typed bindings.
Reference
Search generated contract docs, inspect example packages, and navigate the system as source of truth.
Studio
Understand what Studio adds on top of the open system and when to adopt it.
Reference and evidence
The reference index and example catalog stay close to the repo truth. Use them when you need exact public surfaces, not just the explanatory layer.
Secondary reading
Positioning, comparisons, and philosophy remain available, but they no longer define the main docs path.