Workflow SDK 5.8 runs workflows on a new execution engine, rebuilt for performance. Step-to-step latency is 12x lower, and large fan-outs, like running 256 steps in parallel, use 14x less function time outside your step code. This directly improves turn times for durable AI agents , among many other improvements.
To get the new engine, upgrade to [email protected] or later. New runs will use the new engine by default, and runs already started on an older version will safely keep running on that version. Make sure your steps are idempotent where possible to get the most out of this upgrade.
Copy link to heading Drastically reduced overhead
p75 latency and median-run function time, minus simulated work. v5.2.0 step overhead and resume measured Nov 12, 2026; the rest was measured Nov 24, 2026.
In our benchmarks comparing 5.2.0 to 5.8.0 , p75 step-to-step overhead fell from 85 ms to 7 ms. The median run, including 102 seconds of step work, finished in 111 seconds instead of 3.0 minutes.…