The Cohesive Systems Runtime (CSR) is the execution engine that brings Cohesive Systems Language models to life.
CSR takes declarative definitions of entities, fields, invariants, state transitions, and workflows and faithfully executes them under real-world conditions: concurrency, partial failure, distribution, latency, and change. It is responsible for enforcing rules, coordinating state transitions, running long-lived processes, and producing consistent observations of system state.
Rather than embedding orchestration logic inside application code, CSR treats execution itself as a first-class concern. State transitions, decisions, side effects, retries, and compensations are modeled explicitly and executed deterministically, with full traceability and observability.
CSR provides:
- Deterministic execution of declarative state transitions and workflows
- Durable orchestration for long-running, multi-entity processes
- Pluggable infrastructure adapters for storage, messaging, and compute
- Consistent projections for queries, APIs, and user interfaces
- Built-in observability across state, transitions, and effects
The runtime decouples what the system means from how it is run, allowing systems to evolve, scale, and recover without eroding their semantic integrity.
Together with CSL, CSR forms a complete foundation for building software systems that are explicit, resilient, and semantically coherent by construction.