Repository navigation
Initial release!
π 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/VmapEnvsWrapperfor batched environmentsAutoResetWrapperwith state injection for UEDObservationNormalizationWrapperwith running statistics across episodesTruncationWrapperand explicit truncation handling for proper value bootstrapping
Adapters for 190+ environments
gymnax,brax,jumanji,kinetix,craftax,mujoco_playground
π¦ Installation
pip install jax-envelopeimport envelope
env = envelope.create("brax::ant")
state, info = env.reset(key)
state, info = env.step(state, action)