MSBA-311 · Lesson 2 of 12 · 21 min

Orchestration patterns

▶ Video coming soon A video version of this lesson is on the way.

Once Bram had agreed with Celestine that the Commercial Submission Desk would involve several agents, the next question came from Yusra Kamaludin, who would build the Copilot Studio side. "Who decides what happens next?" she asked. "Does the Submission Desk agent call the others whenever it feels like it, or is there a fixed order?" Bram drew five small diagrams on the whiteboard in the Saskatoon office's project room. "Those are the five shapes almost every multi-agent system takes," he said. "Pick the shape first. The platform comes after."

This lesson sets out those shapes, called orchestration patterns, and shows how each maps to the tools Microsoft offers: Copilot Studio's generative orchestration with child and connected agents, Microsoft Foundry workflows, and the orchestrations in the Microsoft Agent Framework.

Deterministic and model-driven orchestration

Every pattern sits somewhere on a line between two extremes. In deterministic orchestration, the sequence of steps is decided in advance by a workflow, a flow or code. The agents inside it may reason, but they do not decide what runs next. In model-driven orchestration, a language model decides at run time which agent or tool to call next, based on the goal and what has happened so far.

Deterministic orchestration is predictable, testable, cheaper and easier to audit. Model-driven orchestration is flexible and handles requests no one anticipated, but it is harder to test because the path can differ every time. Most production systems mix the two: a workflow holds the overall shape and the steps that must always happen, and agents use model-driven reasoning inside individual steps. Bram's rule of thumb is to push decisions toward the deterministic end whenever the business can write the rule down.

Five small diagrams. Sequential: A to B to C. Concurrent: a fan-out from a start node to three agents and a fan-in to an aggregator. Handoff: a triage agent passing control to one of three specialists. Group chat: a manager node in the center of four agents taking turns. Magentic: a manager with a task ledger directing agents dynamically.
Five common orchestration patterns. Real systems often nest one inside another.

Pattern 1: sequential

In the sequential pattern, agents work in a fixed order, each taking the previous agent's output as its input, like a pipeline. A document might pass from an extraction agent to a classification agent to a drafting agent. The pattern suits work with clear stages where each stage depends on the one before.

Strengths: easy to understand, test and monitor; each stage can be evaluated on its own. Weaknesses: total latency is the sum of all stages; an error early in the chain flows downstream; no stage can go back and ask an earlier one for more. Use it when the stages genuinely depend on each other and the order never changes.

In Microsoft Foundry, the multi-agent workflows feature introduced in public preview at Ignite in November 2025 offers a Sequential template on its visual canvas. In Copilot Studio, a sequence of fixed steps is usually best held in an agent flow rather than in instructions that tell the planner to call agents in order.

Pattern 2: concurrent

In the concurrent pattern, sometimes called fan-out and fan-in, several agents work on the same input at the same time and an aggregation step combines their results. Checking appetite with three carriers is a natural example: the three checks are independent, so running them in parallel cuts waiting time from the sum of the three to the longest one.

Strengths: lower latency for independent work; diverse perspectives on the same problem. Weaknesses: you pay for every branch even if one would have been enough; aggregation is its own design problem (do you take the majority, the best score, or all results side by side?); one slow branch holds up the whole fan-in unless you set a timeout. Use it when sub-tasks are independent and you need all or most of the results.

Pattern 3: handoff

In the handoff pattern, an agent that is working on a request transfers control to another agent better suited to continue, along with the context. A triage agent at the front door decides which specialist should handle a request and hands it over; the specialist may hand back or on again. Unlike the sequential pattern, the path is not fixed: it depends on what each agent finds.

Strengths: each specialist stays narrow; routing adapts to the request. Weaknesses: context can be lost at each transfer; loops are possible if two agents keep handing the request back and forth; users can be confused if the voice or rules change mid-conversation. Use it when requests fall into distinct categories that need different expertise, as in a contact center.

Copilot Studio's generative orchestration behaves much like a handoff or supervisor pattern when an agent has child or connected agents: the parent's planner reads the descriptions of its sub-agents and decides which to call. Copilot Studio can also hand a conversation to a human through a transfer to a live agent, which is a handoff to a person rather than to another AI agent.

Pattern 4: group chat

In the group chat pattern, several agents take part in a shared conversation, managed by a chat manager that decides who speaks next. The classic use is maker-checker: one agent drafts, another critiques against criteria, the first revises, and the manager stops the loop when the critic is satisfied or a turn limit is reached. Group chat also suits brainstorming and review by several perspectives.

Strengths: iterative refinement; a natural place for a person to join the conversation. Weaknesses: many model calls and therefore high consumption; conversations can drift or loop without firm termination rules. Use it when quality improves noticeably from critique and revision, and always set a maximum number of rounds. Foundry's workflow templates include Group chat, and Foundry also offers a Human-in-the-loop template that pauses a workflow for a person's input.

Pattern 5: magentic (dynamic planning)

