Skip to content

Workflow Patterns

Workflow patterns are reusable solutions to common workflow design problems.

Available Patterns

PatternUse Case
Minimal GraphDecide what earns a branch, a loop, or a separate agent turn
Information CollectionGather agent capabilities or user preferences at workflow start
Skip PatternAllow users to skip optional steps
Validation LoopVerify results and retry on failure
Repair ReachRoute a repair by where the correction actually landed
BranchingDifferent paths for different scenarios
Dynamic FilesTemplate-based file paths for reusability
Step VerificationVerify step completion before proceeding
EscalationHandle failures with user intervention
Subagent ReviewDelegate reviews to independent subagents
Completeness Self-ReviewCheck every requirement against the real artifact before delivery
Process RevisionChange a plan, checklist, or corpus from inside a running workflow
Replan PatternRevise a multi-step plan after execution has started
Operating ModeRun unattended without losing reviews or authority gates
WorkspaceOrganize workflow files in a dedicated workspace directory
Notes PersistenceStore and retrieve data across steps and executions
Artifacts PublishingPublish HTML content with shareable public URLs
Static ConfigurationStore curated instructions as variableRegistry defaults for consistency
Anti-PatternsCommon workflow design mistakes to avoid

Pattern Selection Guide

Unsure how many nodes the graph needs? → Minimal Graph

Need to collect configuration? → Information Collection

Need optional steps? → Skip Pattern

Need quality control? → Validation Loop

A small fix keeps paying for the whole validation chain? → Repair Reach

Need different paths? → Branching

Need reusable file references? → Dynamic Files

Need to verify completion? → Step Verification

Need failure handling? → Escalation

Need independent verification? → Subagent Review

Need to prove every requirement was met? → Completeness Self-Review

Need to change the process while it runs? → Process Revision

Need to revise a plan mid-execution? → Replan Pattern

Need the workflow to run unattended? → Operating Mode

Need organized working files? → Workspace

Need data to survive across executions? → Notes Persistence

Need to publish a shareable page? → Artifacts Publishing

Need consistent agent instructions? → Static Configuration

Need to avoid common mistakes? → Anti-Patterns