Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python reinforcement-learning

Open-source Python projects categorized as reinforcement-learning

Top 23 Python reinforcement-learning Projects

reinforcement-learning
  1. nn

    🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Ray

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

    Project mention: PyTorch Monarch | news.ycombinator.com | 2025-10-23

    Not currently, but it is being worked on https://github.com/ray-project/ray/issues/53976.

  4. d2l-en

    Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.

  5. reinforcement-learning-an-introduction

    Python Implementation of Reinforcement Learning: An Introduction

  6. stable-baselines3

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

  7. Gymnasium

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

  8. wandb

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

    Project mention: Best Practices for Ensuring AI Agent Performance and Reliability | dev.to | 2025-07-22

    Use tools like Weights & Biases, Labelbox, or Maxim’s data engine to version your datasets, track changes, and continuously add new edge cases and user feedback.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. machine_learning_examples

    A collection of machine learning examples and tutorials.

  11. OpenRLHF

    An Easy-to-use, Scalable and High-performance RLHF Framework based on Ray (PPO & GRPO & REINFORCE++ & vLLM & Ray & Dynamic Sampling & Async Agentic RL)

  12. cleanrl

    High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)

  13. pysc2

    StarCraft II Learning Environment

  14. PaLM-rlhf-pytorch

    Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

  15. agent-lightning

    The absolute trainer to light up AI agents.

    Project mention: Daily Artificial Intelligence Digest - Oct 26, 2025 | dev.to | 2025-10-25

    Microsoft's agent-lightning project offers a comprehensive toolkit aimed at accelerating the process of building, testing, and deploying AI Agents. This open-source initiative highlights the industry's commitment to enabling faster development and implementation of advanced AI capabilities, providing developers with robust resources to streamline AI agent creation.

  16. TensorLayer

    Deep Learning and Reinforcement Learning Library for Scientists and Engineers

  17. keras-rl

    Deep Reinforcement Learning for Keras.

  18. trlx

    A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)

  19. dm_control

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

  20. stable-baselines

    A fork of OpenAI Baselines, implementations of reinforcement learning algorithms

  21. ElegantRL

    Massively Parallel Deep Reinforcement Learning. 🔥

  22. acme

    A library of reinforcement learning components and agents

  23. pytorch-a2c-ppo-acktr-gail

    PyTorch implementation of Advantage Actor Critic (A2C), Proximal Policy Optimization (PPO), Scalable trust-region method for deep reinforcement learning using Kronecker-factored approximation (ACKTR) and Generative Adversarial Imitation Learning (GAIL).

  24. polyaxon

    MLOps Tools For Managing & Orchestrating The Machine Learning LifeCycle

  25. DI-engine

    OpenDILab Decision AI Engine. The Most Comprehensive Reinforcement Learning Framework B.P.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python reinforcement-learning discussion

Log in or Post with

Python reinforcement-learning related posts

  • Learning to Model the World with Language

    1 project | news.ycombinator.com | 6 Nov 2025
  • maze VS pi-optimal - a user suggested alternative

    2 projects | 30 Oct 2025
  • Daily Artificial Intelligence Digest - Oct 26, 2025

    1 project | dev.to | 25 Oct 2025
  • Train AI agents with reinforcement learning (no code changes needed)

    1 project | news.ycombinator.com | 25 Oct 2025
  • Deep Learning from Scratch, the NumPy Way

    1 project | news.ycombinator.com | 23 Oct 2025
  • Introduction to Multi-Armed Bandits

    1 project | news.ycombinator.com | 30 Sep 2025
  • Launch HN: RunRL (YC X25) – Reinforcement learning as a service

    3 projects | news.ycombinator.com | 17 Sep 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Nov 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source reinforcement-learning projects in Python? This list will help you:

# Project Stars
1 nn 64,273
2 Ray 39,825
3 d2l-en 26,601
4 reinforcement-learning-an-introduction 14,386
5 stable-baselines3 12,011
6 Gymnasium 10,611
7 wandb 10,521
8 machine_learning_examples 8,742
9 OpenRLHF 8,360
10 cleanrl 8,272
11 pysc2 8,189
12 PaLM-rlhf-pytorch 7,869
13 agent-lightning 7,818
14 TensorLayer 7,376
15 keras-rl 5,556
16 trlx 4,709
17 dm_control 4,314
18 stable-baselines 4,309
19 ElegantRL 4,221
20 acme 3,842
21 pytorch-a2c-ppo-acktr-gail 3,818
22 polyaxon 3,684
23 DI-engine 3,540

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?