Skip to content
All tool news

Tool desk · Updated daily

Tool news·Vercel·

Vercel Workflow SDK Moves Writes to WebSockets.

Vercel Workflow SDK now sends event and stream writes over WebSockets, delivering an AI agent token stream 4.2 times faster.

CW

Create With tool desk

3 sources checked · 2 min read · 3 sections

ShareLinkedIn
Vercel Workflow SDK Moves Writes to WebSockets

Vercel Workflow SDK now sends event and stream writes over WebSockets by default. The change replaces the separate HTTP request previously used for each event write, or each group of stream writes.

According to the Vercel changelog, existing workflow code does not need to change. Builders only need to upgrade to workflow@5.2.0 or later and deploy the new version.

For workflows that emit frequent updates, this means fewer HTTP requests. An AI agent streaming tokens is the clearest example. Once the WebSocket opens, a step can send a burst of chunks over that connection rather than creating repeated HTTP requests.

Workflow SDK WebSocket Writes Cut Stream Delays

Vercel benchmarked the update by replaying an AI agent's token stream. Version 5.2.0 delivered the stream 4.2 times faster than version 4.8.12. No individual chunk was delayed for more than one second in the newer version.

Stream delivery
4.2× faster
workflow 5.2.0 compared with 4.8.12
Longest chunk delay
Under 1 second
no chunk exceeded one second
Required version
5.2.0 or later
WebSockets are used by default

The same transport change applies to event writes. Reducing the number of HTTP requests improves performance and lowers the request costs associated with those writes.

Code using getWritable() continues to work as before. A workflow can get a writer, write each chunk and release the lock without adding WebSocket connection logic. The SDK handles the transport underneath it.

Upgrading Existing Workflows

The upgrade boundary follows deployments. New workflow runs started after the updated deployment use WebSockets. Runs already in progress remain on the deployment where they began and finish there.

To install the current release, update the package with npm install workflow@latest, then deploy normally. There is no migration step for existing event or streaming code.

This deployment behaviour avoids switching the transport underneath a running workflow. It also means test runs started before and after deployment can use different SDK versions until the earlier runs finish.

Frequently asked questions

What are Vercel Workflow SDK WebSocket writes? They send Workflow SDK event writes and stream writes to Vercel Workflows over a WebSocket by default. This replaces one HTTP request per event write, or per write group for streams.

How do I enable WebSocket writes in Vercel Workflows? Upgrade to workflow@5.2.0 or later and deploy the update. Existing streaming code can remain unchanged, and new runs will use the WebSocket transport.

Which Vercel plan includes Workflow SDK WebSocket writes? The changelog does not specify plan availability or pricing.

Sources

3 checked

How we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.

Worth passing on?

ShareLinkedIn

Go deeper on Vercel

Related reading, watching and going.

Everything on Vercel →

The briefing

19 May 2026

How to Migrate Your App from Lovable to Claude Code in 2025

Step-by-step guide to migrating your Lovable app to Claude Code. Learn how to move from Lovable's managed platform to a stack you own and control.

Read →

The briefing

10 Feb 2026

OpenClaw Review: 2 Weeks With This AI Agent

Honest 2-week review of OpenClaw — an autonomous AI agent powered by Claude. We test setup, safety, autonomy, and real value to see if it's worth using.

Read →
34 min

Podcast

My Daughter Built a Website Business, Claude Design First Look & Going All-In on Cloudflare

James and Kieran discuss practical AI-powered development through real-world examples, including a seven-year-old building a website business with Claude Code voice mode, Anthropic's new Claude Design tool, API security challenges in the AI agent era, and Cloudflare's expanding AI infrastructure offerings. The episode covers hands-on experiences with vibe coding, emerging design tools, and the evolving landscape of AI-assisted development.

Watch now ↗

Podcast

53. Why Your Vibe Code Needs Tests, Ditching SaaS & AI Agents That Work While You Sleep

James and Kieran discuss the practical realities of building AI-powered software, emphasizing the importance of testing in vibe-coded applications, exploring alternatives to traditional SaaS tools, and implementing autonomous AI agents for business operations. The episode covers technical topics like Convex databases, app store bottlenecks from AI-generated submissions, and using OpenClaw as a marketing automation agent.

Watch now ↗
38 min

Podcast

52. Your AI Co-Founder: OpenClaw, Manus & the Zero-Person Business

In this Create With podcast episode, James and Kieran are joined by Matt Roberts from Happy Operators for an in-depth discussion on using autonomous AI agents in production. The conversation covers practical experiences with OpenClaw, security considerations, comparison with emerging tools like Manus, and the broader shift toward AI-assisted development. They also discuss the VibeCoding Olympics results, Bubble's new AI capabilities, and research on Claude.MD file effectiveness.

Watch now ↗

Latest tool news

What else changed this week.

All tool news
VercelDigest

What Vercel Shipped in Early November

Vercel added models to AI Gateway and Token Pass, increased build disk space and sped up Sandbox snapshots. The updates cover coding agents, AI apps and deployment infrastructure.

VercelDigest

What Vercel Shipped in Early November

This week Vercel added one of the fastest reasoning models to AI Gateway. DeepSeek V4.1 Flash 1017 Ultrafast clocks over 1,000 tokens per second and brings a 1M-token context…

VercelDigest

What Vercel Shipped in Early November

Vercel shipped one security update and three AI Gateway additions in early November. Developers can now catch exposed tokens across more public sources, generate video with…

The Create With Briefing

Don't watch forty changelogs. Read one email.

Every Tuesday: the tool changes worth knowing, real business use cases, and what's on near you. Free, unsubscribe any time.