Back to writing
AI DailyNov 10, 20262 min read

AI Daily - 2026-11-10: Vercel moves durable agent streams onto WebSockets

Vercel Workflow SDK 5.2 makes WebSockets the default transport for durable event and stream writes, improving AI-agent streaming without changing workflow code.

AgentsInfraModels

Why it matters

What changed Vercel has changed the default transport in its Workflow SDK on Vercel.

What changed

Vercel has changed the default transport in its Workflow SDK on Vercel. Starting with workflow@5.2.0, event writes and stream writes use a WebSocket instead of an HTTP request for each write (or write group). Existing streaming code can keep using the same getWritable() API; upgrading the package is the main application change. New runs use the upgraded deployment, while in-flight runs finish on the deployment that started them.

The change is documented in Vercel's November 9 changelog announcement and in the 5.2.0 release notes.

Why it matters for AI products

Durable workflows are useful for agents that need retries, pauses, approvals, and multi-step execution, but token streaming is unusually sensitive to per-chunk overhead. Vercel's Workflow SDK performance documentation replays a 2,593-chunk AI-agent response over 52.4 seconds. In that benchmark, v5.2.0 delivered the full response in 53.5 seconds, compared with 226.1 seconds on v4.8.12, and had no chunk delayed by more than one second across ten runs.

The same transport shift also reduces the number of HTTP requests generated by step-start and step-completion events. That should make long workflows less chatty and potentially cheaper to run, while giving user-facing agent interfaces a better chance of keeping up with model output.

This is a practical product lesson: an agent's perceived intelligence is partly a systems problem. The model can produce a good answer, but the workflow runtime still determines whether users see that answer arrive smoothly, whether approvals resume quickly, and whether a long run remains responsive.

Builder takeaway

If you already use Workflow SDK on Vercel, upgrade and test the paths that stream model output:

npm install workflow@latest

Keep the existing getWritable() flow, then measure time-to-first-chunk, chunk delay, and end-to-end completion on your own workload. The SDK exposes WORKFLOW_STREAMS_TRANSPORT=http as an opt-out if a deployment needs to roll back the stream transport. Vercel's published numbers come from one region and one managed World, so they are a useful signal rather than a universal guarantee.

For new agent products, the broader takeaway is to treat durable execution and streaming as one system. A workflow engine that can pause and resume but cannot deliver partial output efficiently will still feel slow; transport choices belong in the product design, not only in infrastructure tuning.

Sources