arXiv:2610.13772cs.SEOct 2026

Manuscript Offprint

arXiv:2610.13772

MARGoS: A Configuration-Driven Platform for Reproducible MARL Experiments in ARGoS

Tom Philipp Backert, Mohammad D. Soorati, Javad Ghofrani

Tom Philipp Backert 1^{1}, Mohammad D. Soorati 2^{2}, and Javad Ghofrani 3^{3}

1^{1} University of Lübeck, Lübeck, Germany

tom.backert@student.uni-luebeck.de

2^{2} University of Southampton, Southampton, UK

m.soorati@soton.ac.uk

3^{3} Bonn-Rhein-Sieg University of Applied Sciences, Sankt Augustin, Germany

javad.ghofrani@h-brs.de

Abstract. Multi-agent reinforcement learning (MARL) has become a prominent research direction, particularly within collective robotics, where the ARGoS simulator is widely used to study emergent swarm behavior. Yet despite this growth, systematic support for reuse and reproducibility in MARL-based swarm robotics remains limited and insufficiently standardized: a single experiment is assembled from manually aligned simulator files, training scripts, configuration values, paths, seeds, and environment details, so reuse and reproduction stay fragile even within one research group. To address this gap, we introduce MARGoS, a lightweight, configuration-driven platform developed in this project that elevates these experiment-defining inputs to first-class, platform-managed artifacts. MARGoS enables reproducible experimentation through configuration hashing, end-to-end seed propagation, frozen (immutable) configurations, structured logging, environment fingerprinting, and exportable experiment bundles that facilitate sharing, replay, and verification of results across machines and over time. A five-dimension evaluation (architecture, efficiency, reproducibility, usability, and collaboration) supports our claim that managing experiment variation as a platform responsibility makes ARGoS+MARL experiments easier to reuse, reproduce, and hand off. Our code is available at https://github.com/tombackert/margos.

Keywords: Variability · Configuration · Reproducibility · Multi-agent reinforcement learning · Swarm robotics · ARGoS

1 Project Context, Goals, and Scope

Multi-agent reinforcement learning (MARL) is a prominent paradigm for training collective robot behavior, in which large numbers of simple, embodied agents

This preprint has not undergone peer review (when applicable) or any post-submission improvements or corrections. The Version of Record of this contribution is published in Software and Systems Reuse, Product Lines, and Configuration – VARIABILITY 2026 Satellite Events (LNCS 17104), and is available online at https://doi.org/10.1007/978-3-032-40421-3_24.

T. P. Backert et al.

produce group-level behavior through decentralized local interaction rather than through a central controller [16, 6]. Because experimenting with physical swarms is costly and slow, this training is simulation-first, and ARGoS is a widely used modular simulator for exactly this setting [15, 1]. Running MARL training on ARGoS, which we refer to as ARGoS+MARL, is therefore a natural and increasingly common way to study learned swarm behavior. Its experiment workflow, however, is largely manual: a single run is assembled by hand from separately edited scenario files, training code, parameters, seeds, output paths, and environment assumptions, so small drifts can silently redefine the experiment and reuse or reproduction stays fragile even within one research group. We present MARGoS, a small, configuration-driven platform built in this project to make reuse and reproduction of ARGoS+MARL experiments a managed property of the platform rather than a matter of user discipline.

The recurring inputs above are variant-bearing experiment artifacts: some define a run, while others capture the state needed to rerun and compare it. When they vary independently, configuration, reproduction, and handoff become manual coordination tasks rather than managed properties. MARGoS treats these experiment-defining inputs as first-class, platform-managed artifacts through configuration hashing, end-to-end seed propagation, frozen configurations, structured logging, environment fingerprinting, and exportable experiment bundles. It thereby turns unmanaged artifact variation into platform-owned managed variation and frames ARGoS+MARL experimentation as a configuration and reuse problem rather than an algorithmic one: the contribution is the platform and its integration of variation-control responsibilities, not a new learning algorithm or swarm behavior.

The gap this addresses is deliberately bounded. Among the adjacent platforms surveyed in Section 2, none is both ARGoS-native and covers configuration → orchestration → logging → analysis → export and import as a single pipeline. MARGoS explores integrated experiment-lifecycle support for this stack by centralizing the variant-bearing artifacts, and it was completed as a small-scale university research project sized for meaningful evaluation rather than as a general-purpose product: enough infrastructure to measure workflow efficiency, self-reproducibility, analytical usability, and handoff. Section 2 positions the platform against those adjacent systems, Section 3 defines the evaluation it enables, and Section 4 reports the lessons it produced.

To show that this problem is real and that MARGoS addresses it correctly, we evaluate the platform along the five dimensions summarized in Table 1, which states each guiding question and the evidence type. RQ1 is enablement-only, validated by whether the platform executes the RQ2-RQ5 evaluation protocols, while RQ2-RQ5 are the four empirically tested dimensions that recur in the evaluation design (Section 3) and the consolidated results (Section 4). Throughout, the evaluation is supporting evidence for the platform contribution, not the contribution itself.

The scope is deliberately narrow: collaboration means asynchronous bundle handoff between prepared environments, not cloud workspaces, shared state, or

Table 1. Project goals and evaluation dimensions. Each dimension maps to a guiding question and to the evidence used to answer it in this paper; RQ1 is enablement-validated through protocol execution, RQ2-RQ5 are threshold-tested.

DimensionQuestionEvidence used in this paper
RQ1 Architecture (enablement)Can the platform execute the evaluation protocols?Protocol enablement across RQ2-RQ5
RQ2 EfficiencyDoes integration reduce repeated workflow effort?Time and step reduction vs manual workflow
RQ3 ReproducibilityCan identical experiments be rerun reliably on the same hardware?Reference run plus 20 automated reproductions
RQ4 UsabilityDoes the design reduce interaction complexity?Heuristic audit and KLM analysis
RQ5 CollaborationCan experiment bundles be handed off reliably to a prepared collaborator?Export/import handoff trials

live co-editing. The project also excludes algorithmic contributions, unrestricted cross-lab portability, and new experiments for this paper, reusing the executed project evaluation only. Each exclusion keeps the evidence tied to managed variation rather than product breadth. The next section turns the variant-bearing artifacts introduced here into platform-owned managed variation.