C API
Look up a C function or type, or choose a section of rlmesh.h below. For a working example, start with the docs.
rlmesh-capi · ABI 5 dev (unreleased)
$ git clone https://github.com/ArenaX-Labs/rlmesh && cd rlmesh && cargo build --release -p rlmesh-capiStart here
- rlmesh_env_new()functionEnv handles copy vtables/attributes.
- rlmesh_env_server_new()functionNew binds. start runs callbacks on library threads; serve keeps lane 0 on the caller. shutdown is allowed from a callback.
- rlmesh_model_new()function
- rlmesh_remote_env_new()functionEnv construction connects; Model construction only validates.
- rlmesh_run()functionNULL options means INIT; zero-initialized options are refused.
- rlmesh_session_new()functionA Session borrows its model/server until free.
- rlmesh_last_error_class()functionThe exact class that same call recorded; RLMESH_ERROR_CLASS_INVALID when none is.
Header sections
Header sections
- rlmesh.hExperimentalRLMesh C ABI — experimental. · 12 exports
- status + errorsExperimentalstatus + errors (rlmesh.h). · 14 exports
- build info, editions, warningsExperimentalbuild info, editions, warnings (rlmesh.h). · 16 exports
- dtype + tensorExperimentaldtype + tensor (rlmesh.h). · 59 exports
- spaces + contractExperimentalspaces + contract (rlmesh.h). · 16 exports
- bytesExperimentalbytes (rlmesh.h). · 2 exports
- spacesExperimentalspaces (rlmesh.h). · 294 exports
- Env authoring and serving (facade)ExperimentalEnv authoring and serving (facade) (rlmesh.h). · 94 exports
- Policy / Model (facade)ExperimentalPolicy / Model (facade) (rlmesh.h). · 39 exports
- Describe (facade)ExperimentalDescribe (facade) (rlmesh.h). · 14 exports
- Running: facade targets, observers and resultsExperimentalRunning: facade targets, observers and results (rlmesh.h). · 112 exports
- Remote clientsExperimentalRemote clients (rlmesh.h). · 60 exports
- modelExperimentalmodel (rlmesh.h). · 38 exports
- Recorder and immutable recorder recordsExperimentalRecorder and immutable recorder records (rlmesh.h). · 82 exports
More references
- API stability — What early access and each stability label promise.
- Python API — The supported RLMesh surface.
- Rust API — Early access.
- C++ API — Early access.