Fast physics engine for robotics, biomechanics and reinforcement learning research, with a C API and Python bindings
open sourceApache-2.0free
MuJoCo (Multi-Joint dynamics with Contact) is an Apache-2.0 general-purpose physics engine maintained by Google DeepMind, built for fast, accurate simulation of articulated structures in contact with their environment, for robotics, biomechanics, graphics and animation, and machine learning. Models are written in its XML format and compiled to preallocated data structures, and it has a C API, official Python bindings on PyPI, a Unity plug-in, and interactive viewers on the desktop and in the browser through WebAssembly. Related first-party projects include MuJoCo XLA (MJX) for JAX, MuJoCo Warp for GPUs, MuJoCo Playground for robot learning and the Menagerie collection of robot models.
Problems it solves
- simulate a robot arm or legged robot for reinforcement learning
- train a robot control policy in simulation before deploying it
- a fast physics simulator for biomechanics research
Features
- C API for simulating articulated bodies with contact
- XML model format and compiler
- official Python bindings
- native and in-browser (WebAssembly) viewers
- Unity plug-in
- MJX for JAX and MuJoCo Warp for GPU simulation
- prebuilt releases for Linux, Windows and macOS
Limitations
- Prebuilt Windows releases are x86-64 only.1
Alternatives
The same job
These do what MuJoCo does.
- Genesis World A GPU physics simulation platform for robotics and embodied AI, with a photo-realistic renderer
- Bullet Physics Real-time collision detection and physics simulation SDK
