Vercel released Workflow SDK 5.8 with a redesigned execution engine that cut p75 step-to-step overhead from 85 ms to 7 ms in its comparison of versions 5.2 and 5.8.
Vercel released Workflow SDK 5.8 with a redesigned execution engine focused on reducing infrastructure overhead between model invocations. The company’s approach emphasizes agent execution and state management rather than changes to model architecture.
The engine uses speculative execution for retryable workflow steps. In Vercel’s testing, p75 step-to-step overhead fell from 85 milliseconds in Workflow SDK 5.2 to 7 milliseconds in version 5.8.
A five-turn agent loop with durable token streaming and tool calls required 900 milliseconds of infrastructure overhead, down from three seconds in the earlier version. In a test with 256 parallel steps, overhead dropped from 13.5 seconds to 2.5 seconds.
Speculative execution requires idempotent steps. Developers can disable speculation and retries for operations that cannot safely be repeated by setting maxRetries = 0. Vercel also released fx 0.0.18, which the company says delivers shell-execution improvements of up to 4.8 times faster performance.