https://doi.org/10.1140/epje/s10189-025-00477-4
Tips and Tricks - Soft Matter
SwarmRL: building the future of smart active systems
Institute for Computational Physics, University of Stuttgart, Allmandring 3, 70569, Stuttgart, Baden-Württemberg, Germany
a
stovey@icp.uni-stuttgart.de
b
clohrmann@icp.uni-stuttgart.de
Received:
13
November
2024
Accepted:
5
February
2025
Published online:
7
April
2025
This work introduces SwarmRL, a Python package designed to study intelligent active particles. SwarmRL provides an easy-to-use interface for developing models to control microscopic colloids using classical control and deep reinforcement learning approaches. These models may be deployed in simulations or real-world environments under a common framework. We explain the structure of the software and its key features and demonstrate how it can be used to accelerate research. With SwarmRL, we aim to streamline research into micro-robotic control while bridging the gap between experimental and simulation-driven sciences. SwarmRL is available open-source on GitHub at https://github.com/SwarmRL/SwarmRL.
Supplementary Information The online version contains supplementary material available at https://doi.org/10.1140/epje/s10189-025-00477-4.
© The Author(s) 2025
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.