google / google/brax

Real-time Web Viewer

Open
#630 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
3.2k
Forks
349
PR merge metrics
No merged PRs in 30d

Description

Hello Brax community,

This post presents a prototype for a real-time, web-based visualizer for Brax training, developed as part of [Google Summer of Code 2025](https://summerofcode.withgoogle.com/programs/2025/projects/Xm0toJHl). This work aims to address the long-standing request for a live visualization feature, as discussed in issues **[#47](https://github.com/google/brax/issues/47)** and **[#107](https://github.com/google/brax/issues/107)**.

## Demo


CartPole Demo
Humanoid Demo

## Key Features

* **Real-time Streaming**: Renders Brax environment states during training.
* **Web-based**: Access the viewer from any web browser, perfect for remote headless training setups.
* **JAX-compatible**: Designed for minimal impact on training performance (currently optimized for PPO).
* **Lightweight**: Built with standard dependencies.
* **Interactive Controls**: Toggle rendering on the fly from the web interface to save compute resources.
* **Distributed Architecture**: The viewer server runs as an independent process from the training script.

## How to Test

We invite the community to test this prototype. You can get started here:
https://github.com/pal-robotics/brax_training_viewer

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.