RL Forge is an open source reinforcement learning library that aims to provide the users with useful functions for the development of Reinforcement Learning Agents. The library also includes multiple popular reinforcement learning agents and environments, in addition, it is designed to be compatible with the gymnasium library (previous OpenAI Gym).
If you already have Python installed in your computer, you can install RLForge with:
pip install rlforge
This will download and install the latest stable release of rlforge
available in the Python Package Index.
RLForge works with Python 3.9 or later, intalling RLForge with pip
will automatically download all required packages if they are not present in your workspace.
The documentation, with examples, can be found in Read the Docs (NOTE: Currently the documentation is under development and is not totaly complete).
Multiple examples on how to use the different agents are included in the examples folder. These examples include using the library both with gymnasium environments and environments included in this package.
- SARSA - Frozen Lake
- Dyna Architecture - Planning Agents
- Tabular Methods Comparison
- Function Approximation with Tile Coding and Q learning - Mountain Car
- Tile Coding Q learning - Mecanum Car Environment
- Tile Coding Q learning - Obstacle Avoidance Environment
- Tile Coding Q learning - Trajectory Tracking Environment
- DQN - Mountain Car
- Softmax and Gaussian Actor Critic - Pendulum