A new Farama library
Project description
RLay
RLay (pronounced like "relay") is a tool that enables building Gymnasium environments with ~any language or software toolkit.
The main inspiration is interfacing with games built in powerful engines like Unity and Unreal. Adding a client or a server in the environment code will expose it for interaction with the standard Gymnasium API.
There are two possible paradigms -- the environment runs either as a server, or as a client.
ClientEnv has a relatively intuitive interpretation. The server maintains an instance of the environment,
and calls its methods according to the MemServer calls. The user (or the RL algorithm) calls the methods of ClientEnv,
which in turn calls the MemServer methods on the server.
ServerEnv works the other way around. It expects that the user creates a server which implements a policy, and the environment lives in a client which can query that policy. When the client queries the server, it sends an observation, and receives the following observation.
In summary, in ClientEnv:
- The underlying environment logic lives on the server
- The
Envinstance exists in the client - The algorithmic logic is in the client
In ServerEnv:
- The underlying environment logic is in the client
- The
Envinstance exists on the server - The algorithmic logic is on the server
The ServerEnv implementation is inspired by ML-Agents, but we generally recommend using ClientEnv.
Protocol
ClientBackend - ServerEnv:
- Handshake -- server sends a message, client sends a message
- Server sends a message to hand over control
TODO: finish this
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rlay-0.0.1.tar.gz.
File metadata
- Download URL: rlay-0.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f908ab1fcd1b1f91c74c8f7c30e05506ab6b5846a73f8e8c322ab346f76980f0
|
|
| MD5 |
c8fe5ea9c9e73ca8b97decaf995a4b7e
|
|
| BLAKE2b-256 |
c26900712fa207f1916caf885774f3c54c26497b68a0743f13b3c7d727aca5d9
|
File details
Details for the file rlay-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rlay-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdfadab84a4cf783e5b46c5b881406cc1136ded695ddcea9cd620e126a38027a
|
|
| MD5 |
4367b5b25cca95ffbb3c48db310dcfcc
|
|
| BLAKE2b-256 |
0c738803091f07bbb0b71f7a482b3735629efa7832a350d12c2cf0daa841521e
|