Durable Workflows (WDK)





Pattern
Orchestrator-Worker Workflow Pattern
Demonstrates an orchestrator-worker workflow pattern using Workflow DevKit. Features parallel execution of specialized workers for different change types (create, modify, delete).
IntermediateNov 2025View the full pattern on desktop


Problems solved
- Coordinate create, modify, and delete workers from an orchestrator
- Run specialized workers in parallel under Workflow DevKit
- Plan multi-file change sets before worker execution
- Persist orchestrated steps with durable workflow execution
Use cases
- Feature implementation planning workflows
- Parallel code-change worker demos
- Multi-file change coordination
- Workflow DevKit orchestrator-worker tutorials
AI SDK APIs
generateObject
Tags
aiworkfloworchestratorworkerparallelai-sdkworkflow-devkitfeature-implementationcode-generation
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- OpenAI API key
- Workflow DevKit setup
Environment variables
OPENAI_API_KEYGet key
External services
openai
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Parallel Review Workflow Pattern
Demonstrates a parallel review workflow pattern using Workflow DevKit. Features concurrent code reviews (security, performance, maintainability) with result aggregation.
aiworkflow+8
View pattern β


Evaluator Workflow Pattern
Demonstrates an evaluator-optimizer workflow pattern using Workflow DevKit. Features iterative improvement through AI evaluation and optimization loops.
aiworkflow+6
View pattern β



