Quatrain Core Packages
Welcome to the Quatrain Core package catalog. Quatrain is built as a modular suite of decoupled packages covering domain modeling, database adapters, authentication providers, object storage, queuing, AI, and developer tooling.
Package Catalog
| Package | Description | Guides | API Reference |
|---|---|---|---|
@quatrain/ai | AI adapters commons | Overview | API Reference ↗ |
@quatrain/ai-gemini | AI adapter for Google Gemini | Overview | API Reference ↗ |
@quatrain/ai-openai | AI adapter for OpenAI and OpenAI-compatible models (DeepSeek, Qwen, Mistral, Ollama) | Overview | API Reference ↗ |
@quatrain/api | API utilities and models | Overview · HOWTO | API Reference ↗ |
@quatrain/api-client | Isomorphic API client for Quatrain based on native fetch | Overview · HOWTO | API Reference ↗ |
@quatrain/api-server | API Server Utilities for Quatrain | Overview · HOWTO | API Reference ↗ |
@quatrain/api-server-astro | Astro Adapter for Quatrain API Server | Overview · HOWTO | API Reference ↗ |
@quatrain/api-server-express | Express Adapter for Quatrain API Server | Overview · HOWTO | API Reference ↗ |
@quatrain/api-xmlrpc | XML-RPC API Client for Quatrain Core | Overview · HOWTO | API Reference ↗ |
@quatrain/app | Quatrain App Bootloader and configuration helpers | Overview · HOWTO | API Reference ↗ |
@quatrain/auth | Auth adapters commons | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-firebase | — | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-github | — | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-http-basic | Basic Authentication Adapter for Quatrain | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-oidc | Quatrain Embedded OIDC Auth Provider | Overview | API Reference ↗ |
@quatrain/auth-pocketbase | PocketBase Auth Adapter for Quatrain Core | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-rbac | Isomorphic Role-Based Access Control, Field-Level Security, M2M Agent Guards & Tarpitting for Quatrain | Overview · HOWTO | API Reference ↗ |
@quatrain/auth-supabase | — | Overview · HOWTO | API Reference ↗ |
@quatrain/backend | Backend adapters commons | Overview · HOWTO | API Reference ↗ |
@quatrain/backend-firestore | Backend adapter for Firestore | Overview | API Reference ↗ |
@quatrain/backend-migrations | Migration manager for Quatrain backend | Overview | API Reference ↗ |
@quatrain/backend-postgres | Backend adapter for Postgres | Overview | API Reference ↗ |
@quatrain/backend-restapi | Quatrain REST API Backend Adapter | Overview | API Reference ↗ |
@quatrain/backend-restapi-recipes | Community recipes for Quatrain REST API Backend Adapter | Overview | API Reference ↗ |
@quatrain/backend-sqlite | Backend adapter for SQLite | Overview · HOWTO | API Reference ↗ |
@quatrain/cache | Base cache interfaces and generic middlewares for Quatrain Core | Overview | API Reference ↗ |
@quatrain/cache-redis | Redis cache integration and middleware for Quatrain Core | Overview | API Reference ↗ |
@quatrain/chat | Conversational memory, prompt template orchestration, and LLM communication logic for the Quatrain framework | Overview | API Reference ↗ |
@quatrain/cli | Quatrain Core CLI for generating configurations and migrations | Overview · HOWTO | API Reference ↗ |
@quatrain/cloudwrapper | Cloud wrappers commons | Overview · HOWTO | API Reference ↗ |
@quatrain/cloudwrapper-firebase | Cloud Wrapper adapter for Firebase | Overview · HOWTO | API Reference ↗ |
@quatrain/cloudwrapper-supabase | Cloud Wrapper adapter for Supabase | Overview · HOWTO | API Reference ↗ |
@quatrain/code | Remote code repository adapters commons | Overview | API Reference ↗ |
@quatrain/code-github | GitHub repository adapter | Overview | API Reference ↗ |
@quatrain/config | Multi-source configuration manager and registry for Quatrain applications and agent tools | Overview | API Reference ↗ |
@quatrain/core | Core objects for business apps | Overview · HOWTO | API Reference ↗ |
@quatrain/gateway-upstream-express | — | Overview · HOWTO | API Reference ↗ |
@quatrain/git | Quatrain Core Git forge adapter contract, bi-modal base classes, and domain interfaces | Overview | API Reference ↗ |
@quatrain/git-client | — | Overview | API Reference ↗ |
@quatrain/git-forgejo | Quatrain Core Forgejo & Gitea sovereign adapter with bi-modal CLI (tea) and HTTP REST API v1 engine | Overview | API Reference ↗ |
@quatrain/git-github | Quatrain Core GitHub adapter with bi-modal CLI (gh) and HTTP REST API engine | Overview | API Reference ↗ |
@quatrain/http | — | Overview · HOWTO | API Reference ↗ |
@quatrain/i18n | — | Overview · HOWTO | API Reference ↗ |
@quatrain/i18n-en | — | Overview · HOWTO | API Reference ↗ |
@quatrain/i18n-es | — | Overview · HOWTO | API Reference ↗ |
@quatrain/i18n-fr | — | Overview · HOWTO | API Reference ↗ |
@quatrain/ingestion | Unified base ingestion interfaces and orchestrators for the Quatrain framework | Overview | API Reference ↗ |
@quatrain/ingestion-audio | Audio transcription adapter for the @quatrain/ingestion namespace | Overview | API Reference ↗ |
@quatrain/ingestion-ocr | OCR and PDF extraction adapter for the @quatrain/ingestion namespace | Overview | API Reference ↗ |
@quatrain/ingestion-video | Video parsing and YouTube metadata transcription adapter for the @quatrain/ingestion namespace | Overview | API Reference ↗ |
@quatrain/ingestion-web | Web crawling and HTML cleaning adapter for the @quatrain/ingestion namespace | Overview | API Reference ↗ |
@quatrain/log | Logger for business apps | Overview · HOWTO | API Reference ↗ |
@quatrain/mdm | Agnostic Master Data Management (MDM) core package with multi-axis capabilities matrix for Quatrain ecosystem | Overview · HOWTO | API Reference ↗ |
@quatrain/messaging | Messaging adapters commons | Overview · HOWTO | API Reference ↗ |
@quatrain/messaging-firebase | — | Overview · HOWTO | API Reference ↗ |
@quatrain/okf | Open Knowledge Format (OKF) flat file storage adapter | Overview · HOWTO | API Reference ↗ |
@quatrain/okf-ingest | Multi-source document ingestion, multimodal extraction, schema/mermaid transcription, token cost tracking, and OKF v0.2 packaging | Overview · HOWTO | API Reference ↗ |
@quatrain/okf-ingest-catalog | Agnostic ingestion and decomposition engine for encyclopedic catalogs, plant floras, dictionaries, pharmacopeias, and ordered entry collections into OKF v0.2 atomic entities | Overview · HOWTO | API Reference ↗ |
@quatrain/queue | Message Queue management base | Overview · HOWTO | API Reference ↗ |
@quatrain/queue-amqp | Queue adapter for AMQP compatible queue | Overview · HOWTO | API Reference ↗ |
@quatrain/queue-aws | Queue adapter for AWS SQS | Overview · HOWTO | API Reference ↗ |
@quatrain/queue-gcp | Queue adapter for Google Cloud Platform PubSub | Overview · HOWTO | API Reference ↗ |
@quatrain/queue-mqtt | MQTT (Mosquitto, EMQX, HiveMQ) queue adapter for @quatrain/queue | Overview · HOWTO | API Reference ↗ |
@quatrain/queue-sqlite | SQLite Queue Adapter for the @quatrain/queue namespace | Overview · HOWTO | API Reference ↗ |
@quatrain/searchengine | Base search engine abstraction and registry for the Quatrain Core ecosystem | Overview · HOWTO | API Reference ↗ |
@quatrain/searchengine-qmd | QMD (Query Markup Documents) Search Engine Adapter for the @quatrain/searchengine namespace | Overview · HOWTO | API Reference ↗ |
@quatrain/skills | Shared TypeScript CLI utilities for Quatrain Agent skills | Overview · HOWTO | API Reference ↗ |
@quatrain/state-machine | Strongly typed finite state machine with anonymous guards and actions | Overview · HOWTO | API Reference ↗ |
@quatrain/storage | Common types and utils for Storages Adapters | Overview · HOWTO | API Reference ↗ |
@quatrain/storage-firebase | Storage adapter for Firebase Storage | Overview · HOWTO | API Reference ↗ |
@quatrain/storage-git | Git & GitHub Storage Adapter for Quatrain Core | Overview | API Reference ↗ |
@quatrain/storage-local | Local Storage Adapter for Quatrain Core | Overview | API Reference ↗ |
@quatrain/storage-s3 | Storage adapter for S3 compatible services | Overview · HOWTO | API Reference ↗ |
@quatrain/storage-supabase | Storage adapter for Supabase Storage | Overview · HOWTO | API Reference ↗ |
@quatrain/studio | Quatrain App Generator Core | Overview | API Reference ↗ |
@quatrain/testing | Testing utilities for Quatrain framework | Overview | API Reference ↗ |
@quatrain/types | Shared contracts, types, interfaces, and exceptions for Quatrain Core | Overview · HOWTO | API Reference ↗ |
@quatrain/worker | Container Worker helpers | Overview · HOWTO | API Reference ↗ |