workflow
Skill5.8k starsChanged 10 months agoMITView on GitHub
Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.
46 other projects use a version of this, 7 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- falcondev-oss/skillstheir own version, first seen Oct 4, 2026
- blockmatic/basilic-skillstheir own version, first seen Oct 1, 2026
- yacb2/aidextheir own version, first seen Sep 30, 2026
- raphaeltm/simple-agent-managertheir own version, first seen Sep 29, 2026
- notque/vexjoy-agenttheir own version, first seen Sep 26, 2026
- BULDEE/ai-craftsman-superpowerstheir own version, first seen Sep 21, 2026
Who's talking about vercel-labs/open-agents
- @dailygithubtrends.bsky.social“今日のGitHubトレンド vercel-labs/open-agents Vercel上でバックグラウンドで動作するコーディングエージェントを構築・実行するためのオープンソースのリファレンスアプリです。 Web…”Bluesky · May 7, 2026 · 2 likes
- A Hacker News story“Open Agents from Vercel is now open source”Hacker News · May 6, 2026 · 2 points
- @github-trending.bsky.social“💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open …”Bluesky · Apr 15, 2026 · 2 likes
- dennisonbertram/fork-open-agents“fix(github): typed 4xx instead of 500 when GitHub rejects stored credentials”GitHub · Aug 2, 2026 · 1 reactions
- @postgresql.activitypub.awakari.com.ap.brid.gy“vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an …”Bluesky · May 8, 2026 · 1 likes
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub, Bluesky and Hacker News (21 times).
On GitHub · 12
- Aug 2, 2026fix(github): typed 4xx instead of 500 when GitHub rejects stored credentials — dennisonbertram/fork-open-agents1 reaction · 2 comments
- Oct 3, 2026agent-skills.github.vercel-labs.open-agents: init at 0-unstable-2026-04-20 — sudosubin/agents.nix0 reactions
- Aug 2, 2026POST /api/sandbox returns an uncaught 500 (HttpError: Bad credentials) when the GitHub token is stale — dennisonbertram/fork-open-agents0 reactions · 1 comment
- Jun 17, 2026feat(codemods): add codemods for v6 to v7 migration — vercel/ai0 reactions
- May 23, 2026Epic: Trusted dev/staging/prod pipeline and sandbox secret broker — dennisonbertram/fork-open-agents0 reactions · 4 comments
7 more on GitHub
- Apr 16, 2026📱 SNS 콘텐츠 - 2026-04-16 22:47 KST — leaf468/autothreads0 reactions
- Apr 16, 2026🤖 AI 트렌드 리포트 - 2026-04-16 22:47 KST — leaf468/autothreads0 reactions
- Apr 16, 2026📱 SNS 콘텐츠 - 2026-04-16 14:32 KST — leaf468/autothreads0 reactions
- Apr 16, 2026🤖 AI 트렌드 리포트 - 2026-04-16 14:32 KST — leaf468/autothreads0 reactions
- Apr 15, 20263 more links to add — joanmarcriera/Home-office-automations0 reactions · 2 comments
- Apr 14, 2026Cloud execution roadmap: evaluate Vercel Open Agents as reference architecture — hurttlocker/o80 reactions · 2 comments
- Apr 14, 2026[Resource] Vercel Open Agents — Open-Source Cloud Agent Template — nexu-io/harness-engineering-guide0 reactions
On Bluesky · 7
- May 7, 2026今日のGitHubトレンド vercel-labs/open-agents Vercel上でバックグラウンドで動作するコーディングエージェントを構築・実行するためのオープンソースのリファレンスアプリです。 Web… — @dailygithubtrends.bsky.social2 likes and reposts
- Apr 15, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open source template for building cloud… — @github-trending.bsky.social2 likes and reposts · 1 reply
- May 8, 2026vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an open-source reference app for… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
- May 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / open-agents ⭐ 4,889 (+406) 🗒 TypeScript An open source template for building cloud… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 6, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / open-agents ⭐ 4,760 (+366) 🗒 TypeScript An open source template for building cloud… — @github-trending-js.bsky.social1 likes and repost · 1 reply
2 more on Bluesky
- Apr 17, 2026vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an open-source reference app for… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
- Apr 15, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open source template for building cloud… — @github-trending-js.bsky.social1 likes and repost · 1 reply
On Hacker News · 2
- May 6, 2026Open Agents from Vercel is now open source2 points
- Apr 15, 2026An open source template for building cloud agents1 point
Used with
Projects with it also use experiment, team and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sunnnybalaSkillexperiment
Design and run ML experiments on cloud GPUs. Generates experiment code, runs on Modal, tracks results in JSONL. Use when asked to "run experiments", "train a model", "test this hypothesis", or "benchmark this approach". Proactively invoke when the user has a refined research idea and needs to validate it experimentally.
Also in 3 projects that use this
nicepkgSkillteam
根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。
Also in 3 projects that use this
u9401066Skillproject-init
Initialize new projects using this template. Triggers: init, new, 新專案, 初始化, create project, 建立專案, bootstrap, scaffold project.
Also in 3 projects that use this
ww-w-aiSkillloop
Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.
Also in 3 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 6 projects that use this
0xSeroSkillsecurity
Also in 4 projects that use this
Other versions46 projects use a version of this.
Word for word · 0
None found.
Edited · 7
- openai/plugins★ 7.3k28% same
- vercel/workflow★ 2.4k21% same
- vercel/vercel-plugin★ 29721% same
- vercel-labs/claude-managed-agents-starter★ 6626% same
- vercel-labs/workflow-workshop★ 626% same
- FelipeAngeli/skills★ 247% same
- vercel-labs/chat-sdk-deploy-bot★ 130% same
Wrote their own version · 39
- LeoKemp223/embed-ai-tool★ 979same name
- zhinkgit/embeddedskills★ 730same name
- notque/vexjoy-agent★ 424same name
- brianlovin/agent-config★ 375same name
- ethanhq/cc-fleet★ 215same name
- arpitnath/claude-capsule-kit★ 93same name
- claude-world/director-mode-lite★ 80same name
- Kastalien-Research/thoughtbox★ 66same name
- raphaeltm/simple-agent-manager★ 60same name
- g2i-ai/agents★ 52same name
29 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- ai-sdkSkill
- baseline-uiSkill
- chat-sdkSkill
- code-reviewSkill
- deploy-open-harnessSkill
- emil-design-engSkill
- frontend-designSkill
- plan-modeSkill
- remove-demo-limitsSkill
- vercel-react-best-practicesSkill
- web-animation-designSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Follow these instructions before starting on any workflow-related tasks:
- Very specific: line 16
Search the bundled documentation in node_modules/workflow/docs/:
- Distinctive: line 104
When you need logic directly in a workflow function (not in a step), these restrictions apply:
- Very specific: line 128
Use FatalError for permanent failures (no retry), RetryableError for transient failures:
- Distinctive: line 143
All data passed to/from workflows and steps must be serializable.
- Very specific: line 151
Use getWritable() in step functions to stream data:
- Distinctive: line 181
Tip: Only import workflow APIs you actually use.
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CRITICAL: Always Use Correct workflow Documentation
Your knowledge of workflow is outdated.
The workflow documentation outlined below matches the installed version of the Workflow DevKit.
Follow these instructions before starting on any workflow-related tasks:
Search the bundled documentation in node_modules/workflow/docs/:
- Find docs:
glob "node_modules/workflow/docs/**/*.mdx" - Search content:
grep "your query" node_modules/workflow/docs/
Documentation structure in node_modules/workflow/docs/:
getting-started/- Framework setup (next.mdx, express.mdx, hono.mdx, etc.)foundations/- Core concepts (workflows-and-steps.mdx, hooks.mdx, streaming.mdx, etc.)api-reference/workflow/- API docs (sleep.mdx, create-hook.mdx, fatal-error.mdx, etc.)api-reference/workflow-api/- Client API (start.mdx, get-run.mdx, resume-hook.mdx, etc.)ai/- AI SDK integration docserrors/- Error code documentation
Related packages also include bundled docs:
@workflow/ai:node_modules/@workflow/ai/docs/- DurableAgent and AI integration@workflow/core:node_modules/@workflow/core/docs/- Core runtime (foundations, how-it-works)@workflow/next:node_modules/@workflow/next/docs/- Next.js integration
When in doubt, update to the latest version of the Workflow DevKit.
Official Resources
- Website: https://useworkflow.dev
- GitHub: https://github.com/vercel/workflow
Quick Reference
Directives:
"use workflow"; // First line - makes async function durable
"use step"; // First line - makes function a cached, retryable unitEssential imports:
// Workflow primitives
import { sleep, fetch, createHook, createWebhook, getWritable } from "workflow";
import { FatalError, RetryableError } from "workflow";
import { getWorkflowMetadata, getStepMetadata } from "workflow";
// API operations
import { start, getRun, resumeHook, resumeWebhook } from "workflow/api";
// Framework integrations
import { withWorkflow } from "workflow/next";
import { workflow } from "workflow/vite";
import { workflow } from "workflow/astro";
// Or use modules: ["workflow/nitro"] for Nitro/NuxtPrefer Step Functions to Avoid Sandbox Errors
"use workflow" functions run in a sandboxed VM. "use step" functions have full Node.js access. Put your logic in steps and use the workflow function purely for orchestration.
// Steps have full Node.js and npm access
async function fetchUserData(userId: string) {
"use step";
const response = await fetch(`https://api.example.com/users/${userId}`);
return response.json();
}
async function processWithAI(data: any) {
"use step";
// AI SDK works in steps without workarounds
return await generateText({
model: openai("gpt-4"),
prompt: `Process: ${JSON.stringify(data)}`,
});
}
// Workflow orchestrates steps - no sandbox issues
export async function dataProcessingWorkflow(userId: string) {
"use workflow";
const data = await fetchUserData(userId);
const processed = await processWithAI(data);
return { success: true, processed };
}Benefits: Steps have automatic retry, results are persisted for replay, and no sandbox restrictions.
Workflow Sandbox Limitations
When you need logic directly in a workflow function (not in a step), these restrictions apply:
| Limitation | Workaround |
No fetch() | import { fetch } from "workflow" then globalThis.fetch = fetch |
No setTimeout/setInterval | Use sleep("5s") from "workflow" |
| No Node.js modules (fs, crypto, etc.) | Move to a step function |
Example - Using fetch in workflow context:
import { fetch } from "workflow";
export async function myWorkflow() {
"use workflow";
globalThis.fetch = fetch; // Required for AI SDK and HTTP libraries
// Now generateText() and other libraries work
}Note: DurableAgent from @workflow/ai handles the fetch assignment automatically.
Error Handling
Use FatalError for permanent failures (no retry), RetryableError for transient failures:
import { FatalError, RetryableError } from "workflow";
if (res.status >= 400 && res.status < 500) {
throw new FatalError(`Client error: ${res.status}`);
}
if (res.status === 429) {
throw new RetryableError("Rate limited", { retryAfter: "5m" });
}Serialization
All data passed to/from workflows and steps must be serializable.
Supported types: string, number, boolean, null, undefined, bigint, plain objects, arrays, Date, RegExp, URL, URLSearchParams, Map, Set, Headers, ArrayBuffer, typed arrays, Request, Response, ReadableStream, WritableStream.
Not supported: Functions, class instances, Symbols, WeakMap/WeakSet. Pass data, not callbacks.
Streaming
Use getWritable() in step functions to stream data:
async function streamData() {
"use step"; // Required - streaming only works in steps
const writer = getWritable();
await writer.write(data);
writer.releaseLock(); // Always release the lock
}
// Close when done
await getWritable().close();Debugging
# Check workflow endpoints are reachable
npx workflow health
npx workflow health --port 3001 # Non-default port
# Visual dashboard for runs
npx workflow web
npx workflow web --app-url http://localhost:3001
# CLI inspection (for agents)
npx workflow inspect runs
npx workflow inspect run <run_id>Tip: Only import workflow APIs you actually use. Unused imports can cause 500 errors.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

