---
title: Workflow SDK
description: "'use workflow' brings durability, reliability, and observability to async JavaScript. Build apps and AI Agents that can suspend, resume, and maintain state with ease."
url: "https://vercel.com/kb/workflow-sdk"
published: 2026-06-15
last_updated: 2026-08-10
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Workflow SDK

'use workflow' brings durability, reliability, and observability to async JavaScript. Build apps and AI Agents that can suspend, resume, and maintain state with ease.

## Using Workflow SDK

- [Build a Claude Managed Agent with Vercel Workflow](/kb/guide/claude-managed-agent-vercel): Learn how to build a Claude Managed Agent on Vercel with auth, credential vaults, durable polling, and a chat UI.
- [Human-in-the-Loop with Chat SDK and Workflow SDK](/kb/guide/human-in-the-loop-with-chat-sdk-and-workflow-sdk): Combine Chat SDK and Workflow SDK to suspend workflows on approval cards in a chat platform, then resume on click via createWebhook.
- [Building a Slack agent with durable workflows](/kb/guide/building-a-slack-agent-with-durable-workflows): Build an AI-powered Slack bot that gathers team data, drafts a summary, and refines it through conversation.
- [What is WorkflowAgent?](/kb/guide/what-is-workflowagent): Build durable AI agents with WorkflowAgent: tool calls that retry as workflow steps, suspend for human approval, and resume after timeouts or page refreshes.
- [Build a web research agent with Workflow SDK](/kb/guide/durable-web-research-agent-with-workflow-sdk): Build a web research agent that searches the web and returns a cited report. Powered by AI SDK and Workflow SDK, it journals every step so progress survives any crash or retries.

## Build an agent with eve

- [Build a software factory with eve](/kb/guide/eve-software-factory): Foreman, a software factory built on eve. It turns GitHub and Linear work items into reviewed draft pull requests through four agent stations, triaging issues and fixing its own red CI along the way.
- [Build an incident response sre agent with eve](/kb/guide/eve-incident-sre-agent): sre is an incident response agent for Slack. It investigates production issues using a hypothesis-driven approach and returns verifiable evidence from connected sources.
- [How to automatically approve tool calls in eve with Jev](/kb/guide/auto-approve-tool-calls-eve-jev): Use Jev to review tool calls in eve, allow routine actions, and request human approval when needed. Configure the policy and test its failure paths.
- [Run a marketing team from Slack with eve](/kb/guide/marketing-team-eve): Team of five marketing agents built on eve. The lead routes work to specialists that write long-form into Notion, queue social posts in Typefully, run email in Resend, and audit for SEO, with approvals for anything irreversible.
- [How to build a browser agent that works behind a login](/kb/guide/build-a-browser-agent): Build a browser agent with eve, Vercel Connect, and KERNEL managed auth that signs a user in through a human-in-the-loop handoff and completes tasks behind a login without exposing credentials.
- [Give your eve agent an email inbox with Resend](/kb/guide/eve-agent-with-resend): Connect an eve agent to email using the Chat SDK channel and the Resend adapter. Handle inbound email, threaded replies, attachments, and proactive sends.
- [Manage your Sanity project from Slack with eve](/kb/guide/eve-sanity-copilot): A Slack-based Sanity copilot built on eve. It queries and edits content with GROQ, shapes schemas, manages releases, and drafts long-form pieces into Notion.

## Build with a eve Template

