# Multi-agent system

> A multi-agent system is a design in which several AI agents, each with its own role, instructions and tools, work together on a task by passing work and messages between them, usually under a coordinating agent or fixed workflow.

Also called: multi-agent, agent team, agent swarm, crew of agents. Category: Agents and automation. Source: https://aibuildindex.com/glossary/multi-agent-system

## In the index

- Custom AI agent: median $3,850, middle half $600 to $10,000, 2,831 priced briefs (https://aibuildindex.com/cost/custom-ai-agent)
- CrewAI: median $3,000, middle half $700 to $8,800, 31 priced briefs (https://aibuildindex.com/tools/crewai)
- LangGraph: median $4,400, middle half $500 to $14,100, 216 priced briefs (https://aibuildindex.com/tools/langgraph)

A multi-agent system splits a job across several specialised agents instead of giving one agent everything. A research task might use one agent to search, another to read and summarise sources, a third to write the report and a fourth to check it. For a business buyer the design can make complex work more manageable, but it also adds moving parts, cost and new ways to fail, so it should be chosen for a reason rather than because it sounds advanced.

## How it works

Each agent is a language model with its own [system prompt](https://aibuildindex.com/glossary/system-prompt), tools and scope. They are connected in one of a few common shapes:

- **Supervisor.** A coordinating agent breaks the task down, hands parts to specialist agents, and assembles the results.
- **Pipeline.** Agents run in a fixed order, each passing its output to the next.
- **Debate or review.** One agent produces work and another critiques it until it meets a standard.

Frameworks such as CrewAI, LangGraph and AutoGen provide the plumbing for defining roles and passing messages. The builder still decides who can talk to whom, what each agent may do, and when the system stops.

An example: a due-diligence assistant for an investment team. A planning agent lists the questions to answer about a company, a search agent gathers filings and news, an analysis agent extracts figures into a table, and a writing agent produces the memo. A final review step checks every claim has a source before the memo reaches an analyst.

## What it means for cost

Multi-agent builds are among the more expensive agent projects:

- **More model calls.** Agents talk to each other, so token use can multiply compared with a single agent.
- **Harder debugging.** When the output is wrong, finding which agent caused it needs detailed tracing. See [observability](https://aibuildindex.com/glossary/observability).
- **Coordination failures.** Agents can loop, contradict each other or drop information in handovers, which takes testing to catch.
- **Design effort.** Defining clean roles and handovers is real architecture work.

Ask a builder why the task needs several agents rather than one agent with several tools, and how they will cap cost and steps per run.

## When it is the wrong tool

Many tasks that are pitched as multi-agent work fine with a single agent or a fixed [agentic workflow](https://aibuildindex.com/glossary/agentic-workflow). Splitting into agents helps mainly when sub-tasks need very different instructions, tools or permissions, or when a separate checker improves quality measurably.

## Common questions

### Are multi-agent systems more accurate than single agents?

Sometimes. A separate reviewing agent can catch mistakes, and narrow roles can reduce confusion. But more agents also mean more chances for errors to pass between them, so any accuracy gain should be measured on real cases, not assumed.

### Do the agents need to use the same model?

No. Builds often use a stronger model for planning or review and a cheaper, faster one for routine steps, which can lower running costs.

## Related terms

- [AI agent](https://aibuildindex.com/glossary/ai-agent): An AI agent is software built around a language model that can plan steps, call tools such as APIs, databases or a browser, look at the results and keep going until it completes a task, rather than only replying to a single message.
- [Orchestration](https://aibuildindex.com/glossary/orchestration): Orchestration is the coordination layer of an AI or automation system that decides which steps, models, tools or agents run, in what order, with what data, and what happens when a step fails.
- [Agentic workflow](https://aibuildindex.com/glossary/agentic-workflow): An agentic workflow is an automated process in which a language model makes some of the decisions, such as choosing the next step, calling a tool or judging whether output is good enough, inside a structure that the builder defines in advance.
- [Autonomous agent](https://aibuildindex.com/glossary/autonomous-agent): An autonomous agent is an AI agent that pursues a goal over many steps with little or no human input, choosing its own actions, tools and order of work until it decides the task is done or reaches a limit.
- [Observability](https://aibuildindex.com/glossary/observability): Observability is the ability to see what a live system is doing and why, through logs, traces and metrics, so that errors, slow responses, rising costs and poor AI outputs can be found and explained.
