Robots Atlas>ROBOTS ATLAS
Architecture

MAS

1995productionpeer_reviewed
Key innovation
Decomposition of complex tasks into a set of autonomous agents with specialized roles that communicate and coordinate, enabling systems to exceed the reasoning limitations of single-model inference and complete long-horizon tasks that cannot be completed within a single LLM call.
Category
Architecture
Abstraction level
Paradigm
Operation level
SystemAgent runtime
Use cases
Autonomous software engineering โ€” multi-agent dev teams (architect, programmer, tester, code reviewer) delivering full projects from specifications (MetaGPT, ChatDev)Deep research and knowledge synthesis โ€” agents specialized in search, source verification, fact extraction, and report writing (OpenAI Deep Research, GPT Researcher)Social and economic simulations โ€” persona-based agents simulating behavior in virtual communities (Generative Agents, Smallville, AI Town)Multi-agent negotiation and debate โ€” competing agents reaching consensus or surfacing truth through argumentation (Society of Mind, Multi-Agent Debate)Multi-robot robotics โ€” coordination of multiple physical robots in warehouse, logistics, and exploration tasks (swarm robotics, fleet management)Customer support and business workflows โ€” orchestration of specialist agents (billing, tech support, sales) with dynamic query routingGame AI and NPC simulations โ€” multi-agent systems in strategy games and tactical simulationsAI-assisted scientific discovery โ€” experimenter agents generating hypotheses, planning in-silico experiments, and interpreting results

How it works

A MAS system defines a set of agents, a communication environment, and a coordination protocol. Each agent is an autonomous unit with: (1) a cognitive core (typically an LLM with a system prompt defining its role), (2) short-term memory (context) and optionally long-term memory (vector store), (3) a tool-use interface (APIs, code execution, web search, retrieval), (4) a goal or task instruction. Task execution unfolds in stages: (a) decomposition โ€” an orchestrator or planner agent breaks the query into subtasks, (b) routing โ€” subtasks are assigned to agents based on roles and capabilities, (c) communication โ€” agents exchange messages (natural language, structured function calls, shared memory), (d) iteration โ€” agents execute actions, observe results, correct the plan (often with a built-in critic agent), (e) aggregation โ€” synthesis of results into a final answer. Coordination topologies: sequential pipeline (chain), hierarchical (orchestrator-worker), parallel fan-out/fan-in, blackboard (shared workspace), debate (agents compete/discuss), publish-subscribe, and decentralized peer-to-peer.

Problem solved

A single LLM faces hard limits on long-horizon tasks, tasks requiring diverse domain expertise, multi-step planning, or parallel processing of multiple information sources. A monolithic prompt rapidly loses coherence, context degrades (context rot), and the lack of specialized roles prevents separation of concerns (e.g., planner vs executor vs critic). MAS addresses this by decomposing the problem into subtasks assigned to autonomous agents with dedicated roles, tools, and memory, coordinated by a communication topology. This allows system complexity to scale without enlarging a single model, enables parallel solution exploration, and supports peer-review / critique mechanisms between agents.

Key mechanisms

Task decomposition โ€” an orchestrator or planner agent breaks the query into a set of delegable subtasks
Specialized roles โ€” each agent receives a system prompt defining identity, scope of responsibility, and available tools
Inter-agent communication โ€” message exchange in natural language, structured function calls, or via shared memory (blackboard)
Coordination topology โ€” pattern choice: sequential, hierarchical (orchestrator-worker), parallel fan-out/fan-in, debate, publish-subscribe, peer-to-peer
Tool use โ€” agents call external APIs, execute code, search the web, use retrieval and vector databases
Agent memory โ€” short-term context window + long-term memory (vector store), with optional sharing across agents
Critique / peer-review mechanism โ€” a built-in critic agent verifies results of others (reflexion, self-critique, multi-agent debate)
Dynamic routing โ€” the orchestrator selects the next agent based on current state, task type, or prior step results
Plan iteration and correction โ€” agents can observe action outcomes and modify the plan on-the-fly (closed-loop control)

Strengths & limitations

