{"library":"workflow","type":"library","category":null,"description":"The Vercel Workflow SDK provides a robust framework for building durable, resilient, and observable asynchronous applications and AI agents in JavaScript and TypeScript. It enables developers to orchestrate complex, long-running processes that can suspend, resume, and maintain state across interruptions, simplifying patterns traditionally handled by message queues, worker systems, and schedulers. The current stable version is `4.2.4`, with active development progressing towards a `5.0.0` release (currently in beta), indicating a regular release cadence with iterative improvements and occasional breaking changes for major versions. Key differentiators include its focus on native TypeScript integration, durable execution without complex infrastructure management, and first-class support for AI agent development, allowing for built-in retries, streaming, and state management in production environments.","language":"javascript","status":"active","version":"4.2.4","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install workflow","imports":["import { start } from 'workflow/api';","import { sleep } from 'workflow';","export async function myWorkflow() { 'use workflow'; /* ... */ }","async function myStep() { 'use step'; /* ... */ }"]},{"cmd":"yarn add workflow","imports":[]},{"cmd":"pnpm add workflow","imports":[]}],"homepage":"https://vercel.com","github":"https://github.com/vercel/workflow","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/workflow","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/workflow/compatibility"}}