header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Vercel Workflows is officially launched, replacing a full backend orchestration infrastructure with just two lines of code.

According to Observability Beating monitoring, the frontend cloud platform Vercel has officially launched Workflows, integrating durable execution capability into application code. Developers can use the "use workflow" tag at the top of a TypeScript function to mark the workflow entry point, and use the "use step" tag in sub-functions to mark each execution step. The framework automatically handles queue scheduling, failure retry, state persistence, and observability, without the need to separately deploy orchestration services, message queues, or state databases.

The core problem addressed by this model is that when transitioning an AI agent or backend task from a prototype to a production environment, developers often spend a significant amount of time building orchestration infrastructure instead of improving the product itself. Traditional solutions require breaking down logic into queues, workers, state tables, and retry mechanisms, whereas Workflows consolidates all of these into the application code, merging orchestration logic with business logic. Vercel states that users only need to pay for the actual compute of function runtime, without the overhead of a persistent orchestration service.

Since its public beta in October 2025, Workflows has processed over 100 million runs and 500 million steps, serving over 1500 customers, with npm weekly downloads exceeding 200,000.

Targeting AI agent scenarios, Workflows offer several key capabilities:

1. Durable Streams: Persistent storage of agent outputs, allowing workflows to continue running even after the user closes the browser, resuming from the breakpoint upon reconnection, without requiring Redis or a custom message system.
2. Default Encryption: Automatic encryption of all step inputs, outputs, and streaming data before leaving the deployment environment, with decryption only occurring within the workflow runtime deployment.
3. Suspension and Resumption: Using Hooks to wait for external events (such as manual approval) and using Sleep to pause for days or even months, incurring no compute charges during the suspension period.
4. High Load Support: Maximum 50 MB per step, maximum 2 GB per run, providing space for passing images and videos for multimodal agents.

AI SDK v7 concurrently introduces `WorkflowAgent`, deeply integrating durable execution with tool invocation and state management. The Python SDK is in public beta, extending this programming model to the Python ecosystem. The Workflow SDK is open-source, supporting self-hosted deployments through the "Worlds" adapter system, with the community already developing adapters for MongoDB, Redis, Cloudflare, among others.

The upcoming version, Workflows 5, will introduce native concurrency control (including cross-run locking mechanisms), global deployment infrastructure, and snapshot-based runtime to reduce event replay overhead.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish