Python API

Look up a Python symbol or choose a module below. For a working example, start with the docs.

rlmesh 0.1.0$ pip install rlmesh==0.1.0

This is the Python symbol reference. For a complete first run, follow the quickstart. When you need an exact signature, start with EnvServer to serve an environment, RemoteEnv to connect, and run() to evaluate a model. The pages below are generated from the package version shown above.

Native values or a backend

The top-level classes (rlmesh.RemoteEnv, rlmesh.Model, and their peers) keep RLMesh-native tensor values and need no array library. The backend modules (rlmesh.numpy, rlmesh.torch, rlmesh.jax) expose corresponding classes that decode tensor leaves to framework arrays. Choose the module that matches your model’s values.

import rlmesh                        # native values, no dependencies
from rlmesh.numpy import RemoteEnv   # the same client, NumPy arrays in and out

Managed evaluations are created and inspected in the dashboard. Python and TypeScript SDK guides will follow.

Start here

Modules

More references