Skip to content

Initial release!

Choose a tag to compare

@keraJLi keraJLi released this 21 Jan 22:11
· 127 commits to main since this release
39da576

πŸ’Œ jax-envelope v0.1.0

The first release of envelope β€” a JAX-native environment interface for reinforcement learning.


✨ Highlights

Simple, expressive interaction

  • Environments are pytrees β€” trace parameters, vmap, jit, all just work
  • Idiomatic interface:
    • reset(key) β†’ (State, Info)
    • step(state, action) β†’ (State, Info)

Powerful, composable wrappers

  • VmapWrapper / VmapEnvsWrapper for batched environments
  • AutoResetWrapper with state injection for UED
  • ObservationNormalizationWrapper with running statistics across episodes
  • TruncationWrapper and explicit truncation handling for proper value bootstrapping

Adapters for 190+ environments

  • gymnax, brax, jumanji, kinetix, craftax, mujoco_playground

πŸ“¦ Installation

pip install jax-envelope
import envelope

env = envelope.create("brax::ant")
state, info = env.reset(key)
state, info = env.step(state, action)