Orchestrating Multi-Agent Solutions
This lesson describes when several specialized agents solve a problem better than one, the orchestration patterns that coordinate them, and the Foundry features that implement those patterns.
Learning outcomes
After completing this lesson, you will be able to:
- Identify when several agents are justified.
- Distinguish the sequential, concurrent, handoff, group chat and magentic patterns.
- Describe how Foundry workflows implement orchestration.
- Control the cost and failure modes of multi-agent systems.
When to use several agents
Multiple agents are justified when roles need different instructions, tools, models or permissions (for example, a research agent with web access and a finance agent with ERP access), when separate teams own different capabilities, or when the task has distinct phases that benefit from independent review. A single agent with several tools is simpler, cheaper and faster when one role and one permission set suffice.
Orchestration patterns
An orchestration pattern decides which agent works when, and how results pass between agents. Five patterns cover most designs, and they differ in whether the order of work is fixed or decided at run time.
In the sequential pattern, agents form a pipeline: each agent processes the previous agent's output, as when a drafting agent writes a contract clause, a legal agent reviews it and a translation agent localizes it. The order is fixed, which makes the process predictable and easy to audit.
In the concurrent pattern, several agents work on the same input at the same time and an aggregator combines their results, as when financial, technical and legal agents each assess a proposal. Running in parallel reduces latency, and independent perspectives reduce the chance of a single blind spot.
In the handoff pattern, one agent transfers the conversation to another that is better suited, typically a triage agent passing a customer to a billing or technical specialist. Only one agent is active at a time, and the route is decided by the conversation.
In group chat, several agents contribute to a shared thread and a manager decides who speaks next, which suits brainstorming or a writer and critic refining a draft together.
In the coordinator pattern, sometimes called magentic orchestration, a planner agent breaks an open-ended task into subtasks, assigns them to specialist agents, tracks progress and revises the plan. It handles tasks whose steps cannot be known in advance, at the highest cost and with the least predictability.
The following table summarizes the patterns.
| Pattern | How it works | Example |
|---|---|---|
| Sequential | Each agent processes the previous agent's output | Draft, legal review, translation |
| Concurrent | Agents work in parallel; results are aggregated | Several analysts assess a proposal |
| Handoff | An agent transfers the conversation to a specialist | Triage agent hands off to billing |
| Group chat | Agents discuss in a shared thread; a manager selects speakers | Brainstorming and critique |
| Coordinator (magentic) | A planner agent assigns tasks dynamically and tracks progress | Open-ended research tasks |
The following diagram shows the shape of each pattern.

Choose the orchestration pattern
Implementing orchestration
An orchestration pattern describes how agents cooperate; an implementation is the software that actually runs the agents in that pattern, passes messages between them and keeps track of the state of the run. Foundry solutions use one of two implementations, and a protocol connects agents built elsewhere.
Foundry workflows define multi-agent orchestration with a visual designer or YAML: nodes invoke agents, set variables, branch on conditions, loop, and pause for human input. The workflow itself is deployed as an agent that applications call.
The Microsoft Agent Framework, the successor to Semantic Kernel agents and AutoGen, provides the same patterns in Python and .NET with type-safe messages, checkpointing and human-in-the-loop support, and can use Foundry models and agents.
Agents built on other platforms interoperate through the Agent2Agent (A2A) protocol, and tools are shared through MCP.
The Foundry portal shows that Foundry workflows are being retired on 1 December 2026, and new workflows are built with the Microsoft Agent Framework. The exam guide may still name Foundry workflows, so the concepts in this section remain worth knowing, but new solutions use the Agent Framework for declarative and code-based orchestration. The following screenshot shows the Workflows tab with the retirement notice and the templates that still illustrate the patterns: sequential, human in the loop and group chat.

Controlling cost and failure modes
Multi-agent systems multiply the cost and the ways a request can fail. Each agent turn consumes tokens, conversation history passed between agents grows with every step, and latency adds up when agents run in sequence. Agents can also loop, passing work back and forth without finishing, or produce conflicting results that the orchestrator must reconcile.
Controls address each risk. Termination conditions and a maximum number of turns stop loops. Agents pass structured, summarized results rather than full transcripts, which keeps context small. Independent tasks run concurrently to reduce latency. Every agent call is traced with the orchestration run, so that a failure can be located in the agent and step that caused it, and the whole workflow is evaluated end to end as well as per agent.
Control a multi-agent system
Choosing a pattern
A company's customer service assistant must route each conversation to one of three specialists (billing, technical support, returns), each with its own tools and permissions. A customer may switch topics mid-conversation.
The handoff pattern fits: a triage agent classifies the request and hands off to the appropriate specialist, and specialists can hand back when the topic changes. A sequential pipeline would force every conversation through every specialist, and a single agent would need all permissions at once.
When are several agents justified rather than one?
Show answer
Only when roles, tools, models or permissions genuinely differ. Otherwise one agent is simpler and cheaper.
Exam Tips
Remember for the exam
- Use several agents only when roles, tools, models or permissions genuinely differ.
- Routing to the right specialist: handoff. Fixed stages: sequential. Parallel analysis: concurrent.
- Foundry workflows (declarative) or Microsoft Agent Framework (code) implement orchestration.