# Sumo Rl

> Reinforcement learning traffic signal control with sumo-rl, including SumoEnvironment setup, Gymnasium/PettingZoo APIs, observation/action/reward design, and training workflows. Use for RL signal control tasks or when SUMO-RL is requested.

- Skill: `xrds76354/sumo-rl` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds add xrds76354/sumo-rl`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xrds76354/sumo-rl/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: XRDS76354 (https://skillmd.com/u/xrds76354)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/xrds76354/sumo-rl

---


# Sumo RL

## Overview
Use this skill to design and run RL traffic signal control experiments with sumo-rl.

## Skill Routing
- Use sumo-env for installing SUMO or Python dependencies.
- Use sumo-core to build networks, routes, and traffic light definitions.
- Use sumo-mcp for automated RL training workflows or tool execution.
- Use sumo-output for output analysis outside RL logs.

## RL Workflow
1. Prepare a network with traffic lights and a route file.
2. Choose single-agent (Gymnasium) or multi-agent (PettingZoo) API.
3. Select observation and reward functions.
4. Train with your RL library or built-in examples.

## Requirements
- SUMO_HOME set and SUMO executables available.
- Traffic lights must exist in the network for signal control.

## References
- Installation: references/rl-install.md
- Observations, actions, rewards: references/rl-mdp.md
- Gymnasium and PettingZoo APIs: references/rl-env-api.md

