Manuscript Offprint

arXiv:2610.01569

Managing Context and Communication in Distributed Agentic UAV Swarms

Andrea Iannoli, Ivan Zyrianoff, Angelo Trotta, Lorenzo Gigli, Marco Di Felice

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A PREPRINT

Andrea Iannoli

Department of Computer Science and Engineering

University of Bologna

Bologna, Italy

andrea.iannoli@unibo.it

Angelo Trotta

Department of Computer Science and Engineering

University of Bologna

Bologna, Italy

a.trotta@unibo.it

Ivan Zyrianoff

Department of Computer Science and Engineering

University of Bologna

Bologna, Italy

ivan.zyrianoff@unibo.it

Lorenzo Gigli

Technology Innovation Institute (TII)

United Arab Emirates

lorenzo.gigli@tii.ae

Marco Di Felice

Department of Computer Science and Engineering

University of Bologna

Bologna, Italy

marco.difelice3@unibo.it

ABSTRACT

Unmanned aerial vehicle (UAV) swarms increasingly rely on language-model agents to provide adaptive mission-level reasoning in uncertain environments. Fully distributed control, in which each UAV hosts an independent Small Language Model (SLM), removes reliance on a centralized coordinator but introduces an information-management problem: long-running interaction histories can degrade the reasoning context, while indiscriminate information dissemination increases communication and inference overhead. We address these challenges with a distributed UAV-agent architecture that enables continuous local SLM control through an event-driven reason–act–observe lifecycle. Runtime knowledge is represented as structured atomic notes and organized into core, local, and peer-specific memory. A deterministic interest-aware gossip engine selectively disseminates these notes according to recipient-specific semantic novelty and recency. We evaluate the architecture using ten UAVs in a simulated search-and-rescue mission. Our approach completes all experimental runs, whereas unrestricted flooding messages completes only 70–85%, and delegating forwarding decisions to the SLM prevents mission completion in every run. Compared with unrestricted flooding, our approach approximately halves inference-token consumption, reduces transmitted data, and achieves lower survivor-count error.

Keywords Large Language Models · Small Language Models · Agentic AI · Multi-Agent · Distributed Agent · UAV Swarm Control · Agent-Based Reasoning · Context Management · Context Compaction · Model Context Protocol · Cyber Physical Systems

∗^{*}This paper has been accepted for presentation at the 24th IEEE Consumer Communications & Networking Conference 2027 (CCNC 2027)

A PREPRINT

1 Introduction

Unmanned aerial vehicle (UAV) swarms combine rapid deployment, parallel sensing, and wide-area coverage, making them attractive for search-and-rescue, disaster recovery, environmental monitoring, and infrastructure inspection. These missions are executed in uncertain environments in which predefined plans may become inadequate as hazards, observations, connectivity, and resource availability change [1]. Agentic AI can complement conventional perception and flight-control components with goal interpretation, contextual reasoning, and adaptive planning, enabling UAVs to revise mission-level decisions when unexpected conditions arise [2].

Embedding such reasoning capabilities into continuous UAV swarm control, however, is challenging. Model decisions must be grounded in heterogeneous sensing and actuation interfaces, executed through a long-running closed loop, and constrained by safety requirements despite the non-determinism of language models [3]. To mitigate these difficulties, language-level reasoning in many existing systems remains centralized: a cloud, edge, or swarm-level agent maintains a global view and generates mission plans, while individual UAVs execute them through conventional controllers [3, 4]. Such architectures depend on reliable connectivity to an external coordinator and introduce communication and computational bottlenecks as observations and control decisions are continuously exchanged and the swarm state grows [2]. Assigning an independent agent to each UAV instead enables local decision making, distributes the reasoning workload, and removes a central point of failure. Although distributed LLM-based UAV designs are beginning to emerge [5], fully decentralized control introduces additional challenges: each agent reasons from partial observations, coordinates over bandwidth-constrained links, and operates under onboard memory, computation, energy, and latency constraints that favor smaller Small Language Models (SLMs) with more limited reasoning capabilities [2]. However, existing distributed agentic UAV architectures do not explicitly address how long-running local knowledge should be organized and selectively disseminated among resource-constrained agents.