Strengths
โœ“Complexity scaling without enlarging the model โ€” capability grows by adding agents instead of training a bigger LLM
โœ“Separation of concerns โ€” specialized roles (planner, executor, critic) outperform a monolithic prompt
โœ“Parallelism โ€” independent subtasks can execute concurrently, reducing latency
โœ“Modularity and swappability โ€” agents can be updated, replaced, or added without redesigning the whole system
โœ“Peer-review and self-correction โ€” multiple agents catch errors that a single model would miss (multi-agent debate, reflexion)
โœ“Extended effective horizon โ€” long-horizon tasks (hours of work) become tractable through sub-task decomposition
โœ“Natural fit for multi-actor problems โ€” social simulations, negotiation, multi-robot fleets are directly modelable
โœ“Rich framework ecosystem โ€” AutoGen, CAMEL, MetaGPT, CrewAI, LangGraph provide production-ready abstractions
Limitations
โœ—High token cost โ€” inter-agent communication multiplies LLM calls (often 5โ€“50ร— a single query)
โœ—Sequential latency โ€” agent chains introduce cumulative delay, up to 10ร— a single query
โœ—Error propagation โ€” one agent's mistake passed downstream can snowball into a completely wrong final answer
โœ—Lack of global coherence โ€” agents may locally optimize in ways that conflict with the system goal (inter-agent misalignment)
โœ—Debugging difficulty โ€” non-deterministic trajectories and multi-threaded communication make error diagnosis very expensive
โœ—Coordination overhead โ€” for simple tasks a single LLM call is cheaper and faster; MAS pays off only at complexity
โœ—Amplified hallucinations โ€” agents may mutually reinforce false beliefs (echo chamber effect)
โœ—No protocol standards โ€” different frameworks use incompatible message formats and role schemas
โœ—API rate limits โ€” concurrent LLM calls from one account may hit throttling and queueing

Components

AgentCore computational and decision-making unit of the system.

Autonomous computational entity with its own internal state, perception, reasoning, and action capabilities. In LLM-based MAS: a language model with a system prompt defining the agent's role, goal, and constraints.

Orchestrator AgentAgent responsible for task decomposition, assigning subtasks to worker agents, and aggregating results.
Specialized Agent (Worker Agent)Agent with a narrow specialization (e.g., search, coding, analysis), executing specific subtasks assigned by the orchestrator.
Human-in-the-Loop AgentA human participating as an agent in the system, verifying or correcting AI agent actions at critical decision points.

Official

Communication ChannelEnables coordination and state transfer between agents.

Mechanism for information exchange between agents. Can take the form of direct message passing, shared memory, publish-subscribe systems, or event queues.

Message PassingAgents exchange structured messages directly or through a message broker.
Shared Memory (Blackboard)Agents read from and write to a shared knowledge base or state object (e.g., vector database, graph state object).

Official

Orchestrator / CoordinatorManaging global task progress and coordinating between agents.

Component responsible for workflow management: task decomposition, routing to agents, dependency management, error handling, and aggregating final results. Can be an LLM agent or a programmatic controller.

Official

Memory SubsystemPersists state across agent calls and system sessions.

State storage mechanisms: short-term memory (conversation context / LLM context window), long-term memory (vector database, external database), episodic memory (interaction history), and procedural memory (learned procedures).

Official

Tool InterfaceExtends agent capabilities beyond language processing to actions in the external world.

Layer integrating agents with external systems: APIs, search engines, code interpreters, databases, file services. Enables agents to act beyond their textual context.

Official

Implementation

Implementation pitfalls
Error Cascading Between AgentsHigh

Incorrect output from one agent is passed as input to the next, leading to error accumulation across the pipeline. Without a validator agent, this can result in completely incorrect final outputs.

Fix:Deploy critic/validator agents after key steps; use multiple independent execution paths with voting or result aggregation.
Excessive Token Costs (Token Cost Explosion)High

Each inter-agent communication consumes tokens (passing conversation history, context, tools). With many agents and long communication chains, costs can grow disproportionately fast.

Fix:Use context compression; limit the history passed between agents to the necessary minimum; use lighter models for simpler subtasks.
Infinite Loops and Non-ConvergenceCritical

Agents can enter loops โ€” e.g., one agent requests revision from another, which requests clarification back โ€” without a termination mechanism. Absence of stopping criteria causes infinite loops.

Fix:Define explicit termination criteria (maximum number of iterations, a 'TERMINATE' condition, timeout); use a supervising monitor agent.
State Inconsistency Between AgentsHigh

During parallel execution, agents may operate on inconsistent versions of shared state, leading to conflicts and race conditions, especially when shared memory is non-transactional.

Fix:Use transactional updates for shared state; design agents to be idempotent; minimize write-write contention by assigning distinct state partitions to separate agents.
Role Confusion and Overlapping Responsibilities Between AgentsMedium

Agents with poorly defined roles may duplicate work, conflict in decision-making, or skip tasks because each assumes another agent will handle it.

Fix:Precisely define each agent's scope of responsibility in the system prompt; apply formal handoff protocols and task-receipt acknowledgments.

Evolution

Original paper ยท 1995
Intelligent Agents: Theory and Practice
,
1995
Wooldridge and Jennings formalize the notion of intelligent agents and MAS
Inflection point

Wooldridge and Jennings publish 'Intelligent Agents: Theory and Practice' (Knowledge Engineering Review), defining agent properties (autonomy, reactivity, pro-activeness, social ability) and foundations of MAS theory.

1999
Gerhard Weiss edits 'Multiagent Systems: A Modern Approach to Distributed Artificial Intelligence' (MIT Press)

Textbook standardizing MAS terminology and architecture, becoming the primary academic reference for the following decade.

