---
title: "Workflow SDK 5: built for production"
description: "Workflow SDK 5 reworks Vercel's durable async JavaScript workflow engine around security, regional placement and performance."
url: "https://swe.quest/articles/workflow-sdk-5-built-for-production-8a4967cc859bc936"
canonical: "https://vercel.com/blog/workflow-sdk-5"
source: "Vercel"
published: "2026-11-12"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["serverless","resilience","performance","cryptography","ai-agents"]
---

# Workflow SDK 5: built for production

A post on [Vercel](https://swe.quest/sources/vercel.md), published 2026-11-12, 9 min read, Release. Original: [https://vercel.com/blog/workflow-sdk-5](https://vercel.com/blog/workflow-sdk-5)

## Summary

Workflow SDK 5 reworks Vercel's durable async JavaScript workflow engine around security, regional placement and performance. Step payloads are now encrypted end to end with AES-256-GCM using per-run keys. On self-hosted Worlds, encryption works through a getEncryptionKeyForRun() hook. Runs are pinned to a home region chosen at start(). The engine executes multiple steps inline instead of taking a queue hop per step, replays incrementally, and streams over WebSockets. Benchmarks against v4 show p75 step-to-step overhead dropping from 618 ms to 109 ms, late-run overhead in a 1,020-step workflow falling from 1,748 ms to 70 ms, and stream delivery time improving 4.2×.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- async/await in JavaScript ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))
- durable execution concepts

## Keywords

Workflow SDK, Vercel, AES-256-GCM, WebSockets, AI SDK, durable-harness

## Related posts

- [Introducing eve 1.0](https://swe.quest/articles/introducing-eve-1-0-4e45195b6c9ddca5.md): Vercel · 2026-11-17 · Easy · 7 min read · AI agents, Observability, Performance engineering, Multi-tenancy, Open source
  eve 1.0, Vercel's open-source framework for production agents, is now generally available with a customizable harness (model, tools, subagents, approvals), durable execution via the Workflow SDK, multiplayer sessions across Slack and other channels, multi-tenant credentials and policies, cross-session memory, and OpenTelemetry-based tracing with per-destination redaction.
- [Speeding up agentic workflows with WebSockets in the Responses API](https://swe.quest/articles/speeding-up-agentic-workflows-with-websockets-in-the-responses-api-7a1ff127c7fc35a3.md): OpenAI · 2026-04-22 · Medium · 6 min read · AI agents, API design, Performance engineering, Inference & serving, Real-time systems
  OpenAI cut end-to-end latency of agentic loops on the Responses API by about 40% by adding a WebSocket mode that keeps a persistent connection with a connection-scoped in-memory cache of prior response state.
- [Serverless functions vs containers: CI/CD, database connections, cron jobs, and long-running tasks](https://swe.quest/articles/serverless-functions-vs-containers-ci-cd-database-connections-cron-jobs-and-e17b0efd79500afc.md): Railway · 2025-12-16 · Medium · 11 min read · Serverless, Containers, Deployment, Schema migrations, Cloud platforms
  Serverless functions and container platforms differ in execution model, which changes how you handle deploys, database access, cron jobs, rollbacks and long-running work.
- [Bringing serverless functions closer to the speed of wire](https://swe.quest/articles/bringing-serverless-functions-closer-to-the-speed-of-wire-4593ae513494961f.md): Modal · 2026-08-04 · Medium · 5 min read · Serverless, Performance engineering, System design, Go, Queues & messaging
  Modal rebuilt its serverless I/O plane, which queues Function inputs and outputs, and now runs it in at least four regions.
- [How Zillow runs 100 million daily notifications on AWS Step Functions](https://swe.quest/articles/how-zillow-runs-100-million-daily-notifications-on-aws-step-functions-43ac4ec68597baa8.md): AWS Architecture Blog · 2026-11-11 · Medium · 15 min read · Serverless, Communications, System design, Cloud platforms, Configuration management
  Zillow replaced more than 10 per-campaign notification generator services with a configuration-driven Campaign Orchestrator that runs each of 100M+ daily email and push notifications as a short-lived AWS Step Functions Express Workflow, calling a shared library of stateless, schema-driven content modules (the Universal Content Generator) via HTTP Invoke.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
