[Paper Review] LLM2Swarm: Robot Swarms that Responsively Reason, Plan, and Collaborate through LLMs
This paper introduces LLM2Swarm, a framework integrating Large Language Models (LLMs) into robot swarms through two approaches: indirect integration for automated controller synthesis and direct integration for on-device, natural language-based reasoning, planning, and collaboration. The key contribution is demonstrating that LLMs enable responsive, adaptive, and human-interpretable swarm behavior in simulation and preliminary hardware tests, including anomaly detection and natural language instruction following without prior task-specific programming.
Robot swarms are composed of many simple robots that communicate and collaborate to fulfill complex tasks. Robot controllers usually need to be specified by experts on a case-by-case basis via programming code. This process is time-consuming, prone to errors, and unable to take into account all situations that may be encountered during deployment. On the other hand, recent Large Language Models (LLMs) have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge. Hence, we propose to address the aforementioned challenges by integrating LLMs with robot swarms and show the potential in proofs of concept (showcases). For this integration, we explore two approaches. The first approach is 'indirect integration,' where LLMs are used to synthesize and validate the robot controllers. This approach may reduce development time and human error before deployment. Moreover, during deployment, it could be used for on-the-fly creation of new robot behaviors. The second approach is 'direct integration,' where each robot locally executes a separate LLM instance during deployment for robot-robot collaboration and human-swarm interaction. These local LLM instances enable each robot to reason, plan, and collaborate using natural language, as demonstrated in our showcases where the robots are able to detect a variety of anomalies, without prior information about the nature of these anomalies. To enable further research on our mainly conceptual contribution, we release the software and videos for our LLM2Swarm system: https://github.com/Pold87/LLM2Swarm.
Motivation & Objective
- To address the limitations of traditional robot swarm programming, which is time-consuming, error-prone, and inflexible to unforeseen events.
- To explore how LLMs can enhance robot swarm autonomy, adaptivity, and human-swarm interaction through natural language.
- To demonstrate that LLMs can enable swarm robots to detect diverse anomalies without prior knowledge of their nature.
- To enable non-expert human operators to interact with swarms using natural language for instructions and status queries.
- To release open-source software and video demonstrations to accelerate research in LLM-integrated swarm robotics.
Proposed method
- Indirect integration: Use a powerful LLM to synthesize and validate robot controllers before deployment, reducing manual coding and error rates.
- Direct integration: Deploy lightweight LLM instances locally on each robot to enable real-time reasoning, planning, and collaboration using natural language.
- Simulate the system in ARGoS, using a lightweight LLM per robot to emulate on-device execution during deployment.
- Implement human-swarm interaction via natural language prompts, where LLMs interpret instructions and generate responses or actions.
- Design showcases to test controller synthesis, robot-robot collaboration, and human-swarm interaction under dynamic conditions.
- Use a single prompt for anomaly detection across multiple scenarios, leveraging commonsense knowledge from LLMs without prior specification.

Experimental results
Research questions
- RQ1Can LLMs effectively synthesize robot swarm controllers without requiring expert programming, reducing development time and errors?
- RQ2Can local LLM instances on robots enable real-time, natural language-based reasoning, planning, and collaboration among swarm members?
- RQ3Can LLM2Swarm detect and respond to diverse, previously unseen anomalies using a single, general-purpose prompt?
- RQ4Can non-expert human operators effectively interact with robot swarms using natural language for instructions and status queries?
- RQ5To what extent can LLMs enhance swarm autonomy and adaptivity in unpredictable environments through commonsense reasoning?
Key findings
- LLM2Swarm successfully synthesized robot controllers using a single prompt, demonstrating potential for automated, error-reduced controller generation.
- Robots equipped with local LLMs detected various anomalies—including sensor faults and injured persons—without prior knowledge of their nature, indicating effective commonsense reasoning.
- The system enabled natural language-based human-swarm interaction, where human operators could issue instructions and receive status summaries using only natural language.
- In response to a human prompt, the swarm correctly interpreted a target location and navigated to it, demonstrating executable command generation from natural language.
- The lightweight LLMs on robots were able to generate new controllers on-the-fly during mission execution, enhancing adaptability.
- The open-source release of software and video showcases enables reproducibility and further research in LLM-integrated robot swarms.

Better researchstarts right now
From reading papers to final review, dramatically reduce your research time.
No credit card · Free plan available
This review was created by AI and reviewed by human editors.