Software
Brax
By Google, United States (checked on github.com/google (opens in a new tab)), from github.com/google/brax (opens in a new tab)
- Simulators
- Simulator
- Apache-2.0
Brax is a fast, differentiable physics engine written in JAX, used for robotics, reinforcement learning and other simulation-heavy research. It includes built-in training algorithms.
Facts
- GitHub stars
- 3,268read on 27 Nov 2026
- Last update
- 20 Oct 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
- Hardware it needs, as the project states it
- Runs on single devices and scales to multiple devices; designed for acceleration hardware (TPU is mentioned for simulation speed). NVIDIA GPU training is supported after installing CUDA, cuDNN and JAX with GPU support. No specific memory or OS requirements are stated.
Checked on GitHub on 27 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit c860529 (opens in a new tab), on 23 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Simulates environments at millions of physics steps per second on TPU and scales to massively parallel simulation across devices.
- Offers four interchangeable physics pipelines: MuJoCo XLA (MJX), Generalized, Positional and Spring, sharing one API.
- Includes learning algorithms such as PPO, SAC, ARS, evolutionary strategies and analytic policy gradients that exploit differentiability.
- Can be installed from PyPI, Conda or source, and provides a `learn` command to train a model.
- Supports training on NVIDIA GPUs once CUDA, cuDNN and GPU-enabled JAX are installed.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 20 Oct 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/google/brax (opens in a new tab)
- The version Robotheca readc860529 (opens in a new tab)
- Latest releasev0.14.2 (15 Mar 2026)
Robotheca read the repository at two versions: the summary at 6d03937 and the facts and the README at c860529 (read on 27 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by Google, at commit c860529, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here

WARNING Only
brax/trainingis actively being maintained as of 0.13.0. Instead ofbrax/envs, users should use MuJoCo Playground (opens in a new tab), all of which train well withbrax/training. If you want to use Brax for physics simulation, please use MJX available at github.com/google-deepmind/mujoco (opens in a new tab) (pip install mujoco_mjx) or MuJoCo Warp (opens in a new tab) rather than Brax as a wrapper to MuJoCo physics simulation. We may repurposebraxpurely as an RL library in the future.
Brax is a fast and fully differentiable physics engine used for research and development of robotics, human perception, materials science, reinforcement learning, and other simulation-heavy applications.
Brax is written in JAX (opens in a new tab) and is designed for use on acceleration hardware. It is both efficient for single-device simulation, and scalable to massively parallel simulation on multiple devices, without the need for pesky datacenters.




Brax simulates environments at millions of physics steps per second on TPU, and includes a suite of learning algorithms that train agents in seconds to minutes:
- Baseline learning algorithms such as PPO (opens in a new tab), SAC (opens in a new tab), ARS (opens in a new tab), and evolutionary strategies (opens in a new tab).
- Learning algorithms that leverage the differentiability of the simulator, such as analytic policy gradients (opens in a new tab).
One API, Four Pipelines
Brax offers four distinct physics pipelines that are easy to swap:
- MuJoCo XLA - MJX (opens in a new tab) - a JAX reimplementation of the MuJoCo physics engine.
- Generalized (opens in a new tab) calculates motion in generalized coordinates (opens in a new tab) using dynamics algorithms similar to MuJoCo (opens in a new tab) and TDS (opens in a new tab).
- Positional (opens in a new tab) uses Position Based Dynamics (opens in a new tab), a fast but stable method of resolving joint and collision constraints.
- Spring (opens in a new tab) provides fast and cheap simulation for rapid experimentation, using simple impulse-based methods often found in video games.
These pipelines share the same API and can run side-by-side within the same simulation. This makes Brax well suited for experiments in transfer learning and closing the gap between simulation and the real world.
Quickstart: Colab in the Cloud
Explore Brax easily and quickly through a series of colab notebooks:
- Brax Basics (opens in a new tab) introduces the Brax API, and shows how to simulate basic physics primitives.
- Brax Training (opens in a new tab) introduces Brax's training algorithms, and lets you train your own policies directly within the colab. It also demonstrates loading and saving policies.
- Brax Training with MuJoCo XLA - MJX (opens in a new tab) demonstrates training in Brax using the
MJXphysics simulator. - Brax Training with PyTorch on GPU (opens in a new tab) demonstrates how Brax can be used in other ML frameworks for fast training, in this case PyTorch.
Using Brax Locally
To install Brax from pypi, install it with:
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install brax
You may also install from Conda (opens in a new tab) or Mamba (opens in a new tab):
conda install -c conda-forge brax # s/conda/mamba for mamba
Alternatively, to install Brax from source, clone this repo, cd to it, and then:
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -e .
To train a model:
learn
Training on NVidia GPU is supported, but you must first install CUDA, CuDNN, and JAX with GPU support (opens in a new tab).
Learn More
For a deep dive into Brax's design and performance characteristics, please see our paper, Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulation (opens in a new tab), which appeared in the Datasets and Benchmarks Track (opens in a new tab) at NeurIPS 2021 (opens in a new tab).
Citing Brax
If you would like to reference Brax in a publication, please use:
@software{brax2021github,
author = {C. Daniel Freeman and Erik Frey and Anton Raichuk and Sertan Girgin and Igor Mordatch and Olivier Bachem},
title = {Brax - A Differentiable Physics Engine for Large Scale Rigid Body Simulation},
url = {http://github.com/google/brax},
version = {0.14.2},
year = {2021},
}
Acknowledgements
Brax has come a long way since its original publication. We offer gratitude and effusive praise to the following people:
- Manu Orsini and Nikola Momchev who provided a major refactor of Brax's training algorithms to make them more accessible and reusable.
- Erwin Coumans who has graciously offered advice and mentorship, and many useful references from Tiny Differentiable Simulator (opens in a new tab).
- Baruch Tabanpour, a colleague who helped launch brax v2 and overhauled the contact library.
- Shixiang Shane Gu (opens in a new tab) and Hiroki Furuta (opens in a new tab), who contributed BIG-Gym and Braxlines, and a scene composer to Brax.
- Our awesome open source collaborators and contributors (opens in a new tab). Thank you!
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.