Essam ShaabanSr Software Engineer
Agentic AI pattern · Agentic architecture

Hierarchical orchestration

Supervisors are layered: a root supervisor delegates to team leads, who delegate to their own workers. Results roll back up the tree.

In plain terms Like an organisation chart: a director delegates to managers, who delegate to their own teams.

Last reviewed · Build from primitives Composed from nested workflows or nested supervisors.

How it works

A tree of supervisors: a root delegates to team leads, which delegate to their own workers; each level aggregates results upward.

Workflow: Root supervisor, then department supervisors, then worker agents; results return up through the hierarchy, then Output.

Roles in the example

  • Bolt · Data team lead Supervises the ingest and quality workers.
  • Nova · Root supervisor Splits the goal and aggregates the result.
  • Pixel · Reporting team lead Supervises the chart and writer workers.

At a glance

Pattern type
Agentic architecture
Execution model
Multi-level delegation
Coordination
Each level coordinates only its direct children
Runs agents in parallel
Yes
Implementation complexity
High
Relative latency
High · Every level adds orchestration overhead
Relative operational cost
High · Every level adds supervisor calls on top of the workers’ calls.
Predictability
Medium · Structure is fixed; delegation within levels varies
Scalability
Scales organizationally to many agents; each nesting level adds overhead.

Complexity, latency, cost and predictability are qualitative ratings that compare these patterns with each other, not measured benchmarks.

When to use it

Good for: Large problems that map onto teams or departments.

Use when

  • Large problems that decompose by domain and sub-domain
  • Separate teams own separate branches
  • Isolation of state per branch

Avoid when

  • A flat supervisor is enough
  • Latency-sensitive interactions
  • Small agent counts

Enterprise use cases

  • Enterprise reporting split into data and reporting teams
  • Large migration or audit programmes
  • Multi-department service desks

Advantages and limitations

Advantages

  • Mirrors organizational ownership
  • Isolated, reusable sub-teams
  • Contains blast radius per branch

Limitations and trade-offs

  • Highest coordination overhead
  • Harder end-to-end debugging
  • Platform depth limits may apply

Security, oversight and failure handling

Security and governance

  • Enforce permissions at every level, not only the root
  • Isolate state between branches
  • Trace across levels with correlation IDs

Human oversight

Recommended. People typically review the root result and decisions that cross team boundaries.

Failure handling and recovery

  • Errors propagate to the parent level
  • Checkpoint parent workflows including nested state
  • Degrade by dropping a failed branch when acceptable

Implementation guidance

Decisions to settle before building

  • Keep the tree shallow: every extra level adds model calls, latency and another place where context can be lost.
  • Define the contract between levels (task in, result out) and enforce permissions at every level, not only the root.
  • Use sub-workflows with checkpointing so one branch can be retried without rerunning the whole tree.

Supported technologies

TechnologySupportHow
Microsoft Agent FrameworkBuild from primitivesSub-workflows nested as executors, with checkpointing
Copilot StudioBuild from primitivesChild/connected agents; check delegation-depth limits for your harness
Microsoft FoundryBuild from primitivesAgent Framework orchestration run as a Foundry hosted agent, or a visual, low-code orchestration that calls Foundry agents from Azure Logic Apps (preview). Foundry’s visual workflows retired Dec 1, 2026

Availability notes

  • Generally available Foundry hosted agents. Managed hosting is GA; the Python Agent Framework hosting integration is prerelease. Source
  • Retired Foundry workflows (visual designer). Retired December 1, 2026. Microsoft’s migration paths: Agent Framework run as a hosted agent (recommended), Azure Logic Apps for a visual low-code designer, or A2A for simple agent-to-agent calls. Source
  • Preview Foundry agents in Azure Logic Apps (Standard). Call and orchestrate Foundry agents from Logic Apps workflows, with event and schedule triggers, connectors and human approval steps. Source

Code samples and step-by-step guides for Python, C#, Microsoft Foundry and Copilot Studio are in the interactive explorer’s Developer implementation section.

Official references

Last reviewed 5 December 2026 against Microsoft Agent Framework (Python 1.26 release line), Microsoft Foundry Agent Service, Copilot Studio. Platforms change often: confirm details in the linked documentation.