The fifth pattern takes its name from Magentic-One, a multi-agent system published by Microsoft Research. A manager agent builds and maintains a plan, often called a task ledger, for an open-ended goal. It assigns steps to specialist agents, checks progress after each step, and revises the plan when something fails or new information appears. The Microsoft Agent Framework, which had a stable release in Python and .NET by Build 2026, includes Magentic-One-style orchestration among its patterns alongside sequential, concurrent, handoff and group chat.

Strengths: handles complex, open-ended tasks where the steps cannot be known in advance. Weaknesses: the least predictable pattern; expensive; hard to test; needs strong guardrails. Use it sparingly, for research or investigation tasks where flexibility is worth the cost, and keep consequential actions outside its reach or behind approval.

PatternWho decides what runs nextGood fitMain risk
SequentialThe workflow, in a fixed orderStaged processingErrors flow downstream
ConcurrentThe workflow, all branches at onceIndependent checksCost of every branch; slow branch
HandoffEach agent, by transferring controlRouting to specialistsLost context; loops
Group chatA chat managerDraft and critiqueDrift; high consumption
MagenticA manager agent with a planOpen-ended investigationUnpredictable paths and cost

The supervisor and agent-as-tool

One shape deserves its own name because it is so common: the supervisor or agent-as-tool arrangement. A parent agent treats each sub-agent like a tool. It calls the sub-agent with a request, waits for the result, and decides what to do next. The sub-agent does not take over the conversation; control always returns to the parent. This is how Copilot Studio uses child and connected agents under generative orchestration, and it is how a Foundry agent uses another agent through an A2A tool.

The supervisor shape is a sensible default for conversational solutions because the user always talks to one agent with one voice, and the parent can combine results from several specialists into one answer. Its weakness is that every piece of information the specialist needs must be passed in the call, and every piece the parent needs must come back in the result. Lesson 7 deals with those hand-off contracts.

Nesting patterns

Real systems combine patterns. The Commercial Submission Desk, as Bram designed it, nests three of them.

The account executive talks to the Submission Desk agent in Teams (supervisor). It starts a workflow: intake extraction, then a concurrent block of three carrier appetite checks and the risk review agent, then an aggregation step, then a human approval, then quote requests to the chosen carriers.
The Commercial Submission Desk design: a supervisor front door that starts a sequential workflow containing a concurrent block and a human approval.

At the front, the Submission Desk agent in Teams acts as a supervisor for the account executive's questions. When the account executive asks it to prepare a submission, it starts a workflow that runs mostly in sequence: extract details from the application, run the appetite checks and the risk review concurrently, aggregate the findings into a submission brief, pause for the account executive's approval, then send quote requests to the chosen carriers. Inside the risk review step, Ngozika's Foundry agent uses its own tools in a model-driven way. The overall shape is deterministic; the judgment lives inside the steps.

Notice what is *not* in the design: there is no group chat, because nobody could show that critique by a second agent would improve the submission brief more than the account executive's own review; and there is no magentic manager, because the steps are known in advance. Bram's view is that both patterns should have to earn their place with evidence from evaluation.

A workflow as data

Foundry workflows can be built on a visual canvas or defined in YAML, and every save creates an immutable version. Variables carry data between steps and can be typed with a JSON schema; Power Fx expressions handle conditions and transformations. The sketch below shows the shape of the submission workflow in a YAML-like form. It is simplified to show the structure and is not the exact Foundry schema, which you should take from the product documentation.

The shape of the workflow: a sequence with a parallel block, a timeout, a human step and a loop over approved carriers.
# Simplified sketch of the submission workflow (not the exact Foundry schema)
name: commercial-submission
inputs:
  submissionId: string
steps:
  - id: intake
    agent: intake-extractor
    output: applicationSummary
  - id: checks
    parallel:
      - agent: appetite-checker        # calls carrier MCP servers
        output: appetiteResults
      - agent: submission-review       # Ngozika\'s Foundry agent
        output: riskFindings
    timeoutSeconds: 120
  - id: brief
    agent: brief-writer
    output: submissionBrief
  - id: approve
    humanInput:
      assignee: accountExecutive
      show: submissionBrief
    output: approvedCarriers
  - id: request-quotes
    forEach: approvedCarriers
    action: send-quote-request

Stopping rules and limits

Every pattern that lets a model decide what happens next needs explicit stopping rules, because a language model has no natural sense of when it has done enough. Bram asks for three limits on every model-driven loop. The first is a turn limit: the maximum number of agent calls or conversation rounds before the orchestration stops and reports what it has. The second is a time budget: the longest the whole task may run before it returns a partial answer or escalates to a person. The third is a cost budget: a ceiling on model calls or credits for one request, so that one confused conversation cannot consume a day's capacity.

Loops are the failure that these limits catch most often. In a handoff design, a billing agent may decide a question is about coverage and hand it to the coverage agent, which decides it is about billing and hands it back. In a group chat, a critic may keep finding small faults and a writer may keep making small changes. Neither agent is wrong by its own lights, and the loop continues until something outside them stops it. Good designs record how many times a request has been handed between the same pair of agents and treat a repeat as a signal to escalate, not to try again.

