google-deepmind/mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.

Edition record

  • 2026-11-28 · cooling · 7d · large — rank 10 / 124
  1. 2026-11-28 · cooling · large — rank 10 / 124
  2. 2026-11-25 · cooling · large — rank 8 / 131
  3. 2026-11-24 · cooling · large — rank 8 / 122

MuJoCo — What it is

MuJoCo (short for Multi-Joint dynamics with Contact) is a physics engine — a piece of software that simulates how objects move, collide, and interact in a virtual world. It's designed for researchers and developers working on robotics, biomechanics, computer graphics/animation, and machine learning, where you need fast and accurate simulation of things with joints (like robot arms, humanoid bodies, or animal skeletons) as they push against each other and their surroundings.

Who makes it: Google DeepMind maintains the project.

What it does

  • Simulates articulated structures — objects made of linked parts (e.g., a robot with rotating joints) interacting with their environment, including contact and collision.
  • Exposes a C API — the core is written in C, tuned for speed, and works on low-level data structures that are preallocated by a built-in XML compiler (you describe your model in XML, and MuJoCo compiles it into an efficient internal format).
  • Includes interactive visualization — you can view simulations in native desktop windows or in web browsers.
  • Provides utility functions — many helper functions for computing physics-related quantities (forces, positions, velocities, etc.).
  • Offers official bindings — Python bindings and a Unity game-engine plug-in are provided.

How you get started

  1. Try it in your browser — visit mujoco.org for a no-install demo, or live.mujoco.org to drag-and-drop your own models into a WebAssembly version of the MuJoCo Studio app (slower than native C, since it runs in a browser).
  2. Run a viewer locally — download a prebuilt release and run the MuJoCo Studio app or the classic simulate viewer.
  3. Use Python tutorials — Google Colab notebooks cover basics, model editing, multithreaded rollout, LQR control (balancing a humanoid on one leg), least-squares solving, MJX (a JAX-based branch), and differentiable physics.

Installation

  • Prebuilt binaries (recommended): available for Linux (x86-64 and AArch64), Windows (x86-64 only), and macOS (universal) from the GitHub releases page.
  • Python: pip install mujoco (requires Python ≥ 3.11; Linux wheels target manylinux2014).
  • From source: possible, but the main branch tip may be unstable.

Versioning & contributions

  • Releases aim for the first week of each month; versioning switched to modified Semantic Versioning starting with 3.5.0.
  • The project welcomes questions (via GitHub Discussions), bug reports, and feature requests (via GitHub Issues).

Related software

  • First-party bindings: Python, JavaScript/WebAssembly, and C#/Unity.
  • Third-party bindings: MATLAB Simulink, Swift, Java, Julia, Rust.
  • Converters: tools to convert models from OpenSim, SDFormat, OBJ files, and Onshape CAD assemblies into MuJoCo's MJCF format (and vice versa).

License & citation

  • Source code: Apache License 2.0. Documentation (in the doc directory): Creative Commons Attribution 4.0. Box collision code is separately copyrighted by Svetoslav Kolev.
  • Not an officially supported Google product.
  • If you use MuJoCo in published research, cite the 2012 paper by Todorov, Erez, and Tassa (details in the README).

Related

  • Project
  • Project
  • Project
  • Project
  • Project