Compare
Multi-Agent Orchestration Patterns: Sequential, Concurrent, Handoff, Group Chat, Magentic
30-second answer
Pick by who decides the next step. Sequential runs agents in a fixed line. Concurrent runs agents at the same time and merges the results. Handoff lets the current agent pass control to a better one. Group chat has a manager choose who speaks next. Magentic has a manager plan open-ended work and delegate it.
Simulate it »Side by side
↔ Swipe the table to see every column.
| Sequential | Concurrent | Handoff | Group chat | Magentic | |
|---|---|---|---|---|---|
| Who decides the next step | You, in advance | You, in advance (all at once) | The current agent | A manager picks the speaker | A manager plans and delegates |
| Agents see | The previous output | The same input | The whole conversation | One shared conversation | The plan and results |
| Speed | Adds up per step | About the slowest agent | Depends on the path | Several rounds | Most calls, slowest |
| Predictability | High | High | Medium | Medium | Lowest |
| Typical use | Draft, then review | Independent checks | Triage to specialists | Debate and refinement | Open-ended research tasks |
Prices are illustrative pay-as-you-go list prices converted at approximate rates, for "price feel" only. Check the Azure pricing calculator for real quotes.
Which one should I pick?
Sequential
Pick it when the steps and their order are known
Concurrent
Pick it when tasks are independent and speed matters
Handoff
Pick it when the right specialist depends on the conversation
Magentic
Pick it when the steps can’t be known up front
Simulate it
🖱️ Drag to rotate · scroll or pinch to zoom
Multi-agent orchestration
Several specialist agents can share a job. Sequential passes work down a line, concurrent fans out and merges, handoff moves control to the right specialist, group chat lets agents take turns in one shared conversation and Magentic lets a manager agent plan and delegate. Microsoft Agent Framework builds all five.
🤔 What happens if…
Read this tour as text
- Deploy a model, call the deployment. A deployment is a named copy of a model with a version, a deployment type and capacity. Your app calls the deployment name, never the model name. Pick a large model for hard work and a small language model for cheap, fast, simple work.
- RAG: retrieve first, then answer. Retrieval-augmented generation searches your own content (Azure AI Search, hybrid keyword plus vector), puts the best chunks in the prompt and asks the model to answer from them with citations. Without retrieval the model guesses.
- A multistep flow with checks. A workflow breaks one big request into steps you control: classify, extract to a JSON schema, call a tool, draft, then verify. Retries, fallbacks and a final check live in code, so one bad step can’t slip through unseen.
- Evaluate before you ship. Evaluators score each answer on a test set: groundedness (is it supported by the context?), relevance, coherence and safety checks. A fabrication shows up as a low groundedness score on one row, so you fix it before users see it.
- SDK, project endpoint and connections. The Foundry SDK (
azure-ai-projects) opens one door: AIProjectClient with the project endpoint and DefaultAzureCredential. From it your app gets an OpenAI-compatible client, deployments and connections (Azure AI Search, Application Insights) with no secrets in code. - Design the agent: role, goal, tool schema. An agent is a model plus instructions (role and goal), tools and a conversation (thread). A strict function schema names each parameter and marks the required ones, so the model asks the user instead of inventing a value.
- Retrieval, function calling and memory. One agent can use file search for documents, a function for live data and memory for what it learned about a user. The model asks to call a function; your code runs it and returns the result. Memory survives into a new conversation.
- Multi-agent orchestration. Several specialist agents can share a job. Sequential passes work down a line, concurrent fans out and merges, handoff moves control to the right specialist, group chat lets agents take turns in one shared conversation and Magentic lets a manager agent plan and delegate. Microsoft Agent Framework builds all five.
- Autonomy with approvals. Reads are safe, writes are not. A tool marked approval required pauses the run until a person decides. A hard limit in code blocks what no one should approve, whatever the model says.
- Monitor and debug agent runs. Agent evaluators read the whole run: intent resolution, tool call accuracy and task adherence. Error analysis groups the failing rows, such as a made-up tool argument, and points to the fix.
- Tune prompts and parameters. Instructions shape tone and rules, a few-shot example shows the format, temperature and top_p change how adventurous the wording is, and max output tokens caps length. A self-critique loop drafts, checks against a checklist and revises once.
- Trace every call and count tokens. OpenTelemetry spans record each agent run, model call and tool call, with tokens and latency, and Application Insights stores them. Tracing is opt-in, and recording message content is for development only because it captures prompts and answers.
- Route requests to the right model. A hybrid design puts rules first for answers code can decide, a small model for easy language work and a large or reasoning model only when needed. A model router can pick for you. Fewer big-model calls means a lower bill and faster replies.
Questions people ask
Do I always need several agents?
No. One agent with a few good tools is simpler and cheaper. Split into several agents when instructions grow long or tools start to collide.
Where do I build these?
Microsoft Agent Framework has builders for each pattern, and Foundry Agent Service can host the agents.
Learn each one properly
More comparisons
- Foundry Deployment Types: Global, Data Zone, Standard, Provisioned, Batch
- Foundry IQ Knowledge Base vs File Search vs Agent Memory
- Prompt Engineering vs RAG vs Fine-Tuning
- Generate, Edit or Understand? Vision Features in Foundry
- Image Harm Controls vs Prompt Shields vs a Custom Visual Policy
- Azure Translator vs LLM Translation in Foundry
- Sentiment Analysis vs Model Tone Labels vs Content Safety
- Keyword vs Vector vs Hybrid vs Semantic Search in Azure AI Search
- Azure AI Search vs Content Understanding: Which Do You Need?