Four Orchestration Patterns

MAF's control-flow shapes side by side: sequential chain, concurrent fan-out/in, handoff transfer, custom graph

Four Orchestration Patterns MAF's control-flow shapes side by side: sequential chain, concurrent fan-out/in, handoff transfer, custom graph 01 / Sequential 02 / Concurrent 03 / Handoff 04 / WorkflowBuilder Step A · first agent · Sequential Step A first agent Step B · then next · Sequential · ordered Step B then next ordered Fan-out · parallel agents · Concurrent Fan-out parallel agents Fan-in · aggregate · Concurrent · join Fan-in aggregate join Agent · hits its limit · Handoff Agent hits its limit Peer · takes over · Handoff · transfer Peer takes over transfer Build Graph · nodes + edges · WorkflowBuilder Build Graph nodes + edges Run Graph · you own routing · WorkflowBuilder · arbitrary Run Graph you own routing arbitrary gather handoff Legend User UI Agent logic Policy Tool action Context / trace

Deterministic

  • • Sequential: step after step, ordered
  • • Concurrent: fan work out, then join results

Dynamic

  • • Handoff: transfer to a better-suited peer
  • • WorkflowBuilder: an arbitrary graph you route yourself