Top Reinforcement Learning repositories

Repositories with the GitHub topic “reinforcement-learning”: 50 repositories with 987k stars between them, mostly written in Python, Jupyter Notebook and C++. The highest-rated is rohitg00/ai-engineering-from-scratch, #82 on the bestofgithub Elo ladder.

Biggest movers this week

Human-Agent-Society/reef

Open on GitHubPython

Infrastructure for continually self‑improving agents

  • 1,533+12 Elo, change today
  • 7.8k stars
  • 737 forks
git
git clone https://github.com/Human-Agent-Society/reef.git
  • agent-infrastructure
  • ai-agents
  • continual-learning
  • inference

georgezouq/awesome-ai-in-finance

Open on GitHub

🔬 A curated list of awesome LLMs & deep learning strategies & tools in financial market.

  • 1,529+8 Elo, change today
  • 6.7k stars
  • 923 forks
git
git clone https://github.com/georgezouq/awesome-ai-in-finance.git
  • analysis
  • awesome
  • awesome-list
  • cryptocurrency

kvcache-ai/Mooncake

Open on GitHubC++

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

  • 1,646+2 Elo, change today
  • 7k stars
  • 1.4k forks
git
git clone https://github.com/kvcache-ai/Mooncake.git
  • disaggregation
  • inference
  • kvcache
  • llm

NVlabs/Sana

Open on GitHubPython

SANA & Sol: Efficient Generative Models and Full-Stack Training & Inference Engines for Image, Video, and World Modeling

  • 1,598+12 Elo, change today
  • 9.8k stars
  • 808 forks
git
git clone https://github.com/NVlabs/Sana.git
  • diffusion
  • dit
  • linear-transformer
  • nvfp4

sgl-project/sglang

Open on GitHubPython

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

  • 2,080+4 Elo, change today
  • 38.9k stars
  • 10.5k forks
  • 184 watchers
git
git clone https://github.com/sgl-project/sglang.git
  • attention
  • blackwell
  • cuda
  • deepseek

HenryNdubuaku/maths-cs-ai-compendium

Open on GitHubTypeScript

Become a cracked AI/ML researcher/engineer with this unconventional textbook covering maths, computing, and ML with intuition.

  • 1,462+8 Elo, change today
  • 7.7k stars
  • 949 forks
git
git clone https://github.com/HenryNdubuaku/maths-cs-ai-compendium.git
  • ai-textbook
  • algorithms
  • artificial-intelligence
  • computer-science

