Consensus Within, Competition Between: Decentralized LLM Teams for Perimeter Defense

Khawaja Abaid Ullah, Ananya Acharya, Mohammad Javad Khojasteh
10/29/2026
cs.AIcs.LGcs.RO

Official code: the-kas-lab/consensus-within-competition-between (0 stars, Python, MIT, last commit 2026-10-29).

Abstract

The use of large language models (LLMs) to coordinate multi-agent teams raises a fundamental architectural question: whether task allocation should be centralized in a single LLM controller or distributed across autonomous LLM agents, particularly when communication is unreliable. In a deliberately simplified perimeter-defense simulation against LLM-controlled intruders, we compared a central commander, an auction-based consensus team and independent agents under five network conditions.

Show full abstract

Breach rates were 15% for the consensus team, 32% for the commander and 29% for independent agents, and of the different network conditions, only limited radio range changed a team's breach rate, raising the commander's. In consensus team, giving a low-cost LLM more authority over the bid computation raised breaches by 38 percentage points. With birds and civilian drones in airspace, we added a photograph for each to the input text state. Only the near-frontier model treated them apart from intruders. Intruders disguised as existing taxidermy bird drones were mistook as birds by both low-cost and near-frontier LLMs, going unpursued in 59-61% of near-frontier decisions (1-16% before). However, a one-sentence forewarning in the prompt lowered it to 0-25%. We find that LLM team with a dedicated external conflict resolution protocol results in fewest breaches. Code: https://github.com/the-kas-lab/consensus-within-competition-between.

View on arXivView PDF

Code Implementations(1)

MIT
00Python, JavaScriptOct 29, 20261 months agoMIT

Similar Papers

Cite this paper

@article{ullah2026consensus,
  title  = {Consensus Within, Competition Between: Decentralized LLM Teams for Perimeter Defense},
  author = {Khawaja Abaid Ullah and Ananya Acharya and Mohammad Javad Khojasteh},
  year   = {2026},
  eprint = {2610.41044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.41044v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.41044.svg)](https://codeofpaper.com/paper/2610.41044)

Discussion