Business logic outlives infrastructure.
Quatrain Core— the engine for infra-agnostic business logic.
Quatrain Core is a cloud-native suite of development bricks for building stateful applications. One Core for developers writing code and business experts orchestrating workflows.
Install, compose, ship.
Install scripts, typed SDK, state machines and the Tycho CLI.
Audit, sovereignty, compliance.
Static analysis, signed packages, NIS 2 readiness, AGPL governance.
Launch business apps faster.
No-code studio, AI agent and ready-made bricks — no lock-in.
Autonomous business ops, by Quatrain Core.
The Quatrain Core AI agent translates natural-language requirements into domain models, state machines and screens, then deploys them on the infrastructure of your choice. It keeps a second brain (OKF knowledge base) of everything it learns along the way.
Infrastructure agnostic
Deploy anywhere through the Tycho CLI.
Stateful by design
Built on Core's workflow & conformance state machines.
Lifecycle aware
Status, transitions, audit trails out of the box.
The SDK approach
Import high-level bricks directly into your stack. Type-safe, cloud-native, fully extensible.
import { WorkflowStateMachine } from '@quatrain/state-machine';
const orderProcess = new WorkflowStateMachine({
id: 'order-processing',
states: ['draft', 'submitted', 'approved', 'fulfilled'],
transitions: [
{ from: 'draft', to: 'submitted', on: 'submit' },
{ from: 'submitted', to: 'approved', on: 'approve' },
],
});Read the quickstart Visual orchestration
Build production-ready apps with a drag-and-drop interface that compiles to enterprise-grade state machines.
Standardized Core packages, ready for production.
Data Backends
Firestore, PostgreSQL and SQLite adapters.
@quatrain/backend-*Auth
OIDC, Firebase, Supabase, RBAC.
@quatrain/auth-*State Machine
Workflow & conformance state machines.
@quatrain/state-machineStorage
S3/MinIO, Firebase, Supabase, local.
@quatrain/storage-*AI Adapters
OpenAI-compatible & Gemini providers.
@quatrain/ai-*Queues
AMQP, AWS SQS, GCP Pub/Sub, MQTT.
@quatrain/queue-*Ingestion
OCR, video, audio and web pipelines.
@quatrain/ingestion-*MDM
Agnostic master data management.
@quatrain/mdmBuild the systems that run a business — with Quatrain Core.
Approval workflows
Multi-step BPM with role-based gates and SLAs.
Lightweight ERP
Stateful business objects across the full lifecycle.
AI-generated apps
Describe a process — get a deployed application.
Bring your own infrastructure.
Deployment and infrastructure are handled by Tycho and its CLI.
Firebase
Firestore
Supabase
PostgreSQL
SQLite
AWS
Google Cloud
Azure
Scaleway
Kubernetes
Docker
Podman
Firebase
Firestore
Supabase
PostgreSQL
SQLite
AWS
Google Cloud
Azure
Scaleway
Kubernetes
Docker
Podman
The whole Quatrain ecosystem, on GitHub.
Three monorepos — Core (backend bricks), CoreUX (frontend components) and CoreApps (studio & containers) — every brick fully documented and AGPL-v3 licensed.
Reference docs rebuilt every night by CI