Prisma Setup
workflow-engine uses Prisma to manage state persistence in a database-native way. PostgreSQL is the production path; SQLite is supported on Prisma 6, 7 and 8 for single-process deployments and local development.
Custom Adapters
If your infrastructure cannot use PostgreSQL/SQLite or Prisma, you can write custom persistence adapters. workflow-engine exposes clean interfaces for the persistence layer, the job queue, the step ledger, and the AI logger.