SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoning

Ruohao Li, Hongjun Liu, Leyi Zhao, Zisu Li, Jiawei Li, Jiajun Jiang, Linning Xu, Chen Zhao, Mingming Fan, Chen LiangarXiv 2025 · DOI · arXiv

Abstract

SwarmSys is a decentralized multi-agent framework designed to overcome the limitations of centralized orchestration in Large Language Model (LLM) systems. By employing a self-organizing loop of specialized agents—Explorers, Workers, and Validators—SwarmSys mimics the collective intelligence of natural swarms. This approach enables scalable coordination and adaptive reasoning, allowing smaller models to achieve performance levels comparable to significantly larger, next-generation models across complex mathematical, scientific, and coding benchmarks.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable capabilities, they often falter when faced with "long-horizon" reasoning tasks. These problems require multi-step execution, specialized domain knowledge, and continuous self-correction. Current multi-agent frameworks, such as AutoGen or MetaGPT, typically rely on fixed roles or a centralized "boss" agent to manage the workflow.

This centralized approach introduces two significant bottlenecks:

  1. Rigidity: Failure of the central controller or a mismatch between predefined roles and the problem at hand can lead to system-wide breakdown.
  2. Scalability: Managing a large number of agents centrally becomes inefficient, often resulting in increased latency and redundant computations.

SwarmSys addresses these challenges by drawing inspiration from natural swarms, such as ant colonies, which redistribute labor dynamically based on environmental feedback.

The SwarmSys Framework

SwarmSys introduces a closed-loop, decentralized framework where coordination emerges organically through the interaction of three specialized agent roles:

  • Explorers: Responsible for problem decomposition and proposing multiple potential solution paths.
  • Workers: Execute specific sub-tasks and refine partial solutions based on the explorer's roadmap.
  • Validators: Perform cross-modal checks and enforce consensus among the swarm.
The SwarmSys collaborative reasoning process, illustrating how agents match to events and iterate through debate to reach a consensus.

The system utilizes Adaptive Profiles as a form of distributed memory. Each agent and sub-task ("event") is associated with a dynamic JSON profile containing embeddings that represent competence, workload, and historical performance. Coordination is achieved through Pheromone-Inspired Matching: successful steps reinforce the connection between specific agents and task types, while ineffective paths are allowed to "evaporate" over time.

Key Insights: Emergent Topology and Scaling

A core finding of the SwarmSys research is that "coordination scaling" can be as effective as "model scaling." By optimizing how agents work together, a swarm of GPT-4o agents was able to close the performance gap to GPT-5 by over 70%.

Furthermore, the system exhibits an Emergent Topology. The communication structure is not static; it typically begins as a hub-and-spoke model centered on an explorer and evolves into a small-world mesh where workers and validators interact directly to reach consensus efficiently.

The transition from a centralized exploration phase to a distributed consensus phase within the SwarmSys framework.

This decentralized structure facilitates Knowledge Diffusion, where factual discoveries or corrected equations by one agent are naturally integrated by others without a global broadcast. The consensus mechanism also provides Self-Regularization, effectively filtering out local hallucinations or errors from individual "weaker" agents.

Experimental Evaluation

SwarmSys was evaluated across four rigorous benchmarks: GAOKAO Bench (symbolic reasoning), Omni-Math (olympiad mathematics), DeepResearch Bench (scientific QA), and SciCode (computational programming).

Key Results

  • Reasoning Accuracy: SwarmSys-8 achieved a 12.5% improvement in accuracy and a 10.8% increase in knowledge coverage over the previous state-of-the-art baseline, GPTSwarm.
  • Research Synthesis: On the DeepResearch Bench, SwarmSys outperformed "Grok Deeper Search" in overall scoring, particularly in instruction following and readability.
  • Scientific Coding: The system achieved a 45.2% Pass@Sub rate on SciCode, significantly outperforming GPTSwarm's 29.2%, demonstrating the power of decentralized validation in debugging.

Conclusion and Future Work

SwarmSys demonstrates that decentralized, swarm-inspired coordination is a viable path toward scaling AI intelligence for complex reasoning. While the system introduces some communication overhead, it offers a robust and adaptive alternative to rigid centralized frameworks. Future research will focus on reducing latency, implementing learnable skill modeling, and extending the framework to embodied agents in physical environments.

Summary updated

BibTeX
@misc{li2025swarmsys,
  author = {Ruohao Li and Hongjun Liu and Leyi Zhao and Zisu Li and Jiawei Li and Jiajun Jiang and Linning Xu and Chen Zhao and Mingming Fan and Chen Liang},
  title = {{SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoning}},
  year = {2025},
  eprint = {2510.10047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.10047},
}
Figure