惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

SecWiki News
SecWiki News
量子位
The Cloudflare Blog
美团技术团队
T
The Exploit Database - CXSecurity.com
博客园 - 【当耐特】
Spread Privacy
Spread Privacy
P
Proofpoint News Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 三生石上(FineUI控件)
T
Tor Project blog
博客园 - 司徒正美
宝玉的分享
宝玉的分享
T
Threatpost
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Secure Thoughts
T
Threat Research - Cisco Blogs
Hacker News: Ask HN
Hacker News: Ask HN
Jina AI
Jina AI
博客园 - 聂微东
A
Arctic Wolf
I
Intezer
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
爱范儿
爱范儿
Hugging Face - Blog
Hugging Face - Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
小众软件
小众软件
T
Tailwind CSS Blog
The Hacker News
The Hacker News
L
LINUX DO - 最新话题
Hacker News - Newest:
Hacker News - Newest: "LLM"
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
TaoSecurity Blog
TaoSecurity Blog
Project Zero
Project Zero
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cloudbric
Cloudbric
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Troy Hunt's Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V2EX - 技术
V2EX - 技术
The GitHub Blog
The GitHub Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog

Workflow SDK Documentation

Patterns for Defining Tools Human-in-the-Loop Building Durable AI Agents Queueing User Messages Resumable Streams Sleep, Suspense, and Scheduling Streaming Updates from Tools API Reference Workflow Globals Changelog Resilient run start Cookbook Building a World Deploying Astro Express Fastify Hono Getting Started NestJS Next.js Nitro Nuxt Python SvelteKit Vite corrupted-event-log fetch-in-workflow hook-conflict Errors node-js-module-in-workflow serialization-failed start-invalid-workflow-function step-not-registered timeout-in-workflow webhook-invalid-respond-with-value webhook-response-not-sent workflow-not-registered Errors & Retrying Hooks & Webhooks Idempotency Foundations Serialization Starting Workflows Streaming Versioning Workflows and Steps How the Directives Work Encryption Event Sourcing Framework Integrations Understanding Directives Migration Guides Migrating from AWS Step Functions Migrating from Inngest Migrating from Temporal Observability Testing Server-Based Testing createHook createWebhook defineHook FatalError fetch getStepMetadata getWorkflowMetadata getWritable workflow RetryableError sleep @workflow/vitest DurableAgent @workflow/ai WorkflowChatTransport getHookByToken getRun getWorld workflow/api resumeHook resumeWebhook Chat Session Modeling runtime-decryption-failed Upgrading Workflows abort-signal-timeout-in-workflow Cancellation How Cancellation Works Internal Serializable AbortController and AbortSignal Eager Processing of Steps & Incremental Event Replay TanStack Start Agent Cancellation Sequential & Parallel Execution Workflow Composition Local World | Workflow SDK Postgres World | Workflow SDK Vercel World | Workflow SDK Migrating from trigger.dev Secure Credential Handling Local World | Workflow SDK Postgres World | Workflow SDK
Vercel World | Workflow SDK
2026-04-09 · via Workflow SDK Documentation

The Vercel World is a fully-managed workflow backend for applications deployed on Vercel. It provides scalable storage, distributed queuing, and automatic authentication with zero configuration.

When you deploy to Vercel, workflows automatically use the Vercel World - no setup required.

Deploy your application to Vercel:

vercel deploy

That's it. Vercel automatically:

  • Selects the Vercel World backend
  • Configures authentication using OIDC tokens
  • Provisions storage and queuing infrastructure
  • Isolates data per environment (production, preview, development)

Enable Fluid compute before deploying. Workflow is designed to take advantage of

Fluid compute

for efficient suspension and resumption. Without Fluid compute enabled, each workflow resume incurs a separate function cold start, which can result in significantly higher costs.

For complete details on pricing, usage limits, and included allotments on Vercel, see the official Vercel documentation:

  • Vercel Workflow — Pricing details, concepts, and observability for Workflow on Vercel
  • Vercel limits — Platform-wide limits including Workflow-specific constraints
  • Vercel Hobby plan — Free tier included usage for Workflow and other resources

