Vercel·
Workflow is 10x faster, again
TL;DR
Vercel rebuilt the execution engine in Workflow SDK 5.8 to reduce the overhead of coordinating workflow steps and durable AI agents, using speculative execution for steps that are safe to repeat. Benchmarks show 12× lower step-to-step latency and 14× less function time outside step code for 256 parallel steps. Upgrading enables the new engine for new runs while existing runs stay on their original version; steps must be safe to repeat or have retries disabled.
Relevant links
- Workflow SDKworkflow-sdk.dev
- durable AI agentsvercel.com
- benchmarksworkflow-sdk.dev
- keep functions warm for longerworkflow-sdk.dev
- idempotency keyworkflow-sdk.dev
- maxRetries = 0workflow-sdk.dev
- upgrade guideworkflow-sdk.dev
- Worlds maintained by Vercelworkflow-sdk.dev
- support World spec version 9workflow-sdk.dev
- Peter Wielandergithub.com
- Pranay Prakashtwitter.com
- Karthik Kalyanaramantwitter.com