Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environments

OGym provides 21 environments behind one typed Environment contract. The state returned by an environment is the agent-visible observation; it is not necessarily the backend’s complete physical state.

FamilyEnvironmentsActionsBackend
Classic ControlAcrobot, CartPole, MountainCar, PendulumDiscrete and continuousNative Rust
Toy TextBlackjack, CliffWalking, FrozenLake, TaxiDiscreteNative Rust
RapierBipedalWalker, LunarLanderContinuous; LunarLander also supports discreteRapier2D
MuJoCoAnt, HalfCheetah, Hopper, Humanoid, HumanoidStandup, InvertedDoublePendulum, InvertedPendulum, Pusher, Reacher, Swimmer, Walker2dContinuousMuJoCo 3.10.0

Every environment page specifies the observation and action spaces, transition or backend dynamics, reward, termination and truncation conditions, configuration, and returned information. See notation and conventions before comparing equations across families.