Favicon of Workflow SDK

Workflow SDK

A workflow SDK that preserves progress and retries failed TypeScript steps, with self-hosting through Postgres or managed deployment on Vercel.

Screenshot of Workflow SDK website

Workflow SDK is for developers building apps and AI agents whose tasks need to keep their progress across pauses and failures. It adds durable execution to TypeScript and JavaScript functions so teams don't have to build their own queues and retry logic.

  • Saved progress and retries: Workflows retain their state and automatically retry failed steps, supporting processes that run over long periods.
  • Waiting without compute: A workflow can suspend while it waits, then resume with its state intact without consuming compute during the pause.
  • AI SDK integration: Developers can use AI SDK patterns for agents with streaming, persistent state, and resumable runs.
  • Run inspection: Built-in observability lets developers inspect workflow runs and individual steps, with a local inspection UI and dashboard integration on Vercel.

Workflow SDK is open source under Apache 2.0. It runs locally with a bundled backend, and self-hosted deployments can use Postgres or a custom backend. Vercel provides a separate managed deployment option with hosted storage, queuing, scaling, and observability.

Similar to Workflow SDK