Paper explainer · arXiv 2602.03128 v2 · Sept 2026

Architectural Design, Not Only Model Intelligence, Governs Multi-Agent LLM Performance

The paper keeps the LLM fixed, changes one part of the framework at a time, and shows that the framework design alone can change speed by 60× and accuracy by tens of points.

Each figure has two copy buttons for Obsidian or any Markdown note that accepts HTML. Copy HTML copies a static snapshot of the figure as it looks now. Copy DataviewJS copies a dataviewjs code block that runs the figure with all its controls in Obsidian (needs the Dataview plugin with JavaScript queries on).
Orogat, Rostam, Mansour · Concordia University · benchmark: MAFBench (github.com/CoDS-GCS/MAFBench)
Key idea

A multi-agent LLM framework is the software layer around the model. It decides who runs next, what each agent remembers, how plans enter the prompt, and who talks to whom. The authors fix the model and the task, then change only one of these design choices. The result: architecture controls latency, recall, accuracy and coordination as much as the model does, and often more.

The controlled experiment

Select a dimension. Best and worst values come from Table 1 of the paper (same task, same LLM, only the design changes).

The paper treats a framework like a database engine. A database with the same data can be fast or slow because of its query planner, storage engine and coordination protocol. In the same way, an agent system with the same LLM can succeed or fail because of its framework [1, §1].

Earlier benchmarks measure the model or a single agent. They keep the framework fixed. Thus, they cannot show which framework choice causes a difference. MAFBench reverses this. It keeps the model fixed and changes the framework [1, §7].

Three paradigms: who controls the flow?

The taxonomy sorts general-purpose frameworks on one axis: which entity holds control-flow authority. Exactly one entity holds it, so the classes do not overlap [1, §2.1]. The running example is a trip plan: Boston to New York, four days, $500, with four roles (Planner, Flight, Hotel, Budget), a web search tool and a calculator.

Paradigm
Calls and tokens: Table 4 of the paper, trip-planning task, gpt-4o-mini, one instrumented client. The GABM numbers are for the authors' minimal skeleton, not Concordia.

A fourth group, task-specific frameworks, is outside this axis. Claude Code, Cursor, Cline and OpenHands ship a fixed loop for one task family (software development). OpenClaw ships a fixed personal-assistant loop. The developer can add tools and sub-agents, but cannot change orchestration, communication or storage. Thus, the study does not vary them, except OpenHands as an overhead reference [1, Def. 2.3].

Choice of paradigm fixes some dimensions. For example, in a graph framework the execution graph is also the communication structure. Thus, each experiment varies a dimension only where the paradigm leaves it open: topology in graph frameworks, memory in graph and role frameworks, the planning interface in CrewAI [1, §2.2.4].

What MAFBench is

MAFBench is an evaluation suite. It wraps different frameworks behind one interface and runs existing benchmarks through them. It does not change the frameworks. It standardizes everything around them [1, §3]:

  • One execution pipeline. All frameworks get identical prompts and stop criteria.
  • LLM-based semantic scoring. A judge model compares answers. This replaces brittle string matching.
  • Configuration parity. Model, context limits, batching and concurrency are set in one place. Temperature is at or near 0 where the framework exposes it.
  • Backend routing. API calls can go to a cheaper provider (for example Groq) without a change to framework code.
DimensionBenchmarkMetricsRQ
orchOrchestration overhead"What is 2+2?" × 50 trialslatency, throughput, output sizeRQ5
memMemory architectureMemoryAgentBench [2]accuracy, F1, Recall@5RQ1
planPlanning interfaceGSM8K, CSQA, MATH [5–7]accuracy, failure rate, runtimeRQ2
specSpecializationCatDB ML tasks [4]precision, recall, F1, MAERQ3
topoCommunication topologyAgentsNet [3]success, rounds, tokens, runtimeRQ4
Table 8 of the paper. Tool use (StableToolBench) is integrated but not scored. The reason: current frameworks give tool selection fully to the LLM, so a score would rank the model, not the framework [1, §3.4].

RQ5Orchestration overhead

To measure pure framework cost, the authors send a trivial query ("What is 2+2?") 50 times through each framework, with gpt-4o-mini. The model work is the same everywhere. Thus, any extra time comes from the framework. Residual is the total latency minus the time inside the LLM call [1, §4.1.1].

Scale
Median (p50) latency per framework, split into LLM time and residual. Data: Table 9 of the paper. † OpenHands is a task-specific reference outside the taxonomy. Hover a bar for calls and input tokens.

