Metadata-Version: 2.4
Name: rlmesh
Version: 0.1.0b1
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: gymnasium ; extra == 'gymnasium'
Requires-Dist: numpy ; extra == 'numpy'
Requires-Dist: numpy ; extra == 'torch'
Requires-Dist: torch ; extra == 'torch'
Provides-Extra: gymnasium
Provides-Extra: numpy
Provides-Extra: torch
License-File: LICENSE-MIT
License-File: LICENSE-APACHE
License-File: THIRD_PARTY_NOTICES.md
License-File: third_party_licenses/epaint_default_fonts-0.34.3/Hack-Regular.txt
License-File: third_party_licenses/epaint_default_fonts-0.34.3/OFL.txt
License-File: third_party_licenses/epaint_default_fonts-0.34.3/UFL.txt
License-File: third_party_licenses/epaint_default_fonts-0.34.3/emoji-icon-font-mit-license.txt
License-File: third_party_licenses/unicode_names2-1.3.0/LICENSE-APACHE
License-File: third_party_licenses/unicode_names2-1.3.0/LICENSE-MIT
License-File: third_party_licenses/unicode_names2-1.3.0/LICENSE-UNICODE
Summary: Python SDK for model-environment evaluation workflows
Keywords: machine-learning,evaluation,model-evaluation,benchmarking,environments,runtime
Home-Page: https://rlmesh.dev
Author-email: "ArenaX Labs, Inc." <research@competesai.com>
Maintainer-email: Josh Blayone <josh@arenaxlabs.com>
License-Expression: MIT OR Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://docs.rlmesh.dev
Project-URL: Homepage, https://rlmesh.dev
Project-URL: Issues, https://github.com/ArenaX-Labs/rlmesh/issues
Project-URL: Repository, https://github.com/ArenaX-Labs/rlmesh

# RLMesh

RLMesh is a Python SDK for model-environment evaluation workflows. It can serve Gymnasium-style
environments, connect clients over local or remote transports, and adapt values for plain Python,
NumPy, and Torch users.

> Beta: APIs and package structure may change before the stable release.

## Installation

Install the published beta from PyPI:

```bash
pip install --pre rlmesh
```

Install optional adapters as needed:

```bash
pip install --pre "rlmesh[numpy]"
pip install --pre "rlmesh[gymnasium]"
pip install --pre "rlmesh[torch]"
```

## Quickstart

Install RLMesh with Gymnasium support:

```bash
pip install --pre "rlmesh[gymnasium]"
```

In one process, serve any Gymnasium-compatible environment:

```python
import gymnasium as gym
import rlmesh

env = gym.make("CartPole-v1")
rlmesh.EnvServer(env, "127.0.0.1:5555").serve()
```

In another process, connect to it as a remote environment:

```python
from rlmesh.numpy import RemoteEnv

env = RemoteEnv("127.0.0.1:5555")
observation, info = env.reset(seed=0)

terminated = truncated = False
while not (terminated or truncated):
    action = env.action_space.sample()
    observation, reward, terminated, truncated, info = env.step(action)

env.close()
```

Runnable examples and exact commands live in the repository under `examples/python`.

## Links

- Homepage: https://rlmesh.dev
- Documentation: https://docs.rlmesh.dev
- Repository: https://github.com/ArenaX-Labs/rlmesh
- Examples: https://github.com/ArenaX-Labs/rlmesh/tree/main/examples/python
- Issues: https://github.com/ArenaX-Labs/rlmesh/issues
- Default contact: research@competesai.com

## License

Licensed under either MIT or Apache-2.0.

