Quick Start#

The easiest way to get started is to use the provided examples in the examples/ directory:

Brax Built-in Example#

# Start the viewer server in one terminal
python examples/brax/brax_envs/viewer.py

# Run training in another terminal
python examples/brax/brax_envs/train.py

# Open your browser to http://127.0.0.1:8000

CartPole Example#

# Start the viewer server in one terminal
python examples/brax/cartpole/viewer.py

# Run training in another terminal
python examples/brax/cartpole/train.py

# Open your browser to http://127.0.0.1:8000