ungovernable.tech

[ COMPARISON ][ OFF-GRID AND MESH NETWORKS ]

Open-Source Swarm Projects Compared

Also Swarm software comparison, Drone swarm frameworks, Multi-robot frameworks.

What each open-source swarm and multi-robot project actually is, what it runs on, how it is licensed, and whether anyone is still maintaining it. Checked against the repositories on 29 November 2026.

Experimental updated 2026-11-29 6 min read
Contents

Summary

Open-source swarm work ranges from a maintained, actively developed multi-drone framework to single-paper research code that targets end-of-life Ubuntu and ROS releases. The table below was checked against each repository on 29 November 2026: license from the repository, "last push" from GitHub, and maintenance status from the project's own words where it states one. Stars are a rough size indicator, nothing more. For the concepts behind these projects see Swarm Robotics: Coordination Without a Controller; to start using them see Getting Started with Swarm Robotics.

At a glance

Project What it is Runs on License Last push (stars) Status
Aerostack2 Modular ROS 2 framework for multi-robot aerial systems ROS 2 Humble and Jazzy; Gazebo, PX4, Crazyflie, Tello BSD-3-Clause 2026-11-26 (416) Active; latest tagged release 1.1.3 (July 2025)
ROS2swarm Library of swarm behavior patterns for ROS 2 Ground robots: TurtleBot3, Jackal, Thymio II; ROS 2 Dashing, Foxy, Galactic Apache-2.0 2026-08-03 (121) Not maintained (README); last code change 2023
vswarm Vision-based drone flocking, research code ROS Melodic, Ubuntu 18.04; Gazebo; Jetson TX2 onboard MIT 2022-08-09 (91) Dormant since 2022; targets end-of-life software
Project Flockwork Decentralized drone-swarm control stack written from scratch ROS 2 Jazzy, Gazebo Harmonic, C++17; simulation only MIT-based with a non-military field-of-use clause (source-available) 2026-10-22 (11) New, one author, early
Nano Swarm Mapping Onboard SLAM and shared mapping on nano-drones Crazyflie 2.x with depth sensors; microcontroller firmware GPL-3.0 2025-03-15 (64) Paper companion; no recent development
HeRoSwarm v2 Open-hardware miniature wheeled swarm robot Raspberry Pi Zero, ROS; Wi-Fi and Bluetooth MIT 2025-11-13 (33) Research-lab release; light activity
Crazyswarm2 ROS 2 stack for fleets of Bitcraze Crazyflies Bitcraze Crazyflie drones via Crazyradio PA dongles MIT 2026-11-23 (268) Active
ARGoS Fast multi-engine simulator for swarm robotics Linux and macOS (not Windows), C++ MIT (ARGoS 3) 2026-10-05 (323) Maintained at a slow pace
Buzz Programming language for robot swarms ARGoS, ROS, real robots MIT 2026-04-01 (320) Maintained at a slow pace
EGO-Swarm Decentralized quadrotor swarm planner for cluttered spaces ROS 1 on Ubuntu 16.04 to 20.04; ROS 2 on a ros2_version branch GPL-3.0 2025-03-08 (2,271) Research code with a ROS 2 branch

Project notes

Aerostack2 is the closest thing here to a framework you can build on. Controllers, state estimators, planners and behaviors are swappable ROS 2 plugins, and the same mission runs in simulation and on aircraft. Multi-drone namespacing is designed in. Missions are written in Python or as behavior trees. Supported platforms listed on the project site include Gazebo, PX4, Crazyflie and Tello. Reference: Fernandez-Cortizas et al., arXiv:2303.18237. Project site: aerostack2.org.

ROS2swarm provides behavior patterns (aggregation, attraction, dispersion, minimalist flocking, random walk, plus voter-model and majority-rule voting) that run in simulation or on TurtleBot3, Jackal and Thymio II robots. It is a good reference for how simple rules produce group behavior, and it targets ground robots, not drones. The README states that the package is no longer maintained and lists ROS 2 releases that are themselves end-of-life, so expect to port it. The paper is ROS2swarm: a ROS 2 package for swarm robot behaviors, ICRA 2022, posted as arXiv:2405.02438.

vswarm is the clearest example of communication-free coordination: each drone detects neighbors in omnidirectional camera images with a neural network, estimates their relative position from the known physical size of a drone, tracks them, and applies a Reynolds-style flocking rule. It needs no inter-agent messages and no markers. The code is tied to ROS 1 Melodic and Ubuntu 18.04 and has not been updated since 2022, so read it as a published method, not a maintained tool. Paper: Schilling, Schiano and Floreano, Vision-based drone flocking in outdoor environments, IEEE RA-L 2021, arXiv:2012.01245.

