#427427th of 433 in ML frameworks and libraries

sumo-rl

Gymnasium and PettingZoo environments for RL traffic signal control in SUMO

Stars
1.1k
License
MIT
Last commit
Mar 2026
Last release
May 2024
Language
Python
Stars, last 29 weeks+74
7 May 2026: 1,029 stars14 May 2026: 1,033 stars21 May 2026: 1,037 stars28 May 2026: 1,040 stars4 Jun 2026: 1,046 stars11 Jun 2026: 1,047 stars18 Jun 2026: 1,049 stars25 Jun 2026: 1,052 stars2 Jul 2026: 1,054 stars9 Jul 2026: 1,054 stars16 Jul 2026: 1,058 stars23 Jul 2026: 1,059 stars30 Jul 2026: 1,060 stars6 Aug 2026: 1,065 stars13 Aug 2026: 1,067 stars20 Aug 2026: 1,068 stars27 Aug 2026: 1,068 stars3 Sept 2026: 1,070 stars10 Sept 2026: 1,073 stars17 Sept 2026: 1,075 stars24 Sept 2026: 1,078 stars1 Oct 2026: 1,082 stars8 Oct 2026: 1,086 stars15 Oct 2026: 1,091 stars22 Oct 2026: 1,092 stars29 Oct 2026: 1,095 stars5 Nov 2026: 1,097 stars12 Nov 2026: 1,100 stars19 Nov 2026: 1,101 stars26 Nov 2026: 1,103 stars

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
Also in ML frameworks and libraries
RankProjectScore
#425pfrlPyTorch library of deep RL algorithms such as DQN, PPO, SAC and TD31.3k starsMIT11 out of 100
#426pygamGeneralized Additive Models in Python with a scikit-learn-style API1k starsApache-2.010 out of 100
#428xaiPython library for data imbalance and model bias analysis in tabular ML1.3k starsMIT8 out of 100
#429torchviewGraphviz visualizations of PyTorch model graphs with tensor shapes1.1k starsMIT8 out of 100
#430sklearn-crfsuitescikit-learn-style Python wrapper for CRFsuite sequence labeling441 starsno license7 out of 100