Installation
Install RLMesh with the extras your environment and model need.
Install the Python package:
pip install "rlmesh[gymnasium,numpy]"
RLMesh supports Python 3.10 and newer. The package also installs the rlmesh CLI, which you use to sign in to the managed platform and push images. Start with Gymnasium for environments and the NumPy backend for examples and notebooks, then follow the Quickstart.
Optional Extras
Install only the extras you need:
pip install rlmesh
pip install "rlmesh[numpy]"
pip install "rlmesh[gymnasium]"
pip install "rlmesh[torch]"
pip install "rlmesh[jax]"
pip install "rlmesh[hf]"
Pick gymnasium when serving a Gymnasium environment, or gym for a classic Gym environment. torch decodes client-side values as Torch tensors; jax decodes them as JAX arrays; numpy decodes them as arrays. hf adds host-side, container-less resolution of hf:// model weights and EnvHub sources; in a sandbox the container fetches them for you. See Framework Backends for how the backend extras change value decoding.
Rust, C, and C++ (early access)
RLMesh also has native APIs, built from the development branch of the source repository:
# Rust
cargo add rlmesh --git https://github.com/ArenaX-Labs/rlmesh
# C and C++: build the library, then include rlmesh.h (C11) or rlmesh.hpp (C++17 or newer)
git clone https://github.com/ArenaX-Labs/rlmesh && cd rlmesh
RLMESH_RELEASE_BUILD=1 cargo build --release -p rlmesh-capi
The Rust, C, and C++ pages cover toolchains, CMake and pkg-config packages, and why RLMESH_RELEASE_BUILD=1 matters when a native program talks to the Python package.
Repository Examples
The runnable examples are in the RLMesh source repository, not in the installed package. Clone it and run the example commands from its root:
git clone https://github.com/ArenaX-Labs/rlmesh.git
cd rlmesh
The examples use uv; install it with python -m pip install uv if needed.
The CartPole walkthrough gives you the first
uv run commands, which create the project environment when you run them.
You can also browse the examples for another setup.
Sandbox examples also need Docker. The in-repository examples share this
environment; heavier demos with their own lockfiles use separate setup steps.