Skip to main content

Supervisor Pattern

A supervisor agent coordinates specialist agents, routing work based on classification:

Data Processing Pipeline

Process, enrich, and aggregate data with parallel steps and iteration:

Multi-Stage Approval Pipeline

A pipeline where each stage validates the previous one’s output:

Enrichment + Scoring Pipeline

Combine data from multiple sources and score:

Migration from Legacy API

If you’re using the legacy createWorkflow() API, here’s how to migrate:
Key differences:
  • createWorkflow() becomes flow()
  • .function() becomes .step()
  • .condition() becomes .branch() or .switch()
  • ctx.stepResults.get('name') becomes ctx.results.name
  • stepResults in .output() becomes results

Next Steps

Workflows

Core workflow concepts

Connectors

Integrate external services