Essam ShaabanSr Software Engineer
Microsoft Agent Framework orchestration

Handoff orchestration

An agent transfers responsibility, together with the conversation context, to the specialist best suited to continue. Specialists can hand off again.

In plain terms Like a call centre transferring you to the right department, together with your case notes.

Last reviewed · Native orchestration Built-in Agent Framework orchestration.

How it works

Agents in a mesh transfer full control and context to a better-suited agent by calling injected handoff tools; one agent is active at a time and owns the task after handoff.

Workflow: Input, then a triage agent, then the selected specialist, with an additional handoff if required, then Output.

Roles in the example

  • Bolt · Triage Decides who should own the request.
  • Nova · Data specialist Owns data issues; hands off reporting work.
  • Pixel · Reporting specialist Owns reporting requests.

At a glance

Pattern type
Microsoft Agent Framework orchestration
Execution model
Dynamic delegation, one active agent
Coordination
Agents decide when and to whom to hand off
Runs agents in parallel
No, one step at a time
Implementation complexity
Medium
Relative latency
Medium · Grows with the number of handoffs
Relative operational cost
Medium · Usually triage plus one or two specialists; each extra handoff adds calls.
Predictability
Low · Routing path emerges at runtime
Scalability
Add specialists with handoff rules; routing quality degrades as options multiply.

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

When to use it

Good for: Support desks and tasks whose right owner only becomes clear as you go.

Use when

  • The right specialist only becomes clear during the conversation
  • Customer support triage
  • Interactive, multi-turn conversations

Avoid when

  • The route is known upfront (use a router)
  • The caller must keep ownership of the task (use agents-as-tools)
  • Strictly bounded latency

Enterprise use cases

  • Customer service triage to billing, tech or sales
  • IT help desk escalation
  • Insurance claims intake

Advantages and limitations

Advantages

  • Full context moves with the task
  • No central orchestrator bottleneck
  • Natural multi-turn user experience

Limitations and trade-offs

  • Risk of infinite handoff loops
  • Unpredictable routing paths
  • Agents must support local tool execution

Security, oversight and failure handling

Security and governance

  • Restrict which agents each agent may hand off to
  • Gate sensitive tools with approval (e.g. refunds)
  • Re-check authorization at the receiving agent

Human oversight

Recommended. Conversations commonly return to the user between turns, and a human agent is a typical escalation target when no specialist fits.

Failure handling and recovery

  • Limit handoff depth/count
  • Route to a human or fallback agent when no specialist fits
  • Log every transfer for traceability

Implementation guidance

Decisions to settle before building

  • Write precise agent descriptions and handoff rules; ambiguous ones cause wrong transfers or agents passing work back and forth.
  • Decide what context travels with a handoff and what each specialist is allowed to see and do.
  • Handoff is interactive by default: when an agent answers without handing off, control returns to the user, so design for multi-turn conversations.

Supported technologies

TechnologySupportHow
Microsoft Agent FrameworkNative orchestrationHandoff orchestration (mesh); tool approval supported
Copilot StudioCustom implementationConnected agents return control to the caller (agent-as-tool), not a full handoff
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

  • Released Agent Framework orchestrations (Python package). Released package since the 1.23 cohort (October 2026). Source
  • 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.