Project Flockwork is a small, one-person repository created in September 2026: 11 stars and 21 commits at the time of checking. It implements single-drone control, consensus flocking, formation slots, collision avoidance and density control from scratch in C++ on ROS 2 and Gazebo, with citations to the underlying papers, and keeps the control theory visible instead of using PX4 or ArduPilot. It runs in simulation only; lidar-only obstacle sensing and real hardware are listed as next steps, and its fully decentralized density controller is sketched but disabled. Its license is MIT with a non-military field-of-use restriction, which the README itself calls source-available rather than OSI open source. Worth reading as a learning resource; treat it as experimental.

ETH Nano Swarm Mapping is the companion code to a paper on mapping with Crazyflie-class nano-drones. Each drone carries four small depth sensors; the swarm merges its maps with iterative closest point and graph-based SLAM running on a low-power ARM microcontroller with 192 kB of memory, without external infrastructure. The authors report 12 cm mapping accuracy in field tests with up to four drones and mapping time falling as drones are added. The system is designed to support up to 20 drones. Paper: Friess et al., IEEE Internet of Things Journal, arXiv:2309.03678.

HeRoSwarm v2 is open hardware: a miniature wheeled robot with proximity, color, sound and inertial sensors, Wi-Fi and Bluetooth, and a Raspberry Pi Zero computing module that runs ROS. The repository includes demonstrations of rendezvous and formation control with up to nine robots. It is a ground platform, not a drone. Paper: Starks et al., arXiv:2211.03014.

Crazyswarm2 is the common route to flying many Crazyflies in a lab. Its server connects multiple drones through one or more Crazyradio dongles, so control is centralized on a ground computer; the stack also includes a software-in-the-loop simulator. Pair it with the Bitcraze Crazyflie firmware (GPL-3.0) and the crazyflie-lib-python library, which has a built-in swarm module. Documentation: imrclab.github.io/crazyswarm2.

ARGoS and Buzz are the research-swarm toolchain for simulating very large groups of heterogeneous robots and programming them with a purely distributed runtime. Buzz can run on ARGoS and on top of ROS. Paper: Buzz: an extensible programming language for self-organizing heterogeneous robot swarms, arXiv:1507.05946. Site: argos-sim.info.

EGO-Swarm is a decentralized, asynchronous planner for multicopters flying in unknown, obstacle-rich spaces using only onboard sensing and computation; the later Science Robotics paper demonstrates it in dense forest. The repository is research code in ROS 1 with a ROS 2 branch. Paper: Zhou et al., Swarm of micro flying robots in the wild, Science Robotics 2022.

Platforms and infrastructure these build on

  • ArduPilot (GPL-3.0) and PX4 (BSD-3-Clause) are the standard open-source flight controllers. Neither is a swarm framework. ArduPilot's Follow mode lets one vehicle follow another at an offset using position messages, and PX4 documents multi-vehicle simulation. Swarm layers such as Aerostack2 sit on top, typically on a companion computer.
  • Gazebo (Apache-2.0) is the standard ROS 2 simulator.
  • Open-RMF (Apache-2.0, actively developed) manages fleets of robots from different vendors, including traffic scheduling. It is about interoperability and deconfliction, not emergent swarm behavior.
  • ESP-Drone (GPL-3.0) is Espressif's firmware for small ESP32-based quadcopters, a low-cost way to experiment with micro-drones.

Looked at and left out

  • Swarmulator (a lightweight C++ swarm simulator, coppolam/swarmulator): last pushed in January 2021 and small; ARGoS covers the same ground.
  • Crazyswarm (the original): the ROS 1 predecessor of Crazyswarm2; new work should use Crazyswarm2.

Trust model / threat model

The READMEs of these projects do not discuss security or authentication; they assume a trusted, cooperative swarm. In a consensus-style system a rogue or compromised agent can in principle distort what the group agrees on, and an open radio link can be listened to or jammed. ROS 2 has an optional security layer (SROS2), but none of these projects present it as a feature. Anyone thinking about real-world use should treat link security and agent identity as open problems. For how mesh networks handle the radio side, see Off-Grid Communication Compared.

Readiness and limits

Experimental. Aerostack2 and Crazyswarm2 are maintained and usable for research and teaching. The rest are slowly maintained simulators and languages, an unmaintained library, open-hardware designs, research-code releases and papers with code. Nothing here is a turnkey, field-proven decentralized swarm.

Primary sources

Page history

Updated
2026-11-29
Origin
Written for ungovernable.tech.
Improve this page
Suggest an edit — issues and pull requests are welcome.