Open source · MIT · PostgreSQL ≥ 10

Durable workflows on the Postgres you already run

pg-workflows saves every step's result in PostgreSQL, retries from the step that failed, and pauses for events, timers, or polled conditions. No Redis, no broker, no scheduler.

Prompt for your coding agent

Add pg-workflows to this project. Fetch https://pgworkflows.dev/skill.md and follow it step by step: pick the right layout for this codebase (monolith, web app plus worker, or microservices), install and verify the engine, add the @pg-workflows/ui dashboard for our stack, then ask me whether to add OpenTelemetry tracing.

Or install it yourself:npm install pg-workflows pg zodQuickstart →

Explore the docs