Reinforcement Learning Libraries

View 30 business solutions

Browse free open source Reinforcement Learning Libraries and projects below. Use the toggles on the left to filter open source Reinforcement Learning Libraries by OS, license, language, programming language, and project status.

  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Try It Free
  • 1
    AirSim

    AirSim

    A simulator for drones, cars and more, built on Unreal Engine

    AirSim is an open-source, cross platform simulator for drones, cars and more vehicles, built on Unreal Engine with an experimental Unity release in the works. It supports software-in-the-loop simulation with popular flight controllers such as PX4 & ArduPilot and hardware-in-loop with PX4 for physically and visually realistic simulations. It is developed as an Unreal plugin that can simply be dropped into any Unreal environment. AirSim's development is oriented towards the goal of creating a platform for AI research to experiment with deep learning, computer vision and reinforcement learning algorithms for autonomous vehicles. For this purpose, AirSim also exposes APIs to retrieve data and control vehicles in a platform independent way. AirSim is fully enabled for multiple vehicles. This capability allows you to create multiple vehicles easily and use APIs to control them.
    Downloads: 21 This Week
    Last Update:
    See Project
  • 2
    Bullet Physics SDK

    Bullet Physics SDK

    Real-time collision detection and multi-physics simulation for VR

    This is the official C++ source code repository of the Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc. We are developing a new differentiable simulator for robotics learning, called Tiny Differentiable Simulator, or TDS. The simulator allows for hybrid simulation with neural networks. It allows different automatic differentiation backends, for forward and reverse mode gradients. TDS can be trained using Deep Reinforcement Learning, or using Gradient based optimization (for example LFBGS). In addition, the simulator can be entirely run on CUDA for fast rollouts, in combination with Augmented Random Search. This allows for 1 million simulation steps per second. It is highly recommended to use PyBullet Python bindings for improved support for robotics, reinforcement learning and VR. Use pip install pybullet and checkout the PyBullet Quickstart Guide.
    Downloads: 12 This Week
    Last Update:
    See Project
  • 3
    Habitat-Lab

    Habitat-Lab

    A modular high-level library to train embodied AI agents

    Habitat-Lab is a modular high-level library for end-to-end development in embodied AI. It is designed to train agents to perform a wide variety of embodied AI tasks in indoor environments, as well as develop agents that can interact with humans in performing these tasks. Allowing users to train agents in a wide variety of single and multi-agent tasks (e.g. navigation, rearrangement, instruction following, question answering, human following), as well as define novel tasks. Configuring and instantiating a diverse set of embodied agents, including commercial robots and humanoids, specifying their sensors and capabilities. Providing algorithms for single and multi-agent training (via imitation or reinforcement learning, or no learning at all as in SensePlanAct pipelines), as well as tools to benchmark their performance on the defined tasks using standard metrics.
    Downloads: 9 This Week
    Last Update:
    See Project
  • 4
    ViZDoom

    ViZDoom

    Doom-based AI research platform for reinforcement learning

    ViZDoom allows developing AI bots that play Doom using only the visual information (the screen buffer). It is primarily intended for research in machine visual learning, and deep reinforcement learning, in particular. ViZDoom is based on ZDOOM, the most popular modern source-port of DOOM. This means compatibility with a huge range of tools and resources that can be used to create custom scenarios, availability of detailed documentation of the engine and tools and support of Doom community. Async and sync single-player and multi-player modes. Fast (up to 7000 fps in sync mode, single-threaded). Lightweight (few MBs). Customizable resolution and rendering parameters. Access to the depth buffer (3D vision). Automatic labeling of game objects visible in the frame. Access to the list of actors/objects and map geometry.ViZDoom API is reinforcement learning friendly (suitable also for learning from demonstration, apprenticeship learning or apprenticeship via inverse reinforcement learning.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 99.99% Uptime for MySQL and PostgreSQL Databases Icon
    99.99% Uptime for MySQL and PostgreSQL Databases

    Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

    Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
    Try Free
  • 5
    Godot RL Agents

    Godot RL Agents

    An Open Source package that allows video game creators

    godot_rl_agents is a reinforcement learning integration for the Godot game engine. It allows AI agents to learn how to interact with and play Godot-based games using RL algorithms. The toolkit bridges Godot with Python-based RL libraries like Stable-Baselines3, making it possible to create complex and visually rich RL environments natively in Godot.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 6
    Physical Symbolic Optimization (Φ-SO)

    Physical Symbolic Optimization (Φ-SO)

    Physical Symbolic Optimization

    Physical Symbolic Optimization (Φ-SO) - A symbolic optimization package built for physics. Symbolic regression module uses deep reinforcement learning to infer analytical physical laws that fit data points, searching in the space of functional forms.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 7
    Stable Baselines3

    Stable Baselines3

    PyTorch version of Stable Baselines

    Stable Baselines3 (SB3) is a set of reliable implementations of reinforcement learning algorithms in PyTorch. It is the next major version of Stable Baselines. You can read a detailed presentation of Stable Baselines3 in the v1.0 blog post or our JMLR paper. These algorithms will make it easier for the research community and industry to replicate, refine, and identify new ideas, and will create good baselines to build projects on top of. We expect these tools will be used as a base around which new ideas can be added, and as a tool for comparing a new approach against existing ones. We also hope that the simplicity of these tools will allow beginners to experiment with a more advanced toolset, without being buried in implementation details.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 8
    TorchRL

    TorchRL

    A modular, primitive-first, python-first PyTorch library

    TorchRL is an open-source Reinforcement Learning (RL) library for PyTorch. TorchRL provides PyTorch and python-first, low and high-level abstractions for RL that are intended to be efficient, modular, documented, and properly tested. The code is aimed at supporting research in RL. Most of it is written in Python in a highly modular way, such that researchers can easily swap components, transform them, or write new ones with little effort.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    AgentUniverse

    AgentUniverse

    agentUniverse is a LLM multi-agent framework

    AgentUniverse is a multi-agent AI framework that enables coordination between multiple intelligent agents for complex task execution and automation.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Try Free
  • 10
    Machine Learning PyTorch Scikit-Learn

    Machine Learning PyTorch Scikit-Learn

    Code Repository for Machine Learning with PyTorch and Scikit-Learn

    Initially, this project started as the 4th edition of Python Machine Learning. However, after putting so much passion and hard work into the changes and new topics, we thought it deserved a new title. So, what’s new? There are many contents and additions, including the switch from TensorFlow to PyTorch, new chapters on graph neural networks and transformers, a new section on gradient boosting, and many more that I will detail in a separate blog post. For those who are interested in knowing what this book covers in general, I’d describe it as a comprehensive resource on the fundamental concepts of machine learning and deep learning. The first half of the book introduces readers to machine learning using scikit-learn, the defacto approach for working with tabular datasets. Then, the second half of this book focuses on deep learning, including applications to natural language processing and computer vision.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 11
    Project Malmo

    Project Malmo

    A platform for Artificial Intelligence experimentation on Minecraft

    How can we develop artificial intelligence that learns to make sense of complex environments? That learns from others, including humans, how to interact with the world? That learns transferable skills throughout its existence, and applies them to solve new, challenging problems? Project Malmo sets out to address these core research challenges, addressing them by integrating (deep) reinforcement learning, cognitive science, and many ideas from artificial intelligence. The Malmo platform is a sophisticated AI experimentation platform built on top of Minecraft, and designed to support fundamental research in artificial intelligence. The Project Malmo platform consists of a mod for the Java version, and code that helps artificial intelligence agents sense and act within the Minecraft environment. The two components can run on Windows, Linux, or Mac OS, and researchers can program their agents in any programming language they’re comfortable with.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 12
    Tensorforce

    Tensorforce

    A TensorFlow library for applied reinforcement learning

    Tensorforce is an open-source deep reinforcement learning framework built on TensorFlow, emphasizing modularized design and straightforward usability for applied research and practice.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    AI4U

    AI4U

    Multi-engine plugin to specify agents with reinforcement learning

    AI4U is a multi-engine plugin (Godot and Unity) that allows you to design Non-Player Characters (NPCs) of games using an agent abstraction. In addition, AI4U has a low-level API that allows you to connect the agent to any algorithm made available in Python by the reinforcement learning community specifically and by the Artificial Intelligence community in general. Reinforcement learning promises to overcome traditional navigation mesh mechanisms in games and to provide more autonomous characters. AI4U can be integrated into Imitation Learning through Behavioral Cloning or Generative Adversarial Imitation Learning present on stable-baslines. Train using multiple concurrent Unity/Godot environment instances. Unity/Godot environment partial control from Python. Wrap Unity/Godot learning environments as a gym.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    CCZero (中国象棋Zero)

    CCZero (中国象棋Zero)

    Implement AlphaZero/AlphaGo Zero methods on Chinese chess

    ChineseChess-AlphaZero is a project that implements the AlphaZero algorithm for the game of Chinese Chess (Xiangqi). It adapts DeepMind’s AlphaZero method—combining neural networks and Monte Carlo Tree Search (MCTS)—to learn and play Chinese Chess without prior human data. The system includes self-play, training, and evaluation pipelines tailored to Xiangqi's unique game mechanics.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    H2O LLM Studio

    H2O LLM Studio

    Framework and no-code GUI for fine-tuning LLMs

    Welcome to H2O LLM Studio, a framework and no-code GUI designed for fine-tuning state-of-the-art large language models (LLMs). You can also use H2O LLM Studio with the command line interface (CLI) and specify the configuration file that contains all the experiment parameters. To finetune using H2O LLM Studio with CLI, activate the pipenv environment by running make shell. With H2O LLM Studio, training your large language model is easy and intuitive. First, upload your dataset and then start training your model. Start by creating an experiment. You can then monitor and manage your experiment, compare experiments, or push the model to Hugging Face to share it with the community.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    Jittor

    Jittor

    Jittor is a high-performance deep learning framework

    Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators. The whole framework and meta-operators are compiled just in time. A powerful op compiler and tuner are integrated into Jittor. It allowed us to generate high-performance code specialized for your model. Jittor also contains a wealth of high-performance model libraries, including image recognition, detection, segmentation, generation, differentiable rendering, geometric learning, reinforcement learning, etc. The front-end language is Python. Module Design and Dynamic Graph Execution is used in the front-end, which is the most popular design for deep learning framework interface. The back-end is implemented by high-performance languages, such as CUDA, C++. Jittor'op is similar to NumPy. Let's try some operations. We create Var a and b via operation jt.float32, and add them. Printing those variables shows they have the same shape and dtype.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    ML for Trading

    ML for Trading

    Code for machine learning for algorithmic trading, 2nd edition

    On over 800 pages, this revised and expanded 2nd edition demonstrates how ML can add value to algorithmic trading through a broad range of applications. Organized in four parts and 24 chapters, it covers the end-to-end workflow from data sourcing and model development to strategy backtesting and evaluation. Covers key aspects of data sourcing, financial feature engineering, and portfolio management. The design and evaluation of long-short strategies based on a broad range of ML algorithms, how to extract tradeable signals from financial text data like SEC filings, earnings call transcripts or financial news. Using deep learning models like CNN and RNN with financial and alternative data, and how to generate synthetic data with Generative Adversarial Networks, as well as training a trading agent using deep reinforcement learning.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    PettingZoo

    PettingZoo

    An API standard for multi-agent reinforcement learning environments

    PettingZoo is a standardized API and library for multi-agent reinforcement learning (MARL) environments. It provides a broad set of environments and tools to facilitate the development and evaluation of multi-agent algorithms.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    Pwnagotchi

    Pwnagotchi

    Deep Reinforcement learning instrumenting bettercap for WiFi pwning

    Pwnagotchi is an A2C-based “AI” powered by bettercap and running on a Raspberry Pi Zero W that learns from its surrounding WiFi environment in order to maximize the crackable WPA key material it captures (either through passive sniffing or by performing deauthentication and association attacks). This material is collected on disk as PCAP files containing any form of handshake supported by hashcat, including full and half WPA handshakes as well as PMKIDs. Instead of merely playing Super Mario or Atari games like most reinforcement learning based “AI” (yawn), Pwnagotchi tunes its own parameters over time to get better at pwning WiFi things in the real world environments you expose it to. To give hackers an excuse to learn about reinforcement learning and WiFi networking, and have a reason to get out for more walks.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    RWARE

    RWARE

    MuA multi-agent reinforcement learning environment

    robotic-warehouse is a simulation environment and framework for robotic warehouse automation, enabling research and development of AI and robotic agents to manage warehouse logistics, such as item picking and transport.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    TaskWeaver

    TaskWeaver

    A code-first agent framework for seamlessly planning analytics tasks

    TaskWeaver is a multi-agent AI framework designed for orchestrating autonomous agents that collaborate to complete complex tasks.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    verl

    verl

    Volcano Engine Reinforcement Learning for LLMs

    VERL is a reinforcement-learning–oriented toolkit designed to train and align modern AI systems, from language models to decision-making agents. It brings together supervised fine-tuning, preference modeling, and online RL into one coherent training stack so teams can move from raw data to aligned policies with minimal glue code. The library focuses on scalability and efficiency, offering distributed training loops, mixed precision, and replay/buffering utilities that keep accelerators busy. It ships with reference implementations of popular alignment algorithms and clear examples that make it straightforward to reproduce baselines before customizing. Data pipelines treat human feedback, simulated environments, and synthetic preferences as interchangeable sources, which helps with rapid experimentation. VERL is meant for both research and production hardening: logging, checkpointing, and evaluation suites are built in so you can track learning dynamics and regressions over time.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    This project provides a framework for testing and comparing different machine learning algorithms (particularly reinforcement learning methods) in different scenarios. Its intended area of application is in research and education.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 24
    SkyAI
    Highly modularized Reinforcement Learning library for real/simulation robots to learn behaviors. Our ultimate goal is to develop an artificial intelligence (AI) program with which the robots can learn to behave as their users wish.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 25
    PIQLE is a Platform Implementing Q-LEarning (and other Reinforcement Learning) algorithms in JAVA. Version 2 is a major refactoring. The core data structures and algorithms are in piqle-coreVersion2. Examples are in piqle-examplesVersion2. A complete doc
    Downloads: 1 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • 5
  • Next

Guide to Open Source Reinforcement Learning Libraries

Open source reinforcement learning libraries provide developers, researchers, and organizations with frameworks for building, training, evaluating, and deploying reinforcement learning models. These libraries simplify the process of creating agents that learn by interacting with environments and improving their decision-making through trial and error. By offering reusable components, standardized workflows, and extensive documentation, they reduce development effort while supporting experimentation across a wide range of learning tasks. Many libraries also support integration with machine learning frameworks, simulation environments, and cloud infrastructure to streamline development.

These libraries are widely used in fields such as robotics, autonomous systems, gaming, finance, manufacturing, and scientific research. They often include tools for implementing popular reinforcement learning algorithms, managing training pipelines, tracking performance metrics, and comparing different approaches under consistent conditions. Many also provide utilities for distributed training, hyperparameter optimization, environment customization, and visualization, making it easier to scale projects from early prototypes to larger production workloads. Their flexibility allows teams to adapt models for unique business objectives and operational requirements.

As reinforcement learning continues to evolve, open source libraries remain central to advancing innovation and collaboration. Organizations can customize existing capabilities, contribute improvements, and adopt emerging techniques without being limited by proprietary ecosystems. This collaborative development model encourages continuous enhancements, broader compatibility, and faster adoption of new research. Whether supporting academic exploration or commercial initiatives, open source reinforcement learning libraries help organizations accelerate development while maintaining control over their workflows and technology choices.

Open Source Reinforcement Learning Libraries Features

  • Flexible training pipelines: Support configurable workflows for training, evaluation, and policy improvement across reinforcement learning tasks.
  • Multiple algorithm support: Include value-based, policy-based, and actor-critic methods for solving diverse decision-making challenges.
  • Environment compatibility: Connect with standardized simulation environments for consistent testing and benchmarking.
  • Custom environment creation: Enable users to build specialized environments matching unique business or research objectives.
  • Model checkpointing: Save training progress regularly for recovery, comparison, and continued optimization.
  • Hyperparameter configuration: Allow adjustment of learning rates, batch sizes, exploration settings, and other training variables.
  • Performance monitoring: Track rewards, losses, and learning metrics throughout training to measure improvement.
  • Hardware acceleration: Utilize GPUs and other supported processors to reduce training time for computationally intensive workloads.

What Are the Different Types of Open Source Reinforcement Learning Libraries?

  • Model-free libraries: Learn effective policies through trial and error without requiring environment models.
  • Model-based libraries: Build environment representations to improve planning, prediction, and decision-making efficiency.
  • Deep reinforcement learning libraries: Combine neural networks with reinforcement learning techniques for complex learning tasks.
  • Multi-agent reinforcement learning libraries: Support environments where multiple agents cooperate, compete, or interact simultaneously.
  • Offline reinforcement learning libraries: Train models using previously collected datasets instead of continuous environment interaction.
  • Distributed reinforcement learning libraries: Scale training across multiple devices to reduce processing time and improve performance.
  • Research-focused libraries: Prioritize experimentation, algorithm development, benchmarking, and academic exploration with flexible architectures.
  • Production-ready libraries: Emphasize reliability, deployment support, monitoring capabilities, and integration with enterprise workflows.

Benefits of Open Source Reinforcement Learning Libraries

  • Greater flexibility: Modify algorithms and workflows to match unique research or business objectives.
  • Lower licensing costs: Reduce upfront expenses while expanding experimentation opportunities.
  • Transparent development: Review implementation details to improve trust and understanding.
  • Community contributions: Benefit from continuous enhancements, bug fixes, and shared knowledge.
  • Broad customization: Adapt training methods, environments, and evaluation processes with fewer restrictions.
  • Faster innovation: Access emerging reinforcement learning techniques through active development communities.
  • Better interoperability: Connect with complementary machine learning, analytics, and infrastructure tools.
  • Scalable deployment: Support projects ranging from prototypes to large production environments.

What Types of Users Use Open Source Reinforcement Learning Libraries?

  • AI researchers: Build, evaluate, and refine reinforcement learning models for academic and experimental work.
  • Data science teams: Explore decision-making methods using reinforcement learning tools across research initiatives.
  • Robotics engineers: Train autonomous systems to improve actions through continuous environmental feedback.
  • Machine learning engineers: Develop and optimize reinforcement learning workflows for production-ready AI applications.
  • Universities: Teach reinforcement learning concepts through practical projects and laboratory exercises.
  • Research laboratories: Test new algorithms, environments, and training approaches for advanced AI studies.
  • Autonomous vehicle developers: Improve driving strategies by training agents under simulated conditions.
  • Industrial automation teams: Optimize operational decisions using reinforcement learning techniques across complex processes.

How Much Do Open Source Reinforcement Learning Libraries Cost?

The cost of open source reinforcement learning libraries can vary widely depending on how they are implemented and supported within an organization. While the libraries themselves are often available without licensing fees, businesses should still account for expenses related to deployment, infrastructure, customization, and ongoing maintenance. Small teams may be able to use existing resources to build and test reinforcement learning models, while larger organizations often invest in more powerful computing environments and specialized expertise to support production workloads.

Additional costs may include cloud computing resources, data storage, model training, consulting services, employee training, and integration with existing tools. Organizations with advanced performance, security, or scalability requirements may also spend more on infrastructure and operational support. Evaluating the total cost of ownership rather than focusing only on acquisition costs provides a more accurate understanding of the investment required for open source reinforcement learning libraries.

What Software Can Integrate With Open Source Reinforcement Learning Libraries?

Open source reinforcement learning libraries can integrate with machine learning frameworks, allowing teams to build, train, and evaluate reinforcement learning models alongside other artificial intelligence workflows. They also connect with simulation platforms that create virtual environments for testing agents before deployment in real-world scenarios. Data storage solutions support logging, dataset management, and experiment tracking, while visualization and analytics tools help monitor training progress and evaluate performance over time.

Cloud infrastructure platforms can provide scalable computing resources for training complex models, and containerization tools simplify deployment across development and production environments. Integration with robotics platforms, game engines, and automation frameworks enables reinforcement learning agents to interact with physical devices or simulated systems. Version control, workflow automation, and monitoring tools also complement these libraries by supporting collaboration, reproducibility, and operational management throughout the development lifecycle.

Recent Trends Related to Open Source Reinforcement Learning Libraries

  • More libraries emphasize scalable distributed training to support larger experiments across multiple devices and cloud environments.
  • Offline reinforcement learning receives greater attention, allowing models to learn from existing datasets instead of continuous live interactions.
  • Improved simulation compatibility helps researchers evaluate learning strategies before deploying them in physical or production environments.
  • Better support for large language model integration expands reinforcement learning into conversational and reasoning-focused applications.
  • More developers prioritize modular architectures that simplify customization, testing, and maintenance across different reinforcement learning workflows.
  • Growing demand for reproducible experiments encourages standardized benchmarks, evaluation methods, and documentation across open source communities.
  • Hardware acceleration improvements reduce training time while making advanced reinforcement learning workflows more accessible for broader audiences.
  • Expanded multi-agent capabilities support complex environments where multiple learning agents cooperate or compete to solve challenging tasks.

How To Get Started With Open Source Reinforcement Learning Libraries

Selecting the right open source reinforcement learning libraries starts with defining your objectives, whether they involve research, education, simulation, or production deployment. Evaluate whether the library supports the algorithms, environments, and workflows your team requires. Consider compatibility with existing machine learning frameworks, hardware acceleration, and operating environments to reduce integration challenges.

Review the quality of documentation, tutorials, and technical references to determine how quickly users can become productive. Active development, frequent updates, and a strong contributor community are good indicators that the library will continue to improve over time. Assess scalability, customization options, and performance using workloads similar to your intended use case. Finally, examine licensing terms, security practices, and long-term maintenance to ensure the library aligns with organizational policies and future growth plans.