# Multi-agent system

> Canonical: https://skillalmanac.com/glossary/multi-agent-system | Last verified: 2026-11-25 | Index status: index-eligible

A multi-agent system contains multiple interacting agents whose actions affect one another. They may cooperate or compete, and need not use language models. Cooperative LLM workers are one application.

Also called: multi-agent systems, multi agent system, multi agent AI, multi-agent AI, multi-agent LLM.

## In plain language

A multi-agent system has multiple interacting agents. They may cooperate, compete or combine both. A cooperative LLM application can look like a team of helpers. Picture a small office: one person splits a big job into parts, and others each take a part and report back. In software, the first helper is often called the orchestrator and the others workers. A coding example is one agent that plans a change and several that each edit a different file. The idea is that each helper has a narrower job and its own working notes. The limits are real: the helpers can repeat each other's mistakes, they need clear instructions to work together, and extra agents can add coordination and compute costs, while parallel work can reduce elapsed time. Anthropic advises using the simplest design that works and adding agents only when results measurably improve.

## Technical definition

In the research literature a multi-agent system is a computational system made of multiple interacting agents, with properties such as autonomy, local views and decentralisation. In LLM applications one common arrangement is orchestrator-workers: a central model breaks a task into subtasks at run time, delegates them to worker models and combines their results. In an LLM worker design, agents may have separate prompts, tools and contexts, but context sharing varies: Claude Code forks inherit the parent history, while non-fork workers start fresh. Messages, files or shared state can carry information among agents, and errors can compound. Coordination logic is plain code or a framework.

## How it shows up when you use agents

In a coding session a multi-agent system appears when your main agent starts [subagents](/glossary/subagent): helpers that each get a task, work in their own context and send back a result. You may also see it in tools that run several agents side by side on different branches. In this LLM example, helpers have their own running contexts. Non-fork Claude Code workers start fresh, while forks inherit parent history; other systems can use shared state. Check the harness before deciding what context a brief must repeat.

What breaks when this is misunderstood: people assume that more agents means a better result. Anthropic's guidance on building agents says to use the simplest solution that works and to add complexity only when it measurably improves outcomes, because agentic systems trade speed and cost for performance and can compound errors. IBM lists shared weaknesses as a risk: agents built on the same model can fail in the same way. Two agents editing the same file is a separate, practical failure. The skill [git-worktree-and-pr-flow](/skills/skill-almanac/git-worktree-and-pr-flow) is one way to keep their work apart.

Next action: before splitting a task, write the brief a stranger could follow, and try the task with a single agent first. If the single agent fails in a way that a clear split would fix, then add a worker. The [agent harness](/glossary/agent-harness) you use decides how helpers are started and how their output returns.

## Common confusions

- **Multi-agent system versus one agent with many tools.** One agent calling many tools still has a single loop and a single conversation. A multi-agent system has several loops.
- **Multi-agent system versus a workflow.** Anthropic distinguishes workflows, where code sets the path, from agents, which direct their own process. A system can mix both, with fixed code deciding which agent runs next.
- **Subagent versus multi-agent system.** A subagent is one helper. The multi-agent system is the whole arrangement of helpers and coordinator.
- **Myth.** Agents in a team automatically share what they know. They share only what is passed to them in messages, files or a shared store.

## Worked examples in this catalogue

### [subagent-driven-development](https://skillalmanac.com/skills/obra/subagent-driven-development)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A plan carried out by handing independent tasks to separate subagents, according to the skill's own description.

Why it exercises the concept: It is a working case of delegation from one coordinating agent to several workers, the orchestrator-workers arrangement described above.

### [subagent-design](https://skillalmanac.com/skills/skill-almanac/subagent-design)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Guidance on deciding what to delegate, then writing subagent definitions and briefs that work without the original conversation.

Why it exercises the concept: Separate-context workers need a self-contained brief; context-sharing and forked workers can inherit history. This skill helps define the task and the information a worker needs.

### [git-worktree-and-pr-flow](https://skillalmanac.com/skills/skill-almanac/git-worktree-and-pr-flow)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Parallel agent tasks run in isolated git worktrees, with clean branches, small pull requests and a safe merge flow, per the skill's description.

Why it exercises the concept: When several coding agents work at the same time they can overwrite each other's files. Separate worktrees (isolated copies of a repository) keep their changes apart until they are merged.

## Related terms

- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Agentic AI](https://skillalmanac.com/glossary/agentic-ai.md)
- [Subagent](https://skillalmanac.com/glossary/subagent.md)
- [AI agent framework](https://skillalmanac.com/glossary/ai-agent-framework.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [Context window](https://skillalmanac.com/glossary/context-window.md)
- [CrewAI](https://skillalmanac.com/glossary/crewai.md)

## Sources

- [Building effective agents](https://www.anthropic.com/engineering/building-effective-agents), Anthropic (accessed 2026-11-23)
- [What is a multiagent system?](https://www.ibm.com/think/topics/multiagent-system), IBM (accessed 2026-11-23)
- [Multi-agent system](https://en.wikipedia.org/wiki/Multi-agent_system), Wikipedia (accessed 2026-11-23)
- [Multiagent Framework (Artificial Intelligence, third edition)](https://artint.info/3e/html/ArtInt3e.Ch14.S1.html), Poole and Mackworth (accessed 2026-11-25)
- [Create custom subagents](https://code.claude.com/docs/en/sub-agents), Anthropic (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
