#327327th of 433 in ML frameworks and libraries

rlax

JAX library of reinforcement learning building blocks for RL losses

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.5k
License
Apache-2.0
Last commit
Sep 2026
Last release
Jun 2026
Language
Python
Stars, last 29 weeks+33
6 May 2026: 1,419 stars13 May 2026: 1,421 stars20 May 2026: 1,422 stars27 May 2026: 1,423 stars3 Jun 2026: 1,423 stars10 Jun 2026: 1,425 stars17 Jun 2026: 1,425 stars24 Jun 2026: 1,425 stars1 Jul 2026: 1,426 stars8 Jul 2026: 1,431 stars15 Jul 2026: 1,431 stars22 Jul 2026: 1,432 stars29 Jul 2026: 1,432 stars5 Aug 2026: 1,433 stars12 Aug 2026: 1,433 stars19 Aug 2026: 1,435 stars26 Aug 2026: 1,437 stars2 Sept 2026: 1,440 stars9 Sept 2026: 1,441 stars16 Sept 2026: 1,444 stars23 Sept 2026: 1,445 stars30 Sept 2026: 1,445 stars7 Oct 2026: 1,446 stars14 Oct 2026: 1,447 stars21 Oct 2026: 1,447 stars28 Oct 2026: 1,449 stars4 Nov 2026: 1,452 stars11 Nov 2026: 1,452 stars18 Nov 2026: 1,452 stars25 Nov 2026: 1,452 stars

1,419 on 6 May 20261,452 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

RLax is a DeepMind library on top of JAX that provides RL-specific mathematical operations: state and action values, distributional returns, general value functions and policy gradients for discrete and continuous actions. It does not ship complete agents. Functions are written for a single stream of experience, then batched with jax.vmap and compiled with jax.jit for CPU, GPU or TPU.

Who it is for: RL researchers and engineers building custom agents in JAX

Strengths

  • Covers values, distributional returns, general value functions and policy gradients, on- and off-policy
  • Tested under jax.jit and jax.vmap, so functions compile to XLA for CPU, GPU or TPU
  • Doc-strings reference the papers that introduced each operation
  • Installs from PyPI with pip install rlax

Weaknesses

  • Provides operations only, not complete agents; you write the training loop yourself
  • Cannot check that inputs are valid, such as on-policy samples for policy gradient losses
  • Examples need optax, haiku and bsuite installed separately, and only use the Catch environment
  • Functions take a single experience stream, so batching with vmap is left to the user

What it needs

  • GPU optional
  • Needs jax, optax, haiku, bsuite

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#325cleanrlSingle-file PyTorch and JAX implementations of deep RL algorithms10.7k starscustom license37 out of 100
#326helmPython framework for reproducible benchmarking of LLMs and multimodal models Live demo ↗ (opens in a new tab)3k starsApache-2.037 out of 100
#328react-native-fast-tfliteTensorFlow Lite inference for React Native with zero-copy buffers1.2k starsMIT37 out of 100
#329cebraPyTorch library for contrastive embeddings of neural and behavioral time series Live demo ↗ (opens in a new tab)1.1k starscustom license37 out of 100
#330morph-netTensorFlow library that learns smaller CNN layer widths under FLOP or size limits1k starsApache-2.037 out of 100