PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Reinforcement Learning Python Packages

Python packages with the GitHub topic reinforcement-learning. Sorted by monthly downloads, with stars and forks.
wandb
wandb

The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.

15.5M 11K 904
ray-project
ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

14.4M 44K 8K
Farama-Foundation
gymnasium

A standard API for single-agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)

3.8M 13K 2K
sgl-project
sglang

SGLang is a high-performance serving framework for large language models and multimodal models.

2.5M 37K 10K
unslothai
unsloth-zoo

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.

940K 78K 7K
unslothai
unsloth

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.

906K 78K 7K
sgl-project
sglang-kernel

SGLang is a high-performance serving framework for large language models and multimodal models.

813K 37K 10K
DLR-RM
stable-baselines3

PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.

695K 14K 2K
bulletphysics
pybullet

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

405K 15K 3K
ARISE-Initiative
robosuite

robosuite: A Modular Simulation Framework and Benchmark for Robot Learning

350K 3K 779
Trajectorylabs
trajectory-sdk

Practical recipes for adapting benchmarks, training models, and measuring reward with the Trajectory SDK.

341K 0 0
open-thought
reasoning-gym

[NeurIPS 2025 Spotlight] Reasoning Environments for Reinforcement Learning with Verifiable Rewards

340K 2K 132
google-deepmind
dm-control

Google DeepMind's software stack for physics-based simulation and Reinforcement Learning environments, using MuJoCo.

299K 5K 769
pytorch
torchtnt

A lightweight library for PyTorch training tools and utilities

255K 2K 310
Farama-Foundation
pettingzoo

A standard API for multi-agent reinforcement learning environments, with popular reference environments and related utilities

224K 4K 544
kvcache-ai
mooncake-transfer-engine-cuda13

Mooncake is the serving platform for Kimi, a leading LLM service provided by Moonshot AI.

222K 7K 1K
Future-House
fhaviary

A language agent gym with challenging scientific tasks

218K 284 36
Future-House
fhlmi

Framework enabling modular interchange of language agents, environments, and optimizers

206K 138 18
Stable-Baselines-Team
sb3-contrib

Contrib package for Stable-Baselines3 - Experimental reinforcement learning (RL) code

196K 740 244
Future-House
ldp

Framework enabling modular interchange of language agents, environments, and optimizers

171K 138 18
NVIDIA-NeMo
nemo-gym

Evaluate and improve models and agents using environments

160K 1K 386
deepmind
open-spiel

OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.

118K 6K 1K
microsoft
textworld

​TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games.

115K 1K 206
Farama-Foundation
shimmy

PettingZoo and Gymnasium bindings for popular reinforcement learning environments outside of Farama

106K 937 32
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology