workflows

Featured

Delegate a big or high-stakes job to a fleet of parallel subagents, orchestrated deterministically; runs unattended and reports back

AI & Automation 1,231 stars 174 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

A workflow is a short JS/TS script you author that runs in a sandbox and fans work out across many short-lived **leaf agents**, orchestrated deterministically. Launch one with `run_workflow` (inline `script` OR saved `name`, exactly one). It returns a `runId` immediately; the run is asynchronous and you are notified in this conversation when it completes — **do NOT poll**. Reach for one when a job is too big, too parallel, or too important for one inline pass. That is more than batch/map-reduce over many items — it also covers exhaustively sweeping or auditing a large surface, researching across many sources and synthesizing, and generating several independent attempts to judge or adversarially verify before trusting the result. For a single task or a quick lookup, do it inline. ## The script model These are the load-bearing invariants. Get them wrong and the run misbehaves silently. ### Scripts are SYNCHRONOUS — never `await` Host functions block and return their result directly. Write straight-line code. ```js const r = agent("Summarize this thread."); // r is the result, right here ``` Do **not** write `await agent(...)`, and do **not** make the script `async`. An `async` script deadlocks on its second host call — the sandbox can suspend the main evaluation stack but not a promise continuation. ### Every script begins with a literal `meta` The first statement must be a pure-literal export — no computed values, template strings, or concatenation: ```js export cons...

Details

Author
vellum-ai
Repository
vellum-ai/vellum-assistant
Created
7 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category