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.
Autonomous business ops, by Quatrain Core.
The Quatrain Core AI agent translates natural-language requirements into BPM workflows and state machines, then deploys them on the infrastructure of your choice. Full lifecycle management included.
Infrastructure agnostic
Compile to Kubernetes, serverless, or bare metal.
Deep BPM integration
Native support for complex state-machine orchestration.
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 { Workflow } from '@quatrain/flow';
const orderProcess = new Workflow({
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.
Auth Brick
OIDC & SAML identity provider container.
@quatrain/authFlow Engine
Distributed BPM workflow orchestrator.
@quatrain/flowState Machine
Deterministic finite state automation.
@quatrain/stateData Bridge
Multi-database connectivity layer.
@quatrain/dataAI Agent
LLM-driven app & workflow generator.
@quatrain/agentEdge Gateway
API gateway and traffic controller.
@quatrain/edgeStorage Brick
Object storage with signed URLs.
@quatrain/storageNotification Hub
Email, SMS, webhooks dispatcher.
@quatrain/notifyBuild 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.
Firebase
Firestore
Supabase
PostgreSQL
SQLite
AWS
Google Cloud
Scaleway
Kubernetes
Docker
Podman
Firebase
Firestore
Supabase
PostgreSQL
SQLite
AWS
Google Cloud
Scaleway
Kubernetes
Docker
Podman
The whole Quatrain Core monorepo, on GitHub.
Packages, apps, and containers — every Core brick fully documented and AGPL-v3 licensed.