Vercel·
Workflow SDK 5: built for production
TL;DR
As durable JavaScript workflows grew into long-running automations and AI agents, sensitive stored data, cross-region requests, and per-step overhead became production concerns. Workflow SDK 5 adds payload encryption, regional infrastructure, stronger error recovery, and a reworked engine with fewer queue hops and faster replay and streaming. Vercel reports 1.6–25× improvements in measured latency and overhead, alongside almost no runs failing or stalling from platform or runtime bugs, without major breaking changes.
Relevant links
- we shipped just thatvercel.com
- event logworkflow-sdk.dev
- encrypts every payload end to endworkflow-sdk.dev
- self-hosted Worldsworkflow-sdk.dev
- payload retentionworkflow-sdk.dev
- redesigned trace viewerworkflow-sdk.dev
- Run attributesworkflow-sdk.dev
- deployed Workflow infrastructure to every Vercel Function regionvercel.com
- pass a region to start()workflow-sdk.dev
- Vercel Function failoververcel.com
- writes streams over WebSockets by defaultvercel.com
- performance documentationworkflow-sdk.dev