﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>> ## Documentation Index
> Fetch the complete documentation index at: https://openworkflow.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> ### When to use OpenWorkflow
>
> Use OpenWorkflow in TypeScript or JavaScript apps for:
>
> - Background jobs that need retries and must resume after a crash or deploy.
> - Multi-step integrations and data pipelines that need to save progress between operations.
> - AI workflows with multiple model or tool calls that need durable checkpoints.
> - Workflows that wait for a human approval, a webhook, or a timer before continuing.
>
> OpenWorkflow runs on Node.js 22.22+ or Bun, with PostgreSQL or SQLite storing workflow state. Your app enqueues runs, and a worker executes them.
>
> ### How to use OpenWorkflow
>
> Read and follow https://openworkflow.dev/skills/setup.md to set up OpenWorkflow.
>
> Define workflows with `defineWorkflow`, wrap operations in `step.run`, and enqueue runs with `ow.runWorkflow(workflow.spec, input)`. Start a worker with `npx @openworkflow/cli worker start` to execute them. See [Workflows](https://openworkflow.dev/docs/workflows.md), [Steps](https://openworkflow.dev/docs/steps.md), and [Signals](https://openworkflow.dev/docs/signals.md) for the APIs.

# Roadmap

> What's coming next for OpenWorkflow, what's in the current release, and where to report bugs or request features

## Live in current `npm` release

* PostgreSQL and SQLite backends
* CLI (`npx @openworkflow/cli`)
* Dashboard (`npx @openworkflow/cli dashboard`)
* Bun runtime support
* Per-worker concurrency control
* Step memoization & retries
* Graceful shutdown
* Parallel step execution
* Sleeping (pausing) workflows
* Workflow versioning
* Workflow cancellation
* Configurable retry policies
* Idempotency keys
* Prometheus `/metrics` endpoint
* Child workflows (`step.runWorkflow`)
* Signals (`step.sendSignal`, `step.waitForSignal`)
* OpenTelemetry
* Recurring cron schedules
* Workflow-level reruns from the beginning or a saved step

## Planned

* Rollback / compensation functions
* Workflow priority and concurrency controls

## Bugs & feature requests

Found a bug or have a feature request? Please open an issue on GitHub so we can
track and prioritize it:
[https://github.com/openworkflowdev/openworkflow/issues/new](https://github.com/openworkflowdev/openworkflow/issues/new)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.