Six graph and role frameworks add a thin layer: residual stays under 21 ms and under 2.2% of latency. Agno is the exception, with 365 ms (39.3%). Concordia takes 30.6 s at the median, about 62× the direct call. Its throughput falls to 0.12 requests per second, and its output reaches about 100,000 characters [1, §4.1.1].

Is this cost part of the GABM paradigm? The authors built a minimal GABM skeleton to find out. The skeleton uses the same environment-mediated structure. Its residual is 13.7 ms. Thus, environment mediation costs milliseconds. Concordia's cost comes from its game master, which sends each action through the LLM, plus persistent loops and state serialization. The cost belongs to the implementation, not the paradigm.

RQ1Memory architecture

Frameworks give agents memory in three ways [1, §4.1.2]:

  • Retrieval-centric (CrewAI, LangGraph vector DB only). The agent stores text in a semantic store and fetches only the relevant parts.
  • Accumulation-based (Agno, OpenAI Agents SDK). The agent replays recent history in the prompt, up to a context window W.
  • Hybrid (LangGraph with window W). The agent retrieves from the store and also keeps a bounded recent history.

The test is MemoryAgentBench with four competencies. All runs use gpt-oss-20b on Groq, with identical chunking and ingestion order.

Competency
  • Accurate Retrieval (AR). Hybrid wins (44.9 at W=512). Pure accumulation stays near 32–34 even at W=8192. A larger window does not replace retrieval.
  • Long-Range Understanding (LRU). Retrieval-only LangGraph wins (30.4). Accumulation gets close only at W=8192 (27.5), at a higher cost. Hybrid is worse here: the recent history interferes with the retrieved narrative.
  • Test-Time Learning (TTL). The trend reverses. Accumulation improves as W grows (1.2 → 20.7). Hybrid is best (28.9 at W=1024), because retrieval filters the history.
  • Selective Forgetting (SF). Nothing works well. Multi-hop forgetting stays under 5 for every architecture. All framework-native memory is append-only. No evaluated framework can revise or remove a fact.

A stronger model does not change the ranking. With Claude-Haiku-4.5, retrieval-only LangGraph gets AR 33.7. This is still below the hybrid design with the weaker model (44.9). Thus, the architecture is the bottleneck for AR. LRU rises from 30.4 to 46.8, so there model and architecture both contribute [1, Table 10].

Runtime follows the same logic. Under accumulation, each query replays the full history, so runtime grows steeply with W on tasks with many queries (AR, TTL). Retrieval does not repeat this work [1, Fig. 4].

RQ2Planning interface

Planning has two layers. The planning logic is the reasoning that makes the steps. It lives in the LLM. The planning interface is the framework mechanism. It decides if a plan is requested, what format the plan must have, and where the plan goes in the context [1, §2.2.1]. The experiment keeps the logic fixed (same model makes every plan) and compares three interfaces:

  1. NoPlan. The task goes directly to the LLM.
  2. Crew-Plan. CrewAI asks the LLM for a plan in a strict schema, parses it, and appends it to the task.
  3. Direct-LLM-Plan. The same LLM writes a free-form plan, which is put in the context before the answer.
Benchmark
Model
Accuracy (%) from Table 11; schema-violation rate from Table 12. Frontier models are shown for CSQA and MATH-100 only. For their GSM8K values, see Table 11 in the paper.

For weaker models, the strict schema is the problem. The model often reasons correctly but breaks the required format, so the framework cannot parse the plan. Qwen-7B violates the schema on 84.7% of GSM8K questions, and its accuracy falls from 13.0% to 3.4%. The free-form interface has 0.0% format failures for every model [1, Tables 11–12].

For frontier models (GPT-5.6-Luna, GPT-5.6-Terra, Claude-Opus-5), format failures are zero. But a plan also does not help them: accuracy stays almost flat. The cost stays. The extra call and the plan text make runs slower:

7.4×Crew-Plan runtime, GPT-OSS-20B, GSM8K
18.5×Crew-Plan runtime, GPT-OSS-20B, CSQA
31.3×Crew-Plan runtime, Llama-3.1-8B, CSQA
0.8–6.6×Direct-LLM-Plan runtime, all models
9.2–15.0×Crew-Plan runtime, Claude-Opus-5 (longest plans)
Runtime relative to NoPlan, Table 13 and §4.1.3. A 5-run repeat on MATH-100 for four models changed accuracy by at most 4.1 points [1, §4.3].

RQ3Specialization

