#427427th of 433 in ML frameworks and libraries
sumo-rl
Gymnasium and PettingZoo environments for RL traffic signal control in SUMO
Watch puts sumo-rl on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.sumo-rl is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- MIT
- Last commit
- Mar 2026
- Last release
- May 2024
- Language
- Python
1,029 on 7 May 20261,103 on 26 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
SUMO-RL wraps the SUMO traffic simulator in a SumoEnvironment class that exposes a Gymnasium env for single intersections and PettingZoo AEC or Parallel APIs for multi-agent control. Observations, actions and rewards are defined per traffic signal, and observation and reward functions can be replaced with custom code. It includes the RESCO benchmark networks and example scripts using Q-learning, stable-baselines3 DQN and RLlib PPO.
Who it is for: RL researchers studying traffic signal control with SUMO
Strengths
- Works with Gymnasium, PettingZoo, stable-baselines3 and RLlib
- Observation and reward functions are replaceable via ObservationFunction and reward_fn
- Ships RESCO benchmark networks and runnable Q-learning, DQN and PPO experiments
- Libsumo mode gives about 8x speedup, per the README
Weaknesses
- Limited to traffic signal control on SUMO; not a general RL library
- Libsumo mode disables sumo-gui and parallel simulations
- Requires a separate SUMO install and SUMO_HOME; apt steps target Ubuntu
- Last tagged release is from May 2024
What it needs
- Needs SUMO, gymnasium, PettingZoo, stable-baselines3, RLlib
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #425 | pfrlPyTorch library of deep RL algorithms such as DQN, PPO, SAC and TD3 | 11 out of 100 |
| #426 | pygamGeneralized Additive Models in Python with a scikit-learn-style API | 10 out of 100 |
| #428 | xaiPython library for data imbalance and model bias analysis in tabular ML | 8 out of 100 |
| #429 | torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes | 8 out of 100 |
| #430 | sklearn-crfsuitescikit-learn-style Python wrapper for CRFsuite sequence labeling | 7 out of 100 |