Top 50 on the Elo ladder

  1. #82
    rohitg00/ai-engineering-from-scratch

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

    2,265 Elo −1379kPython
  2. #158
    bojieli/ai-agent-book

    《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

    2,158 Elo +1558.1kPython
  3. #257
    unslothai/unsloth

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

    2,089 Elo 79.5kPython
  4. #275
    sgl-project/sglang

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

    2,080 Elo +3538.9kPython
  5. #378
    Developer-Y/cs-video-courses

    List of Computer Science courses with video lectures.

    2,025 Elo −8284.8k
  6. #836
    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…

    1,888 Elo −2244.2kPython
  7. #978
    stefan-jansen/machine-learning-for-trading

    Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.

    1,860 Elo −1321.8kJupyter Notebook
  8. #1,084
    eugeneyan/applied-ml

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

    1,843 Elo −1330.9k
  9. #1,211
    labmlai/annotated_deep_learning_paper_implementations

    🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original…

    1,826 Elo −10567.7kPython
  10. #1,407
    d2l-ai/d2l-en

    Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70…

    1,796 Elo −2330kPython
  11. #1,742
    AI4Finance-Foundation/FinGPT

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

    1,756 Elo +1421.5kJupyter Notebook
  12. #1,760
    MathFoundationRL/Book-Mathematical-Foundation-of-Reinforcement-Learning

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

    1,754 Elo +2118.5kMATLAB
  13. #1,895
    owainlewis/awesome-artificial-intelligence

    A curated list of Artificial Intelligence (AI) courses, books, video lectures and papers.

    1,739 Elo +1216.8kPython
  14. #2,010
    microsoft/agent-lightning

    The absolute trainer to light up AI agents.

    1,726 Elo −3318.9kPython
  15. #2,021
    Unity-Technologies/ml-agents

    The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to…

    1,725 Elo −2719.8kC#
  16. #2,882
    kvcache-ai/Mooncake

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

    1,646 Elo +537kC++
  17. #2,918
    Farama-Foundation/Gymnasium

    A standard API for single-agent reinforcement learning environments, with popular reference environments and related…

    1,643 Elo +1012.8kPython
  18. #3,049
    bulletphysics/bullet3

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

    1,633 Elo +2714.8kC++
  19. #3,084
    DLR-RM/stable-baselines3

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

    1,630 Elo −3014kPython
  20. #3,336
    datawhalechina/leedl-tutorial

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

    1,615 Elo −1016.8kJupyter Notebook
  21. #3,342
    datawhalechina/easy-rl

    强化学习中文教程(蘑菇书🍄),在线阅读地址:https://datawhalechina.github.io/easy-rl/

    1,615 Elo −814.8kJupyter Notebook
  22. #3,557
    vwxyzjn/cleanrl

    High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO…

    1,601 Elo +2910.6kPython
  23. #3,603
    NVlabs/Sana

    SANA & Sol: Efficient Generative Models and Full-Stack Training & Inference Engines for Image, Video, and World Modeling

    1,598 Elo +389.8kPython
  24. #3,997
    aws/amazon-sagemaker-examples

    Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon…

    1,573 Elo +811kJupyter Notebook
  25. #4,095
    ShangtongZhang/reinforcement-learning-an-introduction

    Python Implementation of Reinforcement Learning: An Introduction

    1,568 Elo −3014.8kPython
  26. #4,133
    tensorflow/tensor2tensor

    Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.

    1,566 Elo −2317.4kPython
  27. #4,563
    ddbourgin/numpy-ml

    Machine learning, in numpy

    1,542 Elo −5616.3kPython
  28. #4,720
    Human-Agent-Society/reef

    Infrastructure for continually self‑improving agents

    1,533 Elo +787.8kPython
  29. #4,804
    georgezouq/awesome-ai-in-finance

    🔬 A curated list of awesome LLMs & deep learning strategies & tools in financial market.

    1,529 Elo +716.7k
  30. #4,890
    kmario23/deep-learning-drizzle

    Drench yourself in Deep Learning, Reinforcement Learning, Machine Learning, Computer Vision, and NLP by learning from…

    1,525 Elo −5112.9kHTML
  31. #5,144
    OpenRLHF/OpenRLHF

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

    1,512 Elo +1410.1kPython
  32. #5,573
    OpenPipe/ART

    Agent Reinforcement Trainer: train multi-step agents for real-world tasks using GRPO. Give your agents on-the-job…

    1,493 Elo −1010.8kPython
  33. #5,654
    lazyprogrammer/machine_learning_examples

    A collection of machine learning examples and tutorials.

    1,490 Elo −238.9kPython
  34. #5,934
    MorvanZhou/Reinforcement-learning-with-tensorflow

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

    1,476 Elo −299.5kPython
  35. #6,131
    wandb/wandb

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

    1,468 Elo +411.3kPython
  36. #6,249
    HenryNdubuaku/maths-cs-ai-compendium

    Become a cracked AI/ML researcher/engineer with this unconventional textbook covering maths, computing, and ML with…

    1,462 Elo +327.7kTypeScript
  37. #6,679
    Hvass-Labs/TensorFlow-Tutorials

    TensorFlow Tutorials with YouTube Videos

    1,445 Elo −329.2kJupyter Notebook
  38. #6,948
    VowpalWabbit/vowpal_wabbit

    Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as…

    1,435 Elo −58.7kC++
  39. #6,991
    MorvanZhou/PyTorch-Tutorial

    Build your neural network easy and fast, 莫烦Python中文教学

    1,434 Elo −268.4kJupyter Notebook
  40. #7,091
    oumi-ai/oumi

    Easily fine-tune (SFT/RL), evaluate, and deploy Qwen, Gemma, or any open agentic LLM/VLM!

    1,430 Elo −109.4kPython
  41. #7,208
    flyteorg/flyte

    Type-safe, distributed orchestration of agents, ML pipelines, and real-time inference on your k8s — in pure Python with…

    1,425 Elo +177.8kGo
  42. #7,244
    yandexdataschool/Practical_RL

    A course in reinforcement learning in the wild

    1,424 Elo +326.6kJupyter Notebook
  43. #7,498
    google-deepmind/pysc2

    StarCraft II Learning Environment

    1,414 Elo −78.3kPython
  44. #7,954
    PufferAI/PufferLib

    Puffing up reinforcement learning

    1,397 Elo −86.5kC
  45. #8,415
    tensorlayer/TensorLayer

    Deep Learning and Reinforcement Learning Library for Scientists and Engineers

    1,379 Elo −147.3kPython
  46. #8,436
    pliang279/awesome-multimodal-ml

    Reading list for research topics in multimodal machine learning

    1,378 Elo +146.9k
  47. #8,588
    google/trax

    Trax — Deep Learning with Clear Code and Speed

    1,371 Elo −198.3kPython
  48. #9,109
    jason718/awesome-self-supervised-learning

    A curated list of awesome self-supervised methods

    1,344 Elo +46.4k
  49. #9,176
    lucidrains/PaLM-rlhf-pytorch

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

    1,340 Elo −67.8kPython
  50. #9,827
    hijkzzz/Awesome-LLM-Strawberry

    A collection of LLM papers, blogs, and projects, with a focus on OpenAI o1 🍓 and reasoning techniques.

    1,269 Elo −126.9k