Reinforcement Learning Lab

Eight reinforcement-learning labs: classical, deep, policy optimisation, bandits, planning and multi-agent, with experiments trained for real in your browser.

39interactive experiments

Reinforcement Learning Lab

RL Environments Library

Only environments that were really implemented and tested appear here, each with its state and action space, reward function and success and failure conditions. Environments that are not implemented are listed honestly at the end.

  • 19Tested environments
Implemented and testedBeginner

GridWorld (configurable)

A grid up to 12×12 with goals, pits, walls, bonus cells and random slip; this lab's own environment.

Implemented and testedBeginner

FrozenLake

A frozen lake of 4×4 or 8×8 with holes and optional slipping; dynamics follow Gymnasium.

Implemented and testedIntermediate

Taxi

A driver picks up a passenger and drops them off in a 5×5 grid (500 states).

Implemented and testedBeginner

Cliff Walking

A 4×12 grid with a cliff; the classic Sutton & Barto setting for comparing Q-learning with SARSA.

Implemented and testedIntermediate

CartPole

A cart balancing a pole; the dynamics match Gymnasium and are verified in the tests.

Implemented and testedIntermediate

MountainCar

A car in a valley that must rock back and forth to reach the hilltop; an example of sparse rewards.

Implemented and testedAdvanced

Acrobot

A two-link arm whose tip must be swung above a line.

Implemented and testedAdvanced

Pendulum

Swing a pendulum up and hold it upright; a continuous action.

Implemented and testedAdvanced

Continuous robot navigation

A point robot reaching a goal while avoiding obstacles; this lab's own environment with a 14-value observation and a 2-D continuous action.

Implemented and testedIntermediate

Your own MDP

You define states, actions, transitions and rewards in the interactive builder and solve the model with value or policy iteration.

Implemented and testedIntermediate

Multi-agent grid

Two or three agents on an n×n grid with three modes: cooperative (rendezvous), competitive (race), and task allocation.

Implemented and testedBeginner

Three-lane driving

Switching lanes to avoid blocks in upcoming rows; a teaching model.

Implemented and testedIntermediate

Traffic signal

Two queues on two approaches and a green phase; keep or switch (a switch wastes a step).

Implemented and testedIntermediate

Battery energy storage

Charge/discharge a battery over a day with a fixed synthetic price curve.

Implemented and testedBeginner

Thermostat tank

Control a three-setting heater to hold a set point with a door-open disturbance.

Implemented and testedIntermediate

Cloud autoscaler

Choose 1..5 servers against a randomly drifting load.

Implemented and testedBeginner

Dosing (educational only)

A toy dose-decision between efficacy and toxicity with invented parameters; no clinical data and not suitable for any treatment decision.

Implemented and testedBeginner

Portfolio (synthetic)

Choose the risky-asset share 0/50/100% across synthetic regimes (bull, bear, sideways); not financial advice.