API Reference

Use this when you need exact imports, methods, and backend behavior.

Behavior

  • Core Exports: top-level package exports.

  • Env Server: serving Gymnasium-compatible environments.

  • Serving Helpers: experimental helpers for loading an environment to serve.

  • Remote Environments: remote client base classes and endpoint behavior.

  • Contracts and Specs: environment contracts, space specs, tensors, and serve options.

  • Models: model worker wrappers.

  • Adapters: experimental declarative model-to-environment IO layer — maps a model’s observations and actions to an environment’s spaces.

  • Sandbox: experimental Docker-backed sandbox sessions.

  • Spaces: RLMesh space wrappers and conversion helpers.

  • Types: structural protocols and shared value aliases.

Framework Backends

  • NumPy: NumPy-backed clients, models, and tensor helpers.

  • Torch: experimental Torch-backed clients, models, and tensor helpers.

  • JAX: experimental JAX-backed clients, models, and tensor helpers.