Indeed, every action produces observations and execution feedback, while cooperation contributes a continuous stream of peer messages. As these records accumulate, replaying the complete transcript can bury mission-critical information among transient or redundant events. This degradation is commonly described as context rot, which refers to the model failing to use relevant information embedded in long inputs even before the context limit is reached [6]. In a UAV swarm, such degradation can directly affect mission safety and completion, e.g., an agent that overlooks a mandatory landing instruction may continue unsafe execution, potentially resulting in a collision, vehicle loss, or mission failure. Long-running control therefore requires a bounded and structured representation of accumulated knowledge that preserves mission-relevant information while separating it from transient history [7, 8]. Regarding information dissemination, indiscriminately flooding observations wastes bandwidth and fills peer contexts with redundant information. Delegating each per-message, per-neighbor forwarding decision to the SLM can also introduce substantial reasoning overhead, enlarge the context, and interfere with the UAV control lifecycle.

We therefore propose a fully distributed architecture in which every UAV hosts an independent SLM-based agent, a Context Manager, and an Interest-Aware Gossip Engine. Each UAV continuously reasons over mission information, locally accumulated knowledge, execution feedback, and asynchronously received peer information, enabling its subsequent actions to adapt without a centralized coordinator. Knowledge produced during this process is represented as atomic notes, which are self-contained, metadata-enriched semantic units derived from the interaction history [8]. The Context Manager organizes these notes into a fixed Core Memory containing mission information, a Local Note Queue, and a peer-specific Neighbor Note Queue. The queues are token-bounded to prevent uncontrolled context growth while preserving information relevant to subsequent reasoning.

For information dissemination, we draw on a fundamental property of effective gossip: information should be forwarded only when it is novel to the recipient. Unlike conventional gossip mechanisms that are agnostic to message content, our approach evaluates forwarding decisions directly from the semantic content of the information being exchanged. For each one-hop neighbor, newly generated or received notes are compared with the peer-specific history using semantic similarity and recency. A strong match with recent information indicates that the peer likely already possesses equivalent knowledge, whereas semantic dissimilarity indicates greater novelty. Fixed thresholds map this novelty estimate to suppression, compact forwarding, or full forwarding. These decisions are performed deterministically rather than through additional SLM invocations, providing low-overhead and transparent information dissemination.

A PREPRINT

The main contributions of this work are:

• Distributed agent lifecycle: mission-agnostic lifecycle for local UAV control by independent SLM-based agents, without a centralized coordinator;

• Context organization: A bounded memory organization that structures mission, local, and peer-specific knowledge as semantic notes for long-running SLM control;

• Interest-Aware Gossip Engine: A deterministic recipient-specific dissemination policy that combines semantic novelty and recency to suppress, compact, or fully forward information.

We evaluate the architecture using ten UAVs in a search-and-rescue mission involving 5, 10, or 20 moving survivors, with the objective of correctly identifying the total number of individuals. The proposed policy completes all experimental runs, whereas the evaluated SLM-based baselines exhibit mission failures. Compared with the most successful SLM baseline, the proposed approach uses approximately half the inference tokens and reduces transmitted data from approximately 6–7 MB to below 0.5 MB per mission, while achieving a lower survivor-count error.

The remainder of this paper is organized as follows. Sec. 2 reviews related work; Sec. 3 presents architecture; Sec. 4 and Sec. 5 describe context management and interest-aware gossip, respectively; Sec. 6 reports the evaluation; and Sec. 7 concludes the paper.

References (21)

  • Uavs meet agentic ai: A multidomain survey of autonomous aerial intelligence and agentic uavs (opens arXiv in a new tab)
  • Agentic ai meets edge computing in autonomous uav swarms
  • Say the mission, execute the swarm: Agent-enhanced llm reasoning in the web-of-drones
  • Llm-guided distributed model predictive control for decentralized uav formations
  • Rally: Role-adaptive llm-driven yoked navigation for agentic uav swarms
  • Lost in the middle: How language models use long contexts
  • Memgpt: towards llms as operating systems
  • A-mem: Agentic memory for LLM agents
  • Roco: Dialectic multi-robot collaboration with large language models
  • Learning selective communication for multi-agent path finding
  • Towards communication efficient multi-agent cooperations: Reinforcement learning and llm
  • Semantic communications in networked systems: A data significance perspective
  • Age of information in gossip networks: A friendly introduction and literature survey
  • Openpubsub: Supporting large semantic content spaces in peer-to-peer publish/subscribe systems for the internet of multimedia things
  • Intelligent adaptive gossip-based broadcast protocol for uav-mec using multi-agent deep reinforcement learning
  • From ground to aerial communication: dissecting wlan 802.11n for the drones
  • Yolov10: Real-time end-to-end object detection
  • Uav-human: A large benchmark for human behavior understanding with unmanned aerial vehicles
  • Gemma 4 Technical Report
  • Gemma 4 on Jetson
  • C-pack: Packed resources for general chinese embeddings