- [Data analyst](https://vercel.com/templates/eve/eve-data-analyst): Slack-based data analyst built on eve that answers questions about your business from a Postgres database.
- [Contentful assistant](https://vercel.com/templates/eve/eve-contentful-agent): Slack-based Contentful assistant with Vercel Drives providing a searchable copy of your Contentful content.
- [Marketing team](https://vercel.com/templates/eve/eve-marketing-team): A team of marketing agents: a lead routes work to specialists for positioning, long-form content, social, SEO, and email, publishing through Notion, Typefully, and Resend.
- [Software factory](https://vercel.com/templates/eve/eve-software-factory): Software factory built on eve: AI agents work each stage of the development loop, and people make the judgment calls.
- [Incident response](https://vercel.com/templates/eve/eve-incident-response-agent): sre investigates production issues using a hypothesis-driven approach and outputs verifiable evidence from sources.
- [GitHub maintainer](https://vercel.com/templates/eve/eve-github-maintainer): Kody, a personal GitHub maintainer agent that emails you a weekly digest of open issues, acts on your email replies, summarizes new pull requests, answers @mentions, and works delegated Linear issues.
- [Personal agent](https://vercel.com/templates/nuxt/eve-personal-agent): A durable AI assistant with long-term memory. Chat on the web or Slack, query Linear, and pick up where you left off.
- [Vercel Drives Starter](https://vercel.com/templates/eve/eve-vercel-drives-starter): An eve agent that reads and saves your team's files on a Vercel Drive.
- [Memory](https://vercel.com/templates/eve/eve-memory-agent): A Slack agent built on eve that remembers what your team tells it. Personal preferences and channel conventions are stored separately in Vercel Blob and recalled before every reply.
- [TanStack Start agent](https://vercel.com/templates/eve/eve-tanstack-agent): Web chat built on eve and TanStack Start, where the agent can respond with generative UI like tables and dashboards.

## All Workflow SDK guides

- [Running Durable Agents on Vercel](/kb/guide/durable-ai-agents): Design durable AI agents on Vercel with patterns for execution recovery, human approval, safe retries, deployment changes, and persistent files.
- [Run Cursor Cloud Agents on Vercel Sandbox](/kb/guide/cursor-vercel-sandbox): Learn how to run Cursor Cloud Agents on Vercel Sandbox with BYOM worker pools, durable workflows, isolated microVMs, and scale-to-zero compute.
- [How to migrate from Cloudflare Workflows to Vercel Workflows](/kb/guide/migrate-cloudflare-workflows-to-vercel-workflows): Migrate from Cloudflare Workflows to Vercel Workflows by mapping WorkflowEntrypoint, step.do, and waitForEvent to workflow directives and hooks.
- [How to migrate from DurableAgent to WorkflowAgent](/kb/guide/durableagent-to-workflowagent): Switch your app from \`DurableAgent\` (@workflow/ai) to \`WorkflowAgent\` (@ai-sdk/workflow) by updating imports, stream output, message conversion, stop conditions, tool approval, and context.
- [Build a web research agent with Workflow SDK](/kb/guide/durable-web-research-agent-with-workflow-sdk): Build a web research agent that searches the web and returns a cited report. Powered by AI SDK and Workflow SDK, it journals every step so progress survives any crash or retries.
- [Build a daily digest bot with Chat SDK and Workflow SDK](/kb/guide/daily-digest-bot-with-chat-sdk-and-workflow-sdk): Build a daily digest bot that posts a daily digest of GitHub stats to Slack. Learn how to use Vercel Connect to set up Slack and GitHub app securely in your project.
- [How to build a durable AI code agent on Vercel](/kb/guide/how-to-build-a-durable-ai-code-agent-on-vercel): Build an AI agent that generates code, writes its own tests, and executes them in an isolated microVM with automatic retries.
- [Build a Claude Managed Agent with Vercel Workflow](/kb/guide/claude-managed-agent-vercel): Learn how to build a Claude Managed Agent on Vercel with auth, credential vaults, durable polling, and a chat UI.
- [Run and track deploys from Slack](/kb/guide/run-and-track-deploys-from-slack): Build a Slack deploy bot with Chat SDK and Vercel Workflows. Dispatch GitHub Actions from a slash command, gate production behind approval, poll for completion, and notify Linear and GitHub when the run finishes.
- [How to run background jobs in Next.js](/kb/guide/how-to-run-background-jobs-in-nextjs-on-vercel): Learn the durable way to run background jobs in Next.js on Vercel with the Workflow SDK, and when to reach for Queues or Cron Jobs.

## Explore other topics in the Vercel Knowledge Base

- [Vercel Sandbox](/kb/vercel-sandbox): The compute primitive designed to safely run untrusted or user-generated code on Vercel.
- [Infrastructure and Compute](/kb/infrastructure-and-compute): Scale and deliver applications efficiently across regions using Vercel's Fluid Compute and CDN.
- [Migrations](/kb/migrations): Learn how to migrate your application or agent to Vercel's agentic infrastructure.
- [Backends](/kb/backends): Backends on Vercel run on Fluid compute with Active CPU pricing, plus Instant Rollback, the Vercel Firewall, protected previews, and rolling releases.
