News · AI NEWS

Vercel Workflow SDK 5.8 cuts step-to-step latency sharply with speculative execution

· Beijing time

Summary

Vercel released Workflow SDK 5.8 on November 25, running workflows on a new execution engine rebuilt for performance. In official benchmarks versus 5.2.0, p75 step-to-step overhead fell from 85 ms to 7 ms; a median run that included 102 seconds of step work finished in 111 seconds instead of 3.0 minutes; fanning out 256 parallel steps added 2.5 seconds of overhead instead of 13.5, and median time spent in functions beyond the steps’ own work fell from 1,446 seconds to 105 seconds, about a 14× reduction; a five-turn agent loop that streamed tokens through durable streams and called tools added 0.9 seconds of overhead instead of 3.0. Resuming after one second idle went from 425 ms to 184 ms. Much of the gain comes from speculative execution of retryable steps. A step that already uses its stepId as an idempotency key is safe; steps that must not be retried should set maxRetries = 0 to opt out. After upgrading to workflow@5.8.0 or later, new runs use the new engine by default, while runs started on an older version keep running on that version. Third-party Worlds need World spec version 9 to see the improvements. Vercel’s developer account and CEO Guillermo Rauch said the change matters for durable agent harnesses such as eve, libfx, pi, and OpenCode, because it cuts latency between turns.

#Vercel#agent#infrastructure#product

This summary reflects the cited source. Visit the original for its full context.

← All AI news