Deploy Workflow DevKit
Self-hosted durable workflows with observability - backed by Postgres
Just deployed
/var/lib/postgresql/data
Just deployed
observability
Just deployed
Deploy and Host Workflow DevKit on Railway
Workflow DevKit is a durable execution framework for JavaScript and TypeScript. It lets you build long-running, stateful workflows that can pause, resume, retry, and survive restarts, with built-in observability for inspecting runs, steps, and events.
About Hosting Workflow DevKit
This template deploys a minimal self-hosted Workflow DevKit setup on Railway using the Postgres World. It runs a flight booking example app and also hosts the Workflow observability UI, both connected to the same PostgreSQL database. The template is designed as a simple starter for running workflows outside of Vercel with durable state, a long-running worker process, and a live dashboard powered by Workflow’s observability web package.
Important: the observability UI in this template is intentionally unauthenticated for demo purposes. Anyone with the public URL can access it. For real deployments, you should keep observability private on an internal network, or fork the packages/web package from the Workflow repository and add your own authentication.
Common Use Cases
- Durable AI agents that need to pause, resume, retry, and keep state across long-running tasks.
- ETL and data pipeline jobs that coordinate multiple steps and external systems.
- Batch processing and background jobs such as imports, reports, syncs, and scheduled tasks.
Dependencies for Workflow DevKit Hosting
This template already includes the infrastructure needed to get started on Railway:
- A PostgreSQL database for the Postgres World.
- Long-running Railway services for the workflow app and the hosted observability UI.
Deployment Dependencies
- Workflow DevKit documentation
- Observability documentation
- Postgres World documentation
- Workflow GitHub repository
- Observability web package (
packages/web)
Why Deploy Workflow DevKit on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Workflow DevKit on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
observability
vercel/workflow-examples