Rust API
Look up a Rust item or choose a module below. For a working example, start with the docs.
rlmesh dev (unreleased)
$ cargo add rlmesh --git https://github.com/ArenaX-Labs/rlmeshStart here
- EnvtraitOne environment in Gymnasium shape.
- EnvServerstructServes an env, a list of lane envs, or a vector env.
- RemoteEnvstructA client for one remote env.
- PolicytraitA model's declarations, predict operations and lifecycle hooks.
- ModelstructA loaded model built from a
Policyor predict closure. - SessionstructA model bound to one env.
- run()functionDrive
modelagainstenvto completion.
Modules
Modules
- rlmeshPreviewRust SDK for RLMesh model-environment evaluation workflows. · 68 exports
- rlmesh::adaptersPreviewDeclarative adapter specifications, resolution and per-step transforms. · 94 exports
- rlmesh::envPreviewEnv authoring and serving: Gymnasium-shaped environments, `EnvServer`, `EnvFactory` and the remote clients. · 18 exports
- rlmesh::extPreviewAdditional native utilities and interoperability features. · 22 exports
- rlmesh::ext::dlpackPreviewRaw DLPack interoperability and owned exports. · 9 exports
- rlmesh::recorderPreviewPortable evaluation bundles. · 10 exports
- rlmesh::serve_optionsPreviewTransport lifecycle policy shared by the env and model servers. · 1 exports
- rlmesh::spacesPreviewSpaces and their samplers. · 16 exports
- rlmesh::specsPreviewThe read-only contract an env endpoint serves. · 1 exports
- rlmesh::typesPreviewValue and metadata types (also at the crate root), predict contexts, model spec arguments, per-episode state and model load-key declarations. · 11 exports
More references
- API stability — What early access and each stability label promise.
- Python API — The supported RLMesh surface.
- C API — Early access.
- C++ API — Early access.