Overview#

MuJoCo Playground is a suite of robot environments, reinforcement learning tasks, and hardware workflows built on reaf-sim.

Quickstart#

Clone the repository and sync dependencies with uv:

git clone https://github.com/google-deepmind/mujoco_playground.git && cd mujoco_playground

# Then install with one of:
make sync  # For GPU, good for RL training

make sync-cu12  # For CUDA 12 on Linux

make sync-cpu  # Or for CPU only, (i.e. on macOS)

make test  # Run tests

Train a PPO policy on GPU using the environment’s pre-configured observations, rewards, and domain randomization, then play back the checkpoint in the interactive viewer:

uv run --extra rl playground train rsl_rl \
  --env=SO101PickCube \
  --logdir=/tmp/rslrl_logs/so101_pick_cube

uv run --extra rl playground play rsl_rl \
  --env=SO101PickCube \
  --resume_path=/tmp/rslrl_logs/so101_pick_cube

Highlights#