back to home

Best Open Source reinforcement learning Libraries

A curated list of the most popular GitHub repositories tagged with reinforcement learning. Select any project to visualize its architecture and dive into the codebase using RepoMind's AI engine.

#1Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

77,231
Explore Repo

#2rohitg00/ai-engineering-from-scratch

Learn AI Engineering! Learn it. Build it. Ship it for others.

71,176Python
Explore Repo

#3labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 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, ... 🧠

66,023Python
Explore Repo

#4unslothai/unsloth

Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.

54,106Python
Explore Repo

#5ray-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.

41,784Python
Explore Repo

#6sgl-project/sglang

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

37,329Python
Explore Repo

#7eugeneyan/applied-ml

📚 Papers & tech blogs by companies sharing their work on data science & machine learning in production.

28,715
Explore Repo

#8d2l-ai/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.

28,422Python
Explore Repo

#9Unity-Technologies/ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

19,225C#
Explore Repo

#10AI4Finance-Foundation/FinGPT

FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.

18,844Jupyter Notebook
Explore Repo

#11datawhalechina/leedl-tutorial

《李宏毅深度学习教程》(李宏毅老师推荐👍,苹果书🍎),PDF下载地址:https://github.com/datawhalechina/leedl-tutorial/releases

16,409Jupyter Notebook
Explore Repo

#12ddbourgin/numpy-ml

Machine learning, in numpy

16,299Python
Explore Repo

#13microsoft/agent-lightning

The absolute trainer to light up AI agents.

15,473Python
Explore Repo

#14MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning

This is the homepage of a new book entitled "Mathematical Foundations of Reinforcement Learning."

14,962MATLAB
Explore Repo

#15MorvanZhou/Reinforcement-learning-with-tensorflow

Simple Reinforcement learning tutorials, 莫烦Python 中文AI教学

9,434Python
Explore Repo

#16vwxyzjn/cleanrl

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

9,326Python
Explore Repo

#17Hvass-Labs/TensorFlow-Tutorials

TensorFlow Tutorials with YouTube Videos

9,274Jupyter Notebook
Explore Repo

#18OpenRLHF/OpenRLHF

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

9,193Python
Explore Repo

#19OpenPipe/ART

Agent Reinforcement Trainer: train multi-step agents for real-world tasks using GRPO. Give your agents on-the-job training. Reinforcement learning for Qwen3.5, GPT-OSS, Llama, and more!

9,033Python
Explore Repo

#20lazyprogrammer/machine_learning_examples

A collection of machine learning examples and tutorials.

8,841Python
Explore Repo

#21VowpalWabbit/vowpal_wabbit

Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.

8,662C++
Explore Repo

#22inclusionAI/AReaL

Lightning-Fast RL for LLM Reasoning and Agents. Made Simple & Flexible.

4,816Python
Explore Repo

#23huggingface/deep-rl-class

This repo contains the Hugging Face Deep Reinforcement Learning Course.

4,804MDX
Explore Repo

#24fancyboi999/ai-engineering-from-scratch-zh

Agent工程师最全学习路径 · 从零精通 AI 工程 · 20 阶段 542 课 · 中文全量翻译 + 配套站点 + 动画讲解视频 · 如何成为 AI Agent 工程师的修成指南

1,256Python
Explore Repo

#25Motphys/UniLab

UniLab: A Heterogeneous Architecture for Robot RL Beyond GPU-Dominant Paradigms

959Python
Explore Repo

#26LeCAR-Lab/BFM-Zero

BFM_Zero: A Promptable Behavioral Foundation Model for Humanoid Control Using Unsupervised Reinforcement Learning

816Python
Explore Repo

#27dynamicslab/hydrogym

An RL-Gym for Challenge Problems in Data-Driven Modeling and Control of Fluid Dynamics.

554Python
Explore Repo