UniEnv¶

UniEnv is a robotics-oriented interface layer for environments, worlds, data pipelines, and backend-aware transformations.
It is built to let the same codebase span:
- simulation environments and real-world control loops
- stateful and functional environment styles
- structured observations and flattened tensor views
- online interaction and offline dataset workflows
- multiple array backends through a shared compute abstraction
Why UniEnv¶
UniEnv gives you one vocabulary for the parts that tend to fragment robotics codebases:
- Environment APIs for
reset,step,render, and typed spaces - World composition for building environments from reusable nodes
- Wrappers and transformations for action scaling, flattening, frame stacking, backend conversion, and recording
- Data interfaces for replay buffers, storage backends, and dataset adapters
The result is a package that can sit between your simulator, robot stack, dataset format, and learning code without forcing each layer to invent its own data model.
Start Here¶
-
:material-rocket-launch-outline: Getting Started
Install UniEnv, learn the package layout, and see the smallest useful workflow.
-
:material-shape-outline: Core Concepts
Learn how environments, spaces, backends, worlds, and nodes fit together.
-
:material-book-open-page-variant-outline: Guides
Go straight to wrappers, replay buffers, storages, and dataset integrations.
-
:material-code-braces: API Reference
Inspect the generated module reference for
unienv_interfaceandunienv_data.
Package Map¶
| Area | What it covers | Key modules |
|---|---|---|
| Interface layer | Spaces, environments, wrappers, transformations | unienv_interface.space, unienv_interface.env_base, unienv_interface.wrapper, unienv_interface.transformations |
| Composition layer | Worlds, nodes, and environment composition | unienv_interface.world |
| Data layer | Batches, replay buffers, storage, samplers | unienv_data.base, unienv_data.replay_buffer, unienv_data.storages, unienv_data.samplers |
| Integrations | External dataset and training ecosystem adapters | unienv_data.integrations |
Reading Order¶
If you are new to the project, a good path is:
- Read Getting Started.
- Read Environments and Spaces and Backends.
- Read World Composition if you are composing complex simulators or robot systems.
- Read Wrappers and Transformations and Replay Buffers and Storage for day-to-day usage.