Many frameworks give an agent a role, like "Data Scientist". The question: does the role label make the model reason like an expert? The test uses five ML datasets from CatDB. GPT-4o-mini writes a data pipeline, and the authors score the executed pipeline, not the code text [1, §3.3, §4.1.4]. Four conditioning strategies:

  1. Role label (identity): "You are a Data Scientist / Researcher / Data Analyst / Engineer".
  2. Role label + self-generated plan (identity).
  3. Expert-guided procedure (capability): methodological steps of a data-science workflow.
  4. Dataset-profile tool (capability): a tool that returns feature types, cardinality and missing values, with no workflow.
F1 (%) per classification dataset. Each mark spans the minimum to maximum over the five role labels (No Role plus four professions). Data: Table 14. The regression dataset (Utility) has MAE ≈ 0.067 under all strategies, so it is not drawn.

Role labels change nothing: every profession gives the same score as No Role. Expert procedure gives large gains where the obstacle is method (Yelp: about 42 → 96–100; Volkert: about 65 → 95). The profile tool helps only where the obstacle is knowledge of the data (WiFi: 37.3 → up to 78.6). On EU-IT it hurts (down to 18.7), because it pushes the model toward features it cannot use. A role helps only when it supplies a procedure.

RQ4Communication topology

Here, agents can send messages only to their direct neighbors in a graph. The graph is the topology. The test is AgentsNet, with tasks such as Coloring (local conflicts), LeaderElection and Consensus (global agreement). A rewriting engine in MAFBench builds each structure from the same base graphs, so the result does not depend on one vendor framework [1, §3.5, §4.2].

First, see why structure matters. In one round, each agent can tell only its neighbors. The step-through below shows how a fact spreads from one agent. This is an illustration with 16 agents, not paper data.

Topology
Filled node = agent that has the fact. The minimum rounds to reach all agents equals the graph's eccentricity from the start node. AgentsNet gives each run 2D+1 rounds, where D is the graph diameter.

Now the paper's result. Fully connected ("All") stands in for GABM centralization, where everything goes through one hub.

Task

Local tasks tolerate sparse structure: Coloring succeeds on every graph family. Global tasks do not. For Consensus, only the fully connected structure succeeds at every size, and it converges in 3 rounds for any n. Sparse graphs break into clusters that do not merge in time, even with more rounds and tokens [1, §4.2.1]. In this run, fully connected also used the fewest tokens at n=100 (2.6 M against 5.7–18.3 M), because it finished in 3 rounds. The authors still note that full connectivity has a quadratic message cost in general.

Six design principles

Each principle states where it applies and where it does not [1, §5].

  1. 1Measure orchestration overhead. It is the main scalability limit.

    Judge a framework by its execution structure, not by its paradigm. Two GABM implementations differed by three orders of magnitude. Deep orchestration can be correct for multi-round tasks such as social simulation.

  2. 2Select memory from task needs, not from context size.

    Use retrieval-first memory for knowledge tasks (multi-hop QA). Use bounded accumulation for session tasks (tutoring). For fact correction, you must add revise and remove operations yourself.

  3. 3Keep planning interfaces permissive, and planning optional.

    Do not ask for a plan when the task fits the model's context and the model plans internally. Use a strict format only when a downstream component must parse it.

  4. 4Make specialization procedural. Role labels are secondary.

    Give tools when the agent lacks information. Give procedure when it lacks method. The two do not replace each other. Labels can still help routing. Tested with GPT-4o-mini only.

  5. 5Design the communication topology. More interaction cannot fix a bad one.

    Sparse graphs (scale-free) suit local tasks. Global agreement (leader election, consensus) needs full or near-full connectivity.

  6. 6Engineer system interfaces before prompts.

    Select orchestration depth, memory access mode, planning format and topology first. Then tune prompts or select models.

Limits and edge cases

  • Mostly one run per configuration. Only the planning study was repeated (5 runs, 4 models). The variance there was small (≤ 4.1 accuracy points, ≤ 3.3 points of schema violation). Other dimensions rely on averages over many questions and graphs [1, §4.3].
  • One model per dimension, mostly. Memory uses gpt-oss-20b plus one Claude-Haiku-4.5 check. Specialization uses only GPT-4o-mini. Planning is the only study across ten models.
  • Some results are framework-level, not paradigm-level. The hybrid memory result rests on LangGraph alone. The planning-interface result rests on CrewAI alone. Concordia is the only production GABM framework.
  • Topology results use direct message passing. A shared environment can show global state to every agent even in a sparse star. The authors list this case as future work.
  • Not tested: tool-use quality, task-specific frameworks (Claude Code, Cursor and others), and plugin memory layers such as Mem0, Letta or Zep. Complex tasks such as software engineering are future work for the planning study.
  • Not a full factorial design. Some framework–dimension pairs are absent because a change there would change the paradigm itself [1, §2.2.4].