2023
LLM-MAS framework explosion: CAMEL, AutoGen, MetaGPT
Inflection point

2023 sees the first wave of LLM-based MAS frameworks: CAMEL (Li et al., March 2023), AutoGen (Wu et al., Microsoft, August 2023), MetaGPT (Hong et al., August 2023), transforming MAS from rule-based to language-model-based systems.

2024
Standardization of communication protocols (MCP, A2A) and orchestration frameworks (LangGraph, CrewAI)

Anthropic announces Model Context Protocol (MCP), Google announces Agent-to-Agent Protocol (A2A). More mature frameworks emerge: LangGraph (LangChain), CrewAI, supporting complex agent topologies with state persistence and controlled flow.

Hyperparameters (configurable axes)

Number of AgentsHigh

Number of agents in the system. Higher agent count can increase parallelism and specialization but complicates coordination and increases cost.

2Minimal system: one orchestrator + one worker.
5โ€“10Typical range for complex tasks involving several specializations.
> 20Large-scale systems; requires advanced orchestration and flow control.
Coordination TopologyCritical

Communication and dependency pattern between agents: sequential chain, hierarchy (orchestrator-worker), peer-to-peer mesh, publish-subscribe, parallel fan-out/fan-in, or hybrid DAG.

sequentialAgent A โ†’ Agent B โ†’ Agent C; simple, deterministic.
hierarchicalThe orchestrator manages a group of worker agents.
parallelMultiple agents operate concurrently on independent subtasks.
Memory ArchitectureHigh

Type and scope of memory allocated to each agent and the system as a whole: context-only (within LLM context window), external long-term (vector database), shared across agents, or private per agent.

Human InvolvementHigh

Mode and entry points for human participation: none (full autonomy), approval at every step, approval at key decisions, or intervention only on errors.

fully autonomousNo human intervention.
human-in-the-loop on decisionsHuman approves high-risk decisions.
human-in-the-loop on errorsHuman intervenes only when errors are detected.
Agent specialization degreeMedium

Degree to which individual agents have specialized roles (e.g., search agent, coding agent, verification agent) versus general-purpose agents.

Computational complexity

Computational characteristics
โ†’LLM call count grows linearly with number of agents ร— number of communication rounds (typically 5โ€“50ร— vs single call)
โ†’Token cost: every inter-agent message carries growing context โ€” conversation history can exceed the actual payload
โ†’Sequential latency: in N-step pipelines, total time โ‰ˆ N ร— average single-LLM-call latency
โ†’Parallelism: parallel fan-out reduces latency to max(per-agent latency) but does not lower token cost
โ†’Scalability: hierarchical topologies scale better than peer-to-peer (O(N) vs O(Nยฒ) communication)
โ†’Memory: shared memory / vector store adds embedding cost and query latency but reduces token bloat in messages
โ†’Caching: prefix caching and tool-call caching can reduce cost by 30โ€“70% in workflows with recurring roles
Benchmark notes

MAS has no single canonical benchmark โ€” it is evaluated in the context of a specific application. Most-cited results: (1) MetaGPT on HumanEval and MBPP reaches 85.9% pass@1 (vs ~70% single-agent GPT-4 baseline from 2023). (2) AutoGen shows 15โ€“30% improvement over single-agent on math (MATH) and coding tasks via a critic agent. (3) Multi-Agent Debate (Du et al., 2023) improves accuracy on MMLU and GSM8K by 5โ€“20 pp over a single model at ~3ร— token cost. (4) Generative Agents (Park et al., 2023) โ€” qualitatively evaluated by human raters in the Smallville environment; no numeric metrics. (5) ChatDev โ€” complete software projects delivered in minutes for a few dollars. Important caveats: MAS rarely beats the strongest single-model baseline (e.g., GPT-5) on simple single-shot queries; the advantage shows up on long-horizon and specialization-heavy tasks.

Execution paradigm

Primary mode
Conditional

Not all agents are active for every task โ€” the set of active agents depends on the nature of the task and the orchestrator's dynamic routing.

Activation pattern
Input dependent
Additional modes
Sparse
Routing mechanism

Orchestrator or routing mechanism decides which agent should handle a given subtask, based on agent role, capabilities, current system state, or results from previous agents.

Parallelism

Parallelism level
Conditionally parallel

MAS systems can be fully parallel (agents operating asynchronously on independent subtasks), partially sequential (with synchronization barriers), or hybrid, depending on the task topology and its dependency graph.

Scope
InferenceAcross devices
Constraints
!Parallel execution is only possible for agents whose subtasks are independent (no data dependencies). Tasks with linear dependency chains must execute sequentially.
!Concurrent operation of multiple agents using the same LLM API may encounter rate limits.

Hardware requirements

Primary

MAS is an architectural pattern operating above the hardware layer. Individual agents may run on GPUs (LLM inference), CPUs (orchestration logic), or in the cloud, depending on the implementation.