A differentiable physics engine written in JAX, used for robot locomotion, reinforcement learning, and simulation-based research. Current version: 0.14.2. Released under Apache 2.0, with updates approximately every 2-3 months.
pip install braxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an Ant environment in Brax with batching.
Replace `env = brax.envs.env('ant')` with `env = brax.envs.create_environment('ant')`.Upgrade Python to 3.11+.
Use `create_environment('ant', batch_size=None)` for unbatched.Set environment variable: `JAX_PLATFORM_NAME=cpu`
Upgrade brax: `pip install --upgrade brax`
Use `env = brax.envs.create_environment('humanoid')`Ensure `batch_size` matches between environment creation and state objects.