C++ reinforcement-learning

Open-source C++ projects categorized as reinforcement-learning

Top 15 C++ reinforcement-learning Projects

  • Bullet

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

    Project mention: Why are there triple AAA games bad optimized and with lots of bugs?? | reddit.com/r/gamedev | 2022-11-28
  • 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.

    Project mention: Microsoft Reinforcement Learning Open Source Fest 2022 – Native CSV Parser | dev.to | 2022-08-13

    My project here at the Reinforcement Learning Open Source Fest 2022 is to add the native CSV parsing feature for the Vowpal Wabbit.

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

  • open_spiel

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

    Project mention: Mastering Stratego, the classic game of imperfect information | news.ycombinator.com | 2022-12-01

    I 404'ed when I tried to access the source code?


    Someone needs to create a web front end for this -- I would love to play it.

  • ViZDoom

    Doom-based AI Research Platform for Reinforcement Learning from Raw Visual Information. :godmode:

    Project mention: ViZDoom has joined the Farama Foundation | reddit.com/r/reinforcementlearning | 2022-11-02
  • envpool

    C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.

    Project mention: [R] EnvPool: A Highly Parallel Reinforcement Learning Environment Execution Engine | reddit.com/r/MachineLearning | 2022-06-24

    Code for https://arxiv.org/abs/2206.10558 found: https://github.com/sail-sg/envpool

  • spot_mini_mini

    Dynamics and Domain Randomized Gait Modulation with Bezier Curves for Sim-to-Real Legged Locomotion.

  • AI-Toolbox

    A C++ framework for MDPs and POMDPs with Python bindings

    Project mention: Impact of using sockets to communicate between Python and RL environment | reddit.com/r/reinforcementlearning | 2022-10-02

    Makes sense. I was just wondering if someone had any comparisons to share. I will create a toy environment in Unreal and compare integrating RL C++ libraries (looking at AI-Toolbox and mlpack) vs using Python with socket communication.

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • ns3-gym

    ns3-gym - The Playground for Reinforcement Learning in Networking Research

    Project mention: Help in identifying the algorithm used in RL code | reddit.com/r/reinforcementlearning | 2022-02-18

    This is the GitHub link for the project code

  • megaverse

    High-throughput simulation platform for Artificial Intelligence reseach

  • bomberland

    Bomberland: a multi-agent AI competition based on Bomberman. This repository contains both starter / hello world kits + the engine source code

  • muzero-cpp

    A C++ pytorch implementation of MuZero

    Project mention: Developing a C++ Library based on Torch | reddit.com/r/reinforcementlearning | 2022-06-24

    I also have a C++ implementation of MuZero, which has checkpointing/tensorboard support. If you have questions about design or functionality, let me know.

  • snakeAI

    testing MLP, DQN, PPO, policy-gradient , LSTM + DQN by snake

    Project mention: [D] How does Deep Reinforcement Learning remove the need to map or explore every state, action pair for an agent? | reddit.com/r/MachineLearning | 2021-12-28

    i am not very good at machine learning, here's my project https://github.com/WorldEditor50/snakeAI/tree/master/snakeAI, i hope it can help you.

  • torchRL

    TorchRL is a C++ reinforcement library using PyTorch C++ backend LibTorch

    Project mention: I implemented PPO in C++ using libtorch to learn more about RL and PPO. Feedback welcome! | reddit.com/r/reinforcementlearning | 2022-07-20
  • loneliless

    A Deep-Q Network playing a single player Pong game. Network done in Python (Tensorflow-gpu) with the single player Pong game implemented in C++ (Openframeworks) and both binded with Pybind11.

    Project mention: I wrote a NPC-only pong game with Tensorflow and C++ | reddit.com/r/deeplearning | 2021-12-21
  • chess-deep-rl-cpp

    C++ version of my chess-deep-rl project. WIP

    Project mention: C++ Show and Tell - August 2022 | reddit.com/r/cpp | 2022-08-01

    In january, I created a deep reinforcement learning chess engine in Python (based on AlphaZero) for my Bachelor's thesis. I realized Python was too slow for something like this, so I decided to rewrite it entirely in C++ in my free time: https://github.com/zjeffer/chess-deep-rl-cpp.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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). The latest post mention was on 2022-12-01.

C++ reinforcement-learning related posts


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

Project Stars
1 Bullet 10,009
2 vowpal_wabbit 8,081
3 open_spiel 3,399
4 ViZDoom 1,444
5 envpool 685
6 spot_mini_mini 665
7 AI-Toolbox 580
8 ns3-gym 362
9 megaverse 190
10 bomberland 67
11 muzero-cpp 22
12 snakeAI 6
13 torchRL 0
14 loneliless 0
15 chess-deep-rl-cpp 0
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.