TL;DR
When a team of LLM agents fails at a complex task, is it because they couldn't reason through the problem, or because someone dropped a message in the hallway? CypherMAS is a clever new benchmark that strips away open-ended reasoning to test pure multi-agent "plumbing"—routing messages and calling tools. Testing models from 4B to 753B parameters reveals that even when agents get the right answer, they often burn massive compute in redundant communication loops, and reliability tanks as the distance between agents grows.
What Problem Does This Paper Address?
Picture a bustling newsroom of AI agents collaborating to write code or solve math problems. Currently, we judge these Multi-Agent Systems (MAS) on a binary outcome: did the final answer work, or didn't it?
There are two blind spots with this approach. First, if the system fails, it is hard to untangle why—did an agent fail at logic, hallucinate a tool call, or simply forget to reply to a neighbor? Second, even if the system succeeds, it might be hiding terrible inefficiencies. Agents could be stuck in polite confirmation loops, misrouting data, or burning 3x the necessary API budget while exception handlers quietly sweep malformed tool calls under the rug. Because open-ended tasks don't have a mathematically "optimal" number of messages, we've had no way to measure communication bloat—until now.
Methods
To isolate mechanical execution from open-domain reasoning, the authors designed a game of distributed locked boxes.
Every agent in a fixed network graph is handed an encrypted string (a locked box) and a decryption table (a key)—Crucially, never the key to their own box. Every agent can see the whole map and knows who holds their key, and the authors use the Hungarian algorithm to place keys as far away from their owners as possible. Agents can only talk to direct neighbors via synchronous rounds and must use tools (send_message, decrypt_message, check_decryption) to pass their cipher along the shortest path to the key-holder, have it decrypted, and route the plaintext back home—all while doing favors for their peers concurrently.
Because the graph is known, the exact minimum number of LLM calls is computable in advance. Every single message above that baseline is pure, measurable routing redundancy. The authors test four topologies—Star and Bipartite (where everyone is at most 2 hops apart regardless of crowd size) versus Chain and Ring (where path length grows linearly with the number of agents)—across two regimes:
- Strict Mode: Agents pass rigid, typed JSON-like schemas (
forward,decrypt_request, etc.). - Free Text Mode: Agents write natural-language notes to each other, testing instruction-following and parsing.
Datasets
The paper introduces CypherMAS, a synthetic, procedurally generated benchmark scaling from $N = 3$ to $25$ agents across four graph topologies. Unlike existing collaborative benchmarks (such as MetaGPT or AutoGen evaluations on math and coding), CypherMAS requires zero domain knowledge, guarantees that single-agent shortcuts are impossible, and provides an exact theoretical lower bound on communication cost. No external training or evaluation datasets are used.
Key Insights and Ideas
- Graph diameter, not headcount, breaks multi-agent systems: Capable models handle 25 agents effortlessly when everyone is two hops apart (Star/Bipartite). Stretch those same 25 agents into a long Chain or Ring, and messages start vanishing in transit or looping endlessly.
- Strict schemas aren't a silver bullet: Intuitively, forcing LLMs to use strict, typed tool arguments instead of chatty text should reduce errors. Surprisingly, Free Text mode actually improved average success rates for 7 out of 11 models! Why? Weak models do better when they can pack the whole routing plan into one natural-language sentence, while some giant models inexplicably duplicate strict tool calls—whereas other models get bogged down in polite "just confirming!" round-trips in free text.
- Mechanical bottlenecks masquerade as stupidity: Models in the
gpt-ossfamily (even at 120B) scored near-zero across the board. They didn't fail to understand the map; rather, they couldn't emit parallelsend_messagecalls in a single turn. Whenever two requests arrived at once, they answered one and dropped the other, deadlocking the network. - Active parameters matter: Mixture-of-Experts model
Qwen3.6-35B-A3B(3B active parameters) degraded much faster with graph size than dense 27B–31B models, suggesting active capacity governs multi-hop state tracking.
Key Results
Evaluating 11 open-weight models (4B to 753B parameters) on 25-agent networks revealed sharp scaling thresholds:
- Small models (<27B) loop into oblivion:
Qwen3.5-4Band9Bscored below 0.10 Success Rate (SR) on most 25-agent topologies. Instead of failing gracefully,Qwen3.5-4Bhit the hard 2,048-call cap as early as 9 agents on Ring, with 83% of its Chain messages being duplicates. - Large models succeed, but pay a "redundancy tax": Above 27B, performance jumps (
Gemma4-31Bhits 1.00 SR on Star/Bipartite and >0.85 on Chain/Ring). Yet on a 25-agent Chain (theoretical minimum: 624 calls), the 753BGLM-5.2achieved 0.91 SR in Strict Mode while firing 1,248 calls—45% of which were duplicates. SwitchingGLM-5.2to Free Text slashed calls to 573 (0.96 SR), whereasDeepSeek-V4-Flashwent the opposite way, ballooning from 581 calls (Strict) to 1,139 (Free Text).
Limitations and Future Work
CypherMAS intentionally trades realism for diagnostic precision. It operates over noiseless, synchronous channels with deterministic tasks—meaning it doesn't capture asynchronous race conditions, network timeouts, or ambiguous real-world instructions. Experiments also stop at 25 agents, 3 runs per setup, and exclude proprietary frontier models due to high API call volumes. For future work, the authors plan to inject semantic noise and expand to larger, more diverse topologies and model families.
Summary updated