For self-hosted deployments, use the Postgres World. For local development, use the Local World.

  • Single-region deployment - The backend infrastructure is currently deployed only in iad1. Applications in other regions will route workflow requests to iad1, which may result in higher latency. For best performance, deploy your Vercel apps using Workflow to iad1. Global deployment is planned to colocate the backend closer to your applications.

  • Data residency - The Vercel World is currently deployed in the iad1 region. This means independently of the deployment location of your application, the data for your workflows will be stored in the iad1 region.

Workflow observability is built into the Vercel dashboard on your project page. It respects your existing authentication and project permission settings.

The workflow CLI commands open a browser window deeplinked to the Vercel dashboard:

# List workflow runs (opens Vercel dashboard)
npx workflow inspect runs --backend vercel

# Launch the web UI (opens Vercel dashboard)
npx workflow web --backend vercel

The CLI automatically retrieves authentication from the Vercel CLI (vercel login) and infers project/team IDs from your local Vercel project linking.

To use the local observability UI instead of the Vercel dashboard:

npx workflow web --backend vercel --localUi

To override the automatic configuration:

npx workflow inspect runs \
  --backend vercel \
  --env production \
  --project my-project \
  --team my-team \
  --authToken <your-token>

Learn more in the Observability documentation.

E2E Tests

Passing100% passing

Spec compliance is tested against Next.js (Turbopack) built in production mode and started with `next start`. View CI run →

90

Passed

0

Failed

2

Skipped

92

Total

View comprehensive E2E test results against all frameworks/configurations

945

Passed

0

Failed

67

Skipped

1012

Total

Last updated: 4/17/2026, 6:41:14 PM · Commit: 5889d84

The Vercel World requires no configuration when deployed to Vercel. For advanced use cases, you can override settings programmatically via createVercelWorld().

WORKFLOW_VERCEL_ENV

The Vercel environment to use. Options: production, preview, development. Automatically detected.

WORKFLOW_VERCEL_AUTH_TOKEN

Authentication token for API requests. Automatically detected.

WORKFLOW_VERCEL_PROJECT

Vercel project ID for API requests. Automatically detected.

WORKFLOW_VERCEL_TEAM

Vercel team ID for API requests. Automatically detected.

WORKFLOW_VERCEL_BACKEND_URL

Custom base URL for the Vercel workflow API. Automatically detected.

Programmatic configuration

import { createVercelWorld } from "@workflow/world-vercel";

const world = createVercelWorld({
  token: process.env.WORKFLOW_VERCEL_AUTH_TOKEN,
  baseUrl: "https://api.vercel.com/v1/workflow",
  projectConfig: {
    projectId: "my-project",
    teamId: "my-team",
    environment: "production",
  },
});

On Vercel, workflow runs are pegged to the deployment that started them. This means:

  • Existing workflow runs continue executing on their original deployment, even as new code is deployed
  • New workflow runs start on the latest deployment
  • Code changes won't break in-flight workflows

This ensures long-running workflows complete reliably without being affected by subsequent deployments.

Consumer function security

Workflow handler functions on Vercel are not accessible through public endpoints. During the build step, the Workflow SDK registers each handler as only reachable by Vercel Queue, by using the experimentalTriggers configuration in .vc-config.json:

{
  "experimentalTriggers": [
    {
      "type": "queue/v2beta",
      "topic": "__wkf_step_*",
      "consumer": "default",
    }
  ]
}

Practically, this means:

  • You don't need to add authentication or authorization logic to workflow handlers
  • Unauthorized requests can never reach the step or workflow functions
  • Only messages delivered through Vercel Queues can trigger execution
  • Handlers receive only a message ID that must be retrieved from Vercel's backend, making it impossible to craft custom payloads

This configuration is managed entirely by the Workflow SDK build step. You should not need to write this yourself. If you are writing a custom integration, see Framework Integrations — Security for more details.

The Vercel World uses Vercel's infrastructure for workflow execution:

  • Storage - Workflow data is stored in Vercel's cloud with automatic replication and end-to-end encryption
  • Queuing - Steps are distributed across serverless functions via Vercel Queues with automatic retries and consumer function security
  • Authentication - OIDC tokens provide secure, automatic authentication

For more details, see the Vercel Workflow documentation.