Limits also make testing possible. A workflow with a turn limit of six has a bounded set of paths that an evaluation set can cover; an open loop does not. When Yusra asked how she would know the Submission Desk was safe to release, Bram's answer started with the limits: "If we can say what the worst case costs and how long it takes, we can test it. If we can't, we aren't ready."

Choosing a pattern

Bram's checklist for choosing a pattern has four questions. First, can the business write down the order of steps? If yes, lean sequential, with concurrency wherever steps are independent. Second, do requests fall into distinct categories that need different expertise? If yes, handoff or supervisor routing fits. Third, does quality improve measurably from critique? If yes, consider a bounded group chat. Fourth, is the task genuinely open-ended, with steps that cannot be predicted? Only then consider magentic orchestration, with tight limits.

Two further questions apply to every pattern. Where must a person be involved? And what happens when a step fails? The answers often change the pattern: a human approval that can take hours, for example, means the workflow must be able to pause and resume, which points to a workflow engine rather than a chain of synchronous agent calls.

Worked problem

Choosing a pattern for claims first notice of loss

Tobias Okafor-Rains in claims wants help with first notice of loss emails. Each email must be classified (auto, property, liability), the policy found in BrokerDesk, coverage confirmed, and an acknowledgment drafted. Property claims also need a check against the inspection reports. Which pattern fits?

Show solution
  1. The order is known: classify, find the policy, confirm coverage, draft. That suggests a sequential workflow.
  2. The property check is only needed for one category, so it is a conditional branch, not a separate pattern.
  3. Policy lookup and the inspection report check are independent once the policy is known, so they can run concurrently for property claims.
  4. Nothing suggests critique loops or open-ended planning, so group chat and magentic orchestration are not needed.

Answer: A sequential workflow with a conditional concurrent block for property claims, and the drafted acknowledgment sent to a claims handler for review. Agents are used only for classification and drafting; the rest are tool calls.

Platform mapping

The patterns are vendor-neutral, but here is how they line up with what Microsoft offers as of November 2026. Check feature status in the documentation, because several of these capabilities were in preview at the time of writing.

PlatformHow patterns are expressed
Copilot StudioGenerative orchestration chooses child and connected agents (supervisor or handoff style); agent flows hold fixed sequences; transfer to a live agent hands off to a person.
Microsoft Foundry workflowsVisual canvas or YAML; templates for Sequential, Human-in-the-loop and Group chat; variables, conditions and versioning.
Microsoft Agent FrameworkCode-first orchestrations in Python and .NET, including sequential, concurrent, handoff, group chat and Magentic-One-style patterns.
Microsoft 365 CopilotCopilot's orchestrator routes to declarative agents and published agents chosen by the user or mentioned in a conversation.

Common mistakes

  • MistakeLetting a planner choose the order of steps that the business has already fixed.

    InsteadHold known sequences in a workflow and let agents reason inside the steps.

  • MistakeRunning a group chat without a turn limit.

    InsteadAlways set a maximum number of rounds and a clear stopping rule.

  • MistakeFanning out to many agents and waiting for all of them with no timeout.

    InsteadSet a timeout and decide what the aggregator does with partial results.

  • MistakeChoosing magentic orchestration because the task sounds complex.

    InsteadUse it only when the steps genuinely cannot be predicted, and keep consequential actions behind approval.

  • MistakeChoosing the platform before the pattern.

    InsteadChoose the pattern from the business process, then pick the platform that expresses it best.

Summary and key terms

  • Orchestration ranges from deterministic (a workflow decides) to model-driven (an agent decides).
  • Sequential, concurrent, handoff, group chat and magentic are the five common patterns.
  • The supervisor or agent-as-tool shape is how Copilot Studio uses child and connected agents.
  • Real systems nest patterns; the Submission Desk is a supervisor front door over a sequential workflow with a concurrent block and a human step.
  • Foundry workflows offer Sequential, Human-in-the-loop and Group chat templates; the Agent Framework provides the patterns in code.
Deterministic orchestration
Orchestration in which a workflow or code decides the order of steps in advance.
Model-driven orchestration
Orchestration in which a language model decides at run time what to call next.
Fan-out and fan-in
Starting several branches in parallel and then combining their results.
Maker-checker
A pattern in which one agent drafts and another reviews against criteria.
Task ledger
The plan a manager agent keeps and revises in magentic orchestration.
Supervisor
A parent agent that calls sub-agents like tools and keeps control of the conversation.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which pattern cuts latency for three independent appetite checks?

    Show answer

    Concurrent (fan-out and fan-in), ideally with a timeout.

  2. What two safeguards does a group chat always need?

    Show answer

    A maximum number of rounds and a clear stopping rule.

  3. In the supervisor shape, who keeps control of the conversation?

    Show answer

    The parent agent; sub-agents return results to it.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz