// 训练和微调
MuJoCo(DeepMind 开源物理仿真引擎,机器人与强化学习常用)4.0.1
MuJoCo(Multi-Joint dynamics with Contact)是 Google DeepMind 维护的开源通用物理仿真引擎,以 Apache-2.0 许可证发布,广泛用于机器人控制、强化学习、生物力学和具身智能研究。它擅长快速而精确地模拟带接触的多关节刚体,也支持柔性体、肌腱和执行器建模,模型用 MJCF(XML)描述,提供 C API、Python 绑定(pip install mujoco)、交互式可视化工具,以及在 GPU/TPU 上批量仿真的 MJX 等配套项目。2026 年 11 月 6 日发布 4.0.0 大版本,官方公告汇总了 3.0 以来的新功能,新增推测式推进(speculative)等特性,并在 mujoco.org 上线交互式展示和 MuJoCo Live 浏览器演示;11 月 11 日发布 4.0.1,修复 4.0.0 引入的稀疏 Cholesky 分解错误(会导致牛顿求解器收敛变慢甚至发散),并让 MuJoCo Studio 网页查看器支持 Windows。已在用 4.0.0 的用户建议升级到 4.0.1。适合做机器人、强化学习和具身智能训练的研究者与工程师。
开源 维护中 开发者
官方下载官方直链
4.0.1 · 2026-11-11
按钮直接指向官方文件(github.com),本站不转存、不改动安装包。核实于 2026-11-30。 全部文件、校验值和安装步骤 →
一段话结论
MuJoCo(DeepMind 开源物理仿真引擎,机器人与强化学习常用) 是MuJoCo(Multi-Joint dynamics with Contact)是 Google DeepMind 维护的开源通用物理仿真引擎,以 Apache-2.0 许可证发布,广泛用于机器人控制、强化学习、生物力学和具身智能研究。它擅长快速而精确地模拟带接触的多关节刚体,也支持柔性体、肌腱和执行器建模,模型用 MJCF(XML)描述,提供 C API、Python 绑定(pip install mujoco)、交互式可视化工具,以及在 GPU/TPU 上批量仿真的 MJX 等配套项目。2026 年 11 月 6 日发布 4.0.0 大版本,官方公告汇总了 3.0 以来的新功能,新增推测式推进(speculative)等特性,并在 mujoco.org 上线交互式展示和 MuJoCo Live 浏览器演示;11 月 11 日发布 4.0.1,修复 4.0.0 引入的稀疏 Cholesky 分解错误(会导致牛顿求解器收敛变慢甚至发散),并让 MuJoCo Studio 网页查看器支持 Windows。已在用 4.0.0 的用户建议升级到 4.0.1。适合做机器人、强化学习和具身智能训练的研究者与工程师。
适合:想训练和微调的开发者和团队。
01怎么开始
- 1先看官方快速上手(上方按钮)。
- 2按官方说明安装或注册。
- 3先拿一个小例子跑通,再接进项目。
02README(项目原文)
以下内容来自 google-deepmind/mujoco 的 README,许可证 Apache-2.0,版权归原作者。 查看原文 ↗
MuJoCo stands for Multi-Joint dynamics with Contact. It is a general purpose physics engine that aims to facilitate research and development in robotics, biomechanics, graphics and animation, machine learning, and other areas which demand fast and accurate simulation of articulated structures interacting with their environment.
This repository is maintained by Google DeepMind.
MuJoCo has a C API and is intended for researchers and developers. The runtime simulation module is tuned to maximize performance and operates on low-level data structures that are preallocated by the built-in XML compiler. The library includes interactive visualization in native desktop windows and web browsers. MuJoCo further exposes a large number of utility functions for computing physics-related quantities.
We also provide Python bindings and a plug-in for the Unity game engine.
Documentation
MuJoCo's documentation can be found at mujoco.readthedocs.io. Upcoming features due for the next release can be found in the changelog in the "latest" branch.
Getting Started
-
Try MuJoCo in your browser. Visit mujoco.org to explore MuJoCo on desktop or mobile with nothing to install, or open live.mujoco.org to inspect and drag and drop your own models in the WebAssembly version of the MuJoCo Studio app (slower than native C, since it runs in WebAssembly).
-
Run a viewer on your machine. Follow the Getting Started guide in the documentation to download a prebuilt release and run the MuJoCo Studio app or the classic
simulateviewer (shown in this video) on your machine. -
Explore our online IPython notebooks. If you are a Python user, you might want to start with our tutorial notebooks running on Google Colab:
- The introductory tutorial teaches MuJoCo basics:
- The Model Editing tutorial shows how to create and edit models procedurally:
- The rollout tutorial shows how to use the multithreaded
rolloutmodule: - The LQR tutorial synthesizes a linear-quadratic controller, balancing a humanoid on one leg:
- The least-squares tutorial explains how to use the Python-based nonlinear least-squares solver:
- The MJX tutorial provides usage examples of MuJoCo XLA, a branch of MuJoCo written in JAX:
- The differentiable physics tutorial trains locomotion policies with analytical gradients automatically derived from MuJoCo's physics step:
Installation
Prebuilt binaries
Versioned releases are available as precompiled binaries from the GitHub releases page, built for Linux (x86-64 and AArch64), Windows (x86-64 only), and macOS (universal). This is the recommended way to use the software.
Building from source
Users who wish to build MuJoCo from source should consult the build from
source section of the documentation. However, note that the commit at
the tip of the main branch may be unstable.
Python (>= 3.11)
The native Python bindings, which come pre-packaged with a copy of MuJoCo, can be installed from PyPI via:
pip install mujoco
Note that Pre-built Linux wheels target manylinux2014, see
here for compatible distributions. For more
information such as building the bindings from source, see the Python bindings
section of the documentation.
Versioning
We aim to release MuJoCo in the first week of each month. Our versioning standards changed to modified Semantic Versioning in 3.5.0, see versioning for details.
Contributing
We welcome community engagement: questions, requests for help, bug reports and feature requests. To read more about bug reports, feature requests and more ambitious contributions, please see our contributors guide and style guide.
Asking Questions
Questions and requests for help are welcome as a GitHub "Asking for Help" Discussion and should focus on a specific problem or question.
Bug reports and feature requests
GitHub Issues are reserved for bug reports, feature requests and other development-related subjects.
Related software
MuJoCo is the backbone for numerous environment packages. Below we list several bindings and converters.
Bindings
These packages give users of various languages access to MuJoCo functionality:
First-party bindings:
- Python bindings
- dm_control, Google DeepMind's related environment stack, includes PyMJCF, a module for procedural manipulation of MuJoCo models.
- JavaScript bindings and WebAssembly support (inspired stillonearth and zalo's community projects; mjswan extends these with real-time policy control, interactive force application, and more).
- C# bindings and Unity plug-in
Third-party bindings:
- MATLAB Simulink: Simulink Blockset for MuJoCo Simulator by Manoj Velmurugan.
- Swift: swift-mujoco
- Java: mujoco-java
- Julia: MuJoCo.jl
- Rust: MuJoCo-rs
Converters
- OpenSim: MyoConverter converts OpenSim models to MJCF.
- SDFormat: gz-mujoco is a two-way SDFormat <-> MJCF conversion tool.
- OBJ: obj2mjcf a script for converting composite OBJ files into a loadable MJCF model.
- onshape: Onshape to Robot Converts onshape CAD assemblies to MJCF.
Citation
If you use MuJoCo for published research, please cite:
@inproceedings{todorov2012mujoco,
title={MuJoCo: A physics engine for model-based control},
author={Todorov, Emanuel and Erez, Tom and Tassa, Yuval},
booktitle={2012 IEEE/RSJ International Conference on Intelligent Robots and Systems},
pages={5026--5033},
year={2012},
organization={IEEE},
doi={10.1109/IROS.2012.6386109}
}
License and Disclaimer
Copyright 2021 DeepMind Technologies Limited.
Box collision code (engine_collision_box.c)
is Copyright 2016 Svetoslav Kolev.
ReStructuredText documents, images, and videos in the doc directory are made
available under the terms of the Creative Commons Attribution 4.0 (CC BY 4.0)
license. You may obtain a copy of the License at
https://creativecommons.org/licenses/by/4.0/legalcode.
Source code is licensed under the Apache License, Version 2.0. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.
This is not an officially supported Google product.
03替代品与对比
并排对比 →版本历史 · 收录依据 · 给 AI 读
给 AI 读
- 调用方式:自身应用或网页
- 机器可读档案:/api/v1/software/mujoco.json · llms.txt
- 收录于 2026-11-12 · 更新于 2026-11-30
