Orchestration patterns: one agent or many?
There are a few standard ways to organise agents. A single agent does everything. An orchestrator splits work among specialist workers. A router hands each request to the right specialist. Tasks can run in sequence or in parallel. One large model doing everything is called a monolithic design; several specialised parts working together is a compound AI system.
Everyday analogy
A small shop where the owner does everything, versus a hospital where a triage nurse sends you to the right specialist.
Example
Customer support: a triage agent reads the message and routes it to a technical agent, a billing agent or an account agent, and hands off to a human employee for anything unusual.
Single agent
One agent with several tools.
Simplest; often enough. Start here.
Orchestrator–workers
A planner splits the task and combines the results.
Good for big, multi-part tasks.
Router & hand-offs
Send each request to the right specialist.
Good for support desks and help centres.
When one good agent beats many: every extra agent adds cost, delay and new ways to fail. Add more agents only when one clearly can't cope.
More team patterns
| Pattern | How it works |
|---|---|
| Pipeline | Agent A → agent B → agent C, each doing one stage |
| Fan-out / fan-in | Many agents work in parallel, then results are merged |
| Critic or debate | One agent creates, another reviews or argues back |
| Handoff | The user is passed to a specialist agent |
How agents talk to each other
In a team of agents, the tricky part is often not the thinking. It is passing the work around: who tells whom, what they say, and in what format. There are five common ways to do it.
| Style | How it works | Everyday version | Good for |
|---|---|---|---|
| Direct message | One agent sends a task or a result straight to another | Calling one colleague | Simple hand-offs in a pipeline |
| Broadcast | One message goes to every agent at once | An announcement in the office WhatsApp group | Urgent news, e.g. "the customer cancelled, stop work" |
| Publish–subscribe | Agents post updates under a topic; only agents that follow that topic receive them | Following one channel on a news app | Bigger teams where not everyone needs every update |
| Through a coordinator | Every message goes via the orchestrator, which decides who gets what | A team lead who assigns and collects all work | Keeping control and making the flow easy to trace |
| Shared board (blackboard) | Agents read from and write to one common workspace | Sticky notes on a project board | Problems solved bit by bit, with many agents adding pieces |
What a message between agents looks like
Agents work best when their messages follow a fixed format, a bit like a form instead of a free-text email. Here is a hand-off in a claims team:
{
"from": "intake-agent",
"to": "policy-check-agent",
"type": "task",
"task_id": "CLM-1042",
"request": "Is this member covered for an MRI on 12 November?",
"context": { "member_id": "M-5531", "plan": "Silver", "amount": 1800 },
"reply_within": "30 seconds"
}- from / to: who sent it and who should act on it
- type: task, result, question or error, so the receiver knows what to do
- task_id: one ID for the whole job, so every step can be traced later
- context: only the facts the next agent needs, not the whole history
Standards are arriving: MCP connects an agent to tools and data, while A2A (Agent2Agent) lets agents built by different companies find each other and exchange tasks. See Tools and protocols: how agents act.
Common problems and fixes
| Problem | What you notice | Fix |
|---|---|---|
| Endless loops | Two agents keep passing the same task back and forth | Limit the number of turns per agent and per task |
| Waiting forever | Agent A waits for B, while B waits for A | Add time limits and a fallback step |
| Duplicate work | Two agents do the same search | Give every agent one clear role |
| Lost context | An agent asks for details that were already given | Send a complete brief with each task |
| Copying mistakes | Agents agree with each other's wrong answer | Add an independent checker with different instructions |
| Too much chatter | Huge messages, slow and costly runs | Pass short summaries, not full transcripts |
| Rising costs | Bills grow faster than results | Set a budget of steps or tokens per task |
| Hard to debug | Nobody knows which agent went wrong | Log every message with its task ID |
Try it yourself
About 10 minChoose an orchestration pattern
- Take three jobs: answering FAQs, writing a report from 5 sources, handling insurance claims.
- Pick single agent, orchestrator with workers, or a pipeline for each.
- Write why in one line each.
What you should see: Simple jobs need one agent; complex ones need a coordinator.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.