Skip to main content

Module workflow_dsl

Module workflow_dsl 

Source
Expand description

Declarative workflow DSL — YAML definitions that map to existing coordination APIs.

WorkflowDefinition parses a YAML file describing a multi-step workflow. The execution plan maps each step to the appropriate coordination module call:

  • Parallel → AgentGroup::parallel()
  • Chain → AgentGroup::sequential()
  • ForEach → CoordinatedGroup::map_reduce()
  • Vote → Consensus::start() + cast_vote()
  • SetState → SharedMemory::write()

Structs§

WorkflowDefinition
A complete workflow definition.

Enums§

WorkflowStepDef
A single step in a workflow.