# Multi-Agent System

> A multi-agent system is several AI agents working on one task, often a lead agent delegating to parallel subagents, trading extra tokens for breadth.

A multi-agent system is a set of AI agents, each an LLM using tools in a loop, working together on one task. The common LLM-era shape is orchestrator-worker: a lead agent plans and delegates to subagents running in parallel. In Anthropic's June 2025 data, multi-agent systems used about 15x the tokens of chat interactions, so the task has to be worth it.

**A multi-agent system is a set of AI agents that work together on one task, each acting with its own context and tools, under some scheme that coordinates what they do.**

The idea predates language models. Stone and Veloso's 2000 survey describes multiagent systems as the part of AI that aims to provide "principles for construction of complex systems involving multiple agents and mechanisms for coordination of independent agents' behaviors." Anthropic's LLM-era definition is shorter: "multiple agents (LLMs autonomously using tools in a loop) working together."

The most cited LLM design is orchestrator-worker. In the research system Anthropic described in June 2025, "a lead agent coordinates the process while delegating to specialized subagents that operate in parallel." In that June 2025 post, a setup with Claude Opus 4 leading Claude Sonnet 4 subagents beat single-agent Opus 4 by 90.2% on Anthropic's internal research eval, and multi-agent systems used about 15x the tokens of chat interactions. Anthropic's explanation was blunt: they work mainly "because they help spend enough tokens to solve the problem." The same post warns that tasks with shared context or many dependencies fit poorly, and that most coding tasks are less parallelizable than research.

Frameworks expose the patterns directly. The OpenAI Agents SDK offers agents as tools, where a manager calls specialists, and handoffs, where a triage agent passes control to a specialist.

In Claude Code the building block is the [subagent](/glossary/subagent), and [agentic RAG](/glossary/agentic-rag) is one common multi-agent application. The four standard shapes (fan-out, pipeline, orchestrator-worker and critic) are covered in [Multi-Agent Orchestration](/guides/advanced/multi-agent-orchestration). For coding work, a written spec is one way to give parallel agents the same intent; GitHub Spec Kit's tasks step marks tasks for parallel execution where possible, as described under [spec-driven development](/glossary/spec-driven-development).

---

_Source: https://agentscamp.com/glossary/multi-agent-system — Term on AgentsCamp._
