Python inverse kinematics based on MuJoCo
Actively maintained. Last release 4 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install minkmink
mink is a library for differential inverse kinematics in Python, based on the MuJoCo physics engine.
Features include:
- Task specification in configuration or operational space;
- Limits on joint positions and velocities;
- Collision avoidance between any geom pair;
- Support for closed-chain kinematics (loop closures) via equality constraints;
- Lie group interface for rigid body transformations, with native C optimization for IK hot paths.
For usage and API reference, see the documentation.
If you use mink in your research, please cite it as follows:
@software{Zakka_Mink_Python_inverse_2026,
author = {Zakka, Kevin},
title = {{Mink: Python inverse kinematics based on MuJoCo}},
year = {2026},
month = feb,
version = {1.1.0},
url = {https://github.com/kevinzakka/mink},
license = {Apache-2.0}
}
Installation
Install from PyPI:
uv add mink
Or clone and run locally:
git clone https://github.com/kevinzakka/mink.git && cd mink
uv sync
Examples
To run an example:
# Linux
uv run examples/arm_ur5e.py
# macOS
./fix_mjpython_macos.sh # So that mjpython works with uv.
uv run mjpython examples/arm_ur5e.py
mink works with a variety of robots, including:
