Skip to main content

Reinforcement Learning for Everyone.

Reason this release was yanked:

Wrong Numpy Version

Project description

RLForge Logo

RLForge

docs PyPI - License PyPI - Version PyPI - Python Version PyPI Downloads

RLForge is an open-source reinforcement learning library that makes it easy to experiment with RL algorithms, environments, and training workflows. It is designed to be lightweight, educational, and fully compatible with the Gymnasium ecosystem (formerly OpenAI Gym).

Lunar Lander DQN

Features

  • Educational algorithms: from simple multi-armed bandits and tabular methods (SARSA, Q-learning, Expected SARSA) to function approximation with linear models and MLPs.

  • Advanced deep RL agents: including DQN, REINFORCE, Actor-Critic, DDPG, TD3, SAC, and PPO (both discrete and continuous).

  • Custom environments — bandits, short corridor, maze variations, robotics-inspired tasks like Mecanum Car, and classic control problems such as Pendulum.

  • Gymnasium compatibility: seamlessly integrate RLForge agents with hundreds of standardized benchmark environments.

  • Visualization tools: built-in experiment runner and plotting utilities for learning curves, episode statistics, and trajectory tracking.

  • PyTorch integration: optional install enables neural-network-based agents:

    • DQNTorchAgent
    • DDPGAgent
    • TD3Agent
    • SACAgent
    • PPODiscrete
    • PPOContinuous

    These PyTorch agents also support vectorized environments, allowing parallel training across multiple instances for faster and more stable learning.

Installation

If you already have Python installed, 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.10 or later. Installing with pip will automatically download all required dependencies if they are not already present.

Optional PyTorch Support

To enable PyTorch-based agents, install RLForge with the torch extra:

pip install rlforge[torch]

Or install all optional dependencies:

pip install rlforge[all]

Documentation

Full documentation, including tutorials and examples, is available on Read the Docs.

Explore the examples section to see RLForge in action, from simple bandit problems to advanced continuous control tasks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlforge-1.0.2.tar.gz (74.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rlforge-1.0.2-py3-none-any.whl (98.7 kB view details)

Uploaded Python 3

File details

Details for the file rlforge-1.0.2.tar.gz.

File metadata

  • Download URL: rlforge-1.0.2.tar.gz
  • Upload date:
  • Size: 74.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rlforge-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7583f8a914054c9e4b52f5db9fb3b88b18aaf149a67daf4fd5f5174aa4a61817
MD5 fd21e7ca641997d2184e329eab6b19a4
BLAKE2b-256 49cda94b987412fa2028c3d3dd5a400f96a6f1c628b28f9a1bcdd09eb499df11

See more details on using hashes here.

File details

Details for the file rlforge-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: rlforge-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 98.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for rlforge-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7000287059ea4c4b5b3f6815199ca3ee4a9d81ca294486baaf722d9249b156a
MD5 1c0864e4a6adc24199618297850bb378
BLAKE2b-256 94a7b19669941c8b383e412be913c46c6cbfb5214c9629335ec1032c5b459014

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page