Multi-Agent Systems
Multi-Agent Systems (MAS) are computational frameworks in which multiple autonomous agents — each with its own perception, reasoning, and action capabilities — interact within a shared environment to achieve individual or collective goals. They matter in modern AI because many real-world tasks (robotic coordination, LLM-based pipelines, simulation, game-playing) are fundamentally too complex or too distributed for a single monolithic model to handle efficiently. A counterintuitive fact: emergent collective intelligence in MAS often arises from agents following extremely simple local rules, producing global behavior no individual agent was explicitly programmed to exhibit.
The key insight is that decomposing a hard problem across specialized, communicating agents often outperforms a single large agent attempting everything — not because any individual agent is smarter, but because parallelism, specialization, and error-checking between agents compound into dramatically better outcomes. Think of it as the difference between one overloaded generalist and a well-coordinated team: the team's coordination overhead is real, but so is its ability to catch each other's mistakes and work simultaneously on different sub-problems. In modern LLM-based systems, this means a "planner" agent can decompose a task, "executor" agents can run tools or retrieve documents in parallel, and a "critic" agent can verify results — none of which need to be the same model. The "aha moment" is realizing that the communication protocol and trust model between agents is just as important as the intelligence of any single agent.
How It Works
A multi-agent system can be formally characterized as a tuple:
Explanation: A MAS is fully described by its agents, environment, state space, per-agent perception functions, per-agent action sets, a joint transition function, and per-agent reward signals — analogous to a multi-player Markov game. Where:
- is the set of agents
- is the environment (may be physical, simulated, or a software execution context)
- is the global state space
- is agent 's observation/perception function producing local observation
- is the action space available to agent
- is the stochastic joint transition function
- is agent 's scalar reward function
The joint action drives the next state, making this a Markov Game (also called a stochastic game):
Explanation: Each agent samples its action from its own policy conditioned only on its local observation, and the joint action stochastically produces the next global state — agents cannot generally observe each other's internal reasoning. Each agent's objective in a cooperative setting is to maximize the expected discounted team return:
Explanation: All agents share responsibility for the average team reward, weighted by discount factor γ ∈ (0,1) that down-weights distant future rewards — this shared objective is what "cooperative MAS" means mathematically. In practice, LLM-based multi-agent systems use a message-passing graph rather than joint RL. Define agents as nodes and communication channels as directed edges. At each step, agent produces an output:
Explanation: Agent i's message at turn t is the LLM's output given its system prompt, all incoming messages from predecessor agents in the communication graph, and its current context (tool results, memory retrievals) — this is the LLM-agent analog of equation [2]. Where:
- are the (possibly shared) model weights for agent
- is agent 's system prompt encoding its role and constraints
- is the set of agents with edges pointing into
- is agent 's tool/memory context at time
- denotes prompt concatenation
The Nash Equilibrium condition — the central solution concept when agents are not fully cooperative — requires:
Explanation: At a Nash Equilibrium, no single agent can improve its own reward by unilaterally deviating from its policy, given that all other agents hold their policies fixed — this captures why self-interested agents may reach stable but globally suboptimal outcomes.
Wooldridge is a British computer scientist and professor at the University of Oxford whose 1995 doctoral work and subsequent textbook An Introduction to MultiAgent Systems became the canonical reference for the field's formal foundations. His specific contribution to MAS was formalizing the BDI (Belief-Desire-Intention) agent architecture — a logical framework for modeling rational agents with explicit mental states — which underpins much of modern agentic AI design. Surprisingly, Wooldridge was also a founding editor of the journal Autonomous Agents and Multi-Agent Systems and has written popular science books on AI aimed at general audiences, reflecting his unusual combination of rigorous formalism and public communication.
Shoham is a Stanford computer scientist who pioneered the application of game-theoretic reasoning to multi-agent systems, co-authoring the landmark textbook Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations with Kevin Leyton-Brown. His work established the bridge between classical economics (mechanism design, Nash equilibria) and AI agent coordination, directly influencing how modern RL-based MAS systems are designed. Less well known is his co-founding of Koios Inc. and his early advocacy for "agent-oriented programming" in the 1990s — a paradigm he argued would eventually supplant object-oriented programming as the dominant software abstraction.
Intuition
Imagine an emergency room on a busy night. There is a triage nurse (orchestrator) who sees each incoming patient and routes them to specialists: the cardiologist for chest pain, the radiologist who reads the X-ray independently, and the pharmacist who checks drug interactions before anything is prescribed. No single doctor knows everything with perfect reliability — but the system is far more reliable than any individual because errors at one station are caught by another. The triage nurse doesn't need to understand cardiology deeply; they need to know who to ask and how to verify the answer. Multi-agent AI systems work exactly this way: the orchestrating agent's most important skill is task decomposition and verification routing, not domain expertise. The "patient" is your complex input query; the "diagnosis" is the final answer; and the communication protocol between staff is your message-passing schema. Just as a hospital can fail catastrophically if the triage nurse routes a patient to the wrong ward based on bad initial information, a MAS fails when the orchestrator's decomposition is wrong and downstream agents execute flawlessly on the wrong sub-task.
Historical Development
Origins · 1 minhow this was discovered
Why It Matters
Prerequisites
What This Leads To
See Also
Reinforcement Learning · Large Language Models · Retrieval-Augmented Generation · AI Tool Use and Function Calling · Emergent Communication · Mixture of Experts · Agentic AI Pipelines