Multi-agent system
A multi-agent system is an AI architecture in which several agents, each with its own role, instructions and tools, coordinate or hand off work to complete a larger task.
Also called: multi-agent architecture, agent orchestration, agent swarm, MAS
A multi-agent system is an AI setup where several agents, each with a narrow role, its own instructions and its own tools, work together or hand off work to finish a bigger task. In GTM it looks like a research agent, a scoring agent and a writing agent passing an account down the line, coordinated by a supervisor, instead of one agent trying to do everything.
How it works
There are three common patterns.
- Orchestrator and specialists. A supervisor agent splits the goal, sends subtasks to specialists, and merges what comes back. Each specialist has a small tool set and a focused prompt.
- Pipeline. Agents run in a fixed order, each improving the last one's output. This is close to prompt chaining, except each stage can loop and use tools.
- Parallel fan-out. Several agents work on separate slices at once (one per competitor, one per data source), then a final agent combines the results.
Why split at all? Each agent's context window stays small and on-topic, which improves accuracy. Specialists can use cheaper models for simple jobs. Failures are easier to locate. The price is more coordination: handoff formats, shared state, and more places for things to go wrong.
Example
Say a team builds weekly competitive digests on 6 competitors. One agent doing all of it reads pricing pages, changelogs, job posts, reviews and news for all six: often 150,000+ tokens of input per run, and the summary blurs competitors together.
They restructure: an orchestrator assigns one research agent per competitor (6 in parallel), each returning a 300-token structured update with sources. A seventh agent writes the digest from six clean updates, about 2,500 tokens of input. Run time drops from around 12 minutes to about 3 because research runs in parallel. Assume each research agent costs $0.15 and the writer $0.03: $0.93 per week, or about $48 a year. Accuracy improves too: reviewers stop finding pricing details attributed to the wrong competitor, which was the failure that mattered.
When it matters and when it doesn't
Multi-agent setups earn their complexity when:
- Subtasks need clearly different tools or permissions (a read-only research agent versus a CRM writer behind approval).
- Work can run in parallel and speed matters.
- One agent's context gets overloaded and quality drops.
They are overkill when one well-prompted AI agent with a handful of tools does the job, or when the steps are fixed and a plain chain would do. Our position: start with one agent, measure where it fails, and split only along those failure lines. Most "agent swarms" we audit would be cheaper and more reliable as one agent plus two deterministic steps.
Common mistakes
- Designing a seven-agent org chart before a single agent has been tested.
- Loose handoffs in prose, so each agent misreads the last one's output; use structured fields.
- No shared run log or observability, so a bad result can't be traced to the agent that caused it.
- Letting agents call each other freely, creating loops with no step limit.
- Applying guardrails only to the final output instead of to each agent that can take actions.
FAQ
When should I use multiple agents instead of one?
When a task has clearly separate parts that need different tools, instructions or context, or when parts can run in parallel. If one agent with a good prompt and five tools does the job, adding more agents mostly adds cost and failure points.
What is an orchestrator agent?
An orchestrator, sometimes called a supervisor, is the agent that breaks a task into subtasks, assigns them to specialist agents and combines their results. It usually holds the overall goal while the specialists each see only what they need.
What frameworks are used to build multi-agent systems?
Developers commonly use frameworks such as LangGraph, CrewAI, AutoGen and the agent SDKs from major model providers. Workflow tools like n8n can also coordinate several AI steps that behave like agents.