Skip to content

Workflows

Workflow docs define declarative AI runs, routing, orchestration loops, structured outputs, session routing, and refinement control.

Read these docs when changing AG2 workflow authoring, AppGenerator/AgentGenerator handoffs, workflow routing, or session/refinement behavior.

Doc Scope
Workflow Architecture Workflow root ownership and execution model
Workflow Authoring Contracts Canonical workflow YAML contract
Workflow Routing Transitions Global workflow routing and transition UI
Orchestration Control Loops Workflow-local, builder-session, and refinement loops
Declarative AG2 Mapping YAML-to-AG2 mapping rules
Structured Output Extraction Strict structured-output extraction contract
Refinement Control Plane Refinement routing, classification, and scoped repair
Session Router Session routing and resume contract
Control-Plane Harness Architecture Builder harness ownership and contracts
Proposal-Only Workflow Pattern HITL planning/review workflow archetype, blocked/deferred phases, output invariants