OpenEnv Agent
Python client library for connecting RL agents to OpenEnv servers.
Installation
pip install openenv-agent
Quick Start
from openenv_agent import OpenEnvClient, ModerationAgent
# Connect to an OpenEnv server
client = OpenEnvClient(base_url="http://localhost:8000")
# Reset environment
obs = client.reset()
# Use the moderation agent
agent = ModerationAgent()
action = agent.predict(obs)
# Step the environment
next_obs, reward, done, info = client.step(action)
CLI Usage
# Run agent against a server
openenv-agent run http://localhost:8000
# Interactive mode
openenv-agent interactive http://localhost:8000
# Evaluate on a dataset
openenv-agent eval http://localhost:8000 --dataset ./data.json
Features
- Async/sync OpenEnv client with Gymnasium-style API
- Built-in ModerationAgent for content moderation environments
- Environment loader from openenv.yaml configs
- CLI tool for easy server interaction
Metadata
Release files for openenv-agent 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openenv_agent-0.2.0.tar.gz | 9.8 kB | Without provenance | Details for openenv_agent-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openenv_agent-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for openenv_agent-0.2.0-py3-none-any.whl |
Total release size: 20.8 kB
Release files / openenv_agent-0.2.0.tar.gz
| Download URL | openenv_agent-0.2.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b962c1e2161b544df1f5de302f33bb0e3e0d83f9201a3a4fc1daf49eee7819
|
|
BLAKE2b-256 checksum How to use checksums |
fd6ce955e2047349e540a58967ba7e06c703380f3d504cbd7f0e8d3637df1541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / openenv_agent-0.2.0-py3-none-any.whl
| Download URL | openenv_agent-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d47db61f6f622e267893a6a60c31d7f1f002e58596d3098afadaaa105f8d62d
|
|
BLAKE2b-256 checksum How to use checksums |
7f192bb95d73730e7ef42ce4019012dd6323aadfce095cbe103d13e1e7071d63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for openenv-agent 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.