Future directions in the paper: memory with transactional semantics (versioned facts, write-ahead logs, revise/remove/invalidate), automatic "compilation" of a multi-agent architecture from a task specification, and security benchmarks for prompt-injection spread and memory poisoning [1, §6].

Glossary
Multi-agent LLM framework
Software that runs several LLM agents and controls their orchestration, memory, planning and communication.
Orchestration (O)
The control-flow logic that decides which agent or step runs next.
Control-flow authority
The entity that decides the order of steps: the developer (graph), the agents (role) or the environment (GABM).
Graph-based framework
A framework where the developer defines a directed graph of agents and steps (for example LangGraph).
Role-based framework
A framework where agents get text roles and delegate tasks at runtime (for example CrewAI, AutoGen, Agno, OpenAI Agents SDK).
GABM
Generative Agent-Based Modeling. Agents act in a shared environment, and a transition function updates the world state.
Game master
In Concordia, the component that uses the LLM to interpret each agent action and resolve its effect.
GABM skeleton
The authors' minimal GABM implementation. It applies actions in code, without LLM calls, to measure the paradigm cost.
Task-specific framework
A product with a fixed loop for one task family, for example a coding assistant.
Residual
Total latency minus time inside the LLM call. It measures framework overhead.
p50 / p95
The median and the 95th-percentile latency over the trials.
Throughput
Completed requests per second.
Retrieval-centric memory
Memory that stores text in a semantic (vector) store and fetches only relevant parts per query.
Accumulation-based memory
Memory that replays recent history in the prompt, up to a window W.
Hybrid memory
Retrieval plus a bounded recent history.
Context window W
The number of tokens of history that the framework keeps in the prompt.
AR / TTL / LRU / SF
Accurate Retrieval, Test-Time Learning, Long-Range Understanding, Selective Forgetting: the four MemoryAgentBench competencies.
Selective forgetting
The ability to revise or remove a stored fact when a newer fact replaces it.
Planning logic
The reasoning that produces plan steps. It is inside the LLM.
Planning interface
The framework mechanism that requests a plan, sets its format and puts it in the context.
Schema-constrained plan
A plan that must match a strict structured format so that the framework can parse it.
Formatting failure
A model output that breaks the required schema, so the framework cannot parse it.
Specialization conditioning
The method used to make an agent act as a domain expert: a label, a plan, a procedure or a tool.
Topology
The graph of which agents can send messages to which other agents.
Diameter D
The longest shortest-path distance between any two agents in the graph.
Small-world graph
A graph with high local clustering and a few long-range links.
Scale-free graph
A graph where a few hub nodes have many links and most nodes have few.
Delaunay graph
A planar mesh built from a triangulation of points. It has many local links and long paths.
Consensus / LeaderElection
AgentsNet tasks where all agents must agree on one value or one leader. They need global information flow.

Sources

  1. A. Orogat, A. Rostam, E. Mansour. Architectural Design, Not Only Model Intelligence, Governs Multi-Agent LLM Performance. arXiv:2602.03128v2, Sept 2026. arxiv.org/abs/2602.03128 · code: github.com/CoDS-GCS/MAFBench. All numbers on this page come from this paper.
  2. Y. Hu, Y. Wang, J. McAuley. Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions (MemoryAgentBench). ICML LCFM Workshop, 2025. openreview.net/forum?id=ZgQ0t3zYTQ
  3. F. Grötschla et al. AgentsNet: Coordination and Collaborative Reasoning in Multi-Agent LLMs. arXiv:2507.08616, 2025. arxiv.org/abs/2507.08616
  4. S. Fathollahzadeh, E. Mansour, M. Boehm. CatDB: Data-Catalog-Guided, LLM-Based Generation of Data-Centric ML Pipelines. PVLDB 18(8), 2025. vldb.org
  5. K. Cobbe et al. Training Verifiers to Solve Math Word Problems (GSM8K). arXiv:2110.14168, 2021. arxiv.org/abs/2110.14168
  6. A. Talmor et al. CommonsenseQA. NAACL-HLT 2019. aclanthology.org/N19-1421
  7. D. Hendrycks et al. Measuring Mathematical Problem Solving with the MATH Dataset. NeurIPS Datasets and Benchmarks, 2021. openreview.net/forum?id=7Bywt2mQsCe
  8. A. S. Vezhnevets et al. Generative Agent-Based Modeling with Actions Grounded in Physical, Social, or Digital Space Using Concordia. arXiv:2312.03664, 2023. arxiv.org/abs/2312.03664

Citation marks such as [1, §4.1.2] point to a section, table or figure of source 1. The topology step-through is an illustration made for this page and is not paper data.