Can AI Agents Agree?

Frédéric Berdoz, Leonardo Rugli, Roger WattenhoferarXiv 2026

TL;DR

As large language models (LLMs) are increasingly deployed in multi-agent teams, ensuring they can successfully coordinate is critical. This paper evaluates LLM agents using a classic distributed systems framework—Byzantine consensus—and reveals that reaching agreement is surprisingly fragile. Consensus frequently fails even in ideal, adversary-free settings, degrades rapidly as group sizes grow, and collapses entirely in the presence of just a few malicious agents.

What Problem Does This Paper Address?

When autonomous AI agents collaborate on complex tasks like planning, coding, or financial routing, they often need to come to a single, shared decision. In traditional computer science, Byzantine fault tolerance provides mathematical guarantees that a network of deterministic computers can reach a consensus even if some nodes malfunction or act maliciously.

However, LLMs are stochastic (probabilistic) and driven by natural language prompts rather than rigid algorithms. This paper addresses a fundamental gap: we do not yet know if robust consensus is an "emergent capability" of current LLM agent groups, or how vulnerable these groups are to strategic disruption.

Methods

The authors created A2A-Sim (All-to-All Simulator), a synchronous simulation environment to test agent coordination.

Figure 1: Byzantine consensus game with honest and byzantine LLM agents on a synchronous all- to-all network in one round of interaction. The highlighted agent i broadcasts a scalar proposal and justification, receives messages from peers, and emits a termination decision {vote, continue}. For clarity, only a subset of message arrows is shown.
  • The Game: A "no-stake" scalar consensus task. Honest agents are assigned a random initial number between 0 and 50. Over multiple rounds, agents broadcast a numerical proposal and a textual justification, read their peers' messages, and update their internal state.
  • Voting & Termination: At the end of each round, agents vote to either "continue" or "stop". The simulation terminates successfully if a $2/3$ supermajority votes to stop. If they don't agree by round 50, the system times out.
  • Validity Constraint: To achieve a valid consensus, all honest agents must agree on a value that was part of the initial pool of honest proposals.
  • Threat Model: The authors introduced a restricted "Byzantine" (malicious) agent model. These adversaries strategically try to prevent agreement or corrupt the final value, though they cannot lie about their identity or send different messages to different peers (no equivocation).
  • Models Evaluated: The framework was tested using the Qwen3-8B and Qwen3-14B model families.

Datasets

Not discussed in the paper. The study relies entirely on synthetic, simulation-generated initial values and agent interactions rather than static datasets.

Key Insights and Ideas

  • Paranoia is Costly: Simply warning an honest agent in its system prompt that "Byzantine agents might exist" severely harms performance. This threat-awareness makes agents overly cautious, causing them to stall convergence and trigger timeouts even when every agent in the network is completely honest.
  • Adversaries Kill Liveness, Not Truth: Malicious agents rarely succeed in tricking honest agents into accepting a corrupted or arbitrary value. Instead, they destroy "liveness"—they inject just enough conversational friction and disagreement to run out the clock, forcing a timeout.
  • Scale is the Enemy of LLM Consensus: Just like human committees, larger groups of LLM agents struggle to coordinate. As the network size increases, the rate of valid consensus drops significantly.

Key Results

  • High Failure Rates in Benign Settings: Even with zero adversaries, LLM agents only reached a valid consensus in 41.6% of all runs. Performance was highly dependent on model size: Qwen3-14B achieved valid consensus 67.4% of the time, while Qwen3-8B succeeded in just 15.8% of cases.
  • The Power of Clean Prompts: For Qwen3-14B in an adversary-free environment, removing the Byzantine warning from the prompt boosted valid consensus from 59.1% to 75.4% and cut the time required to reach agreement in half.
Figure 2: Consensus performance without Byzantine agents B = 0 for Qwen3-8B and Qwen3-14B across N ∈{4, 8, 16} and two prompt variants (with vs. without mentioning possible Byzantine agents). Error bars show 95% Wilson confidence intervals. Qwen3-14B reaches valid consensus more often, adversary-free prompts improve liveness, and larger groups slow and weaken consensus.
  • Adversarial Collapse: Introducing adversaries rapidly broke the system. In an 8-agent setup using Qwen3-14B, adding 1 or 2 Byzantine agents drastically reduced consensus. When 3 or 4 adversaries were introduced, the success rate dropped to exactly 0% due to total timeouts.
Figure 3: Effect of Byzantine agents on Qwen3-14B consensus with eight honest agents. Bars show the distribution of valid vs. invalid consensus outcomes over 25 runs per configuration; missing bars correspond to 0% consensus (all timeouts).

Limitations and Future Work

The authors note several limitations that pave the way for future research:

  • Simple Adversarial Tactics: The study only utilized a single, restricted Byzantine strategy where adversaries could not drop messages or lie about their identity.
  • Homogeneous Populations: The simulations only evaluated agents from a single model family (Qwen3) interacting with identical copies of themselves.
  • Scale Constraints: The maximum group size tested was relatively small ($N=16$).

Future work should investigate how heterogeneous agent populations (mixing different LLMs) behave, explore more sophisticated adversarial strategies, and test coordination at a much larger scale.

Summary updated

BibTeX
@misc{berdoz2026can,
  author = {Frédéric Berdoz and Leonardo Rugli and Roger Wattenhofer},
  title = {{Can AI Agents Agree?}},
  year = {2026},
  eprint = {2603.01213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.01213},
}
Figure