Release SDK — RL Environments as a Service by Centific
Project description
rleaas — Release SDK
Python SDK for the Release (RLEaaS) platform by Centific — RL Environments as a Service.
Installation
pip install rleaas
API Key
| Setup | API key needed? | How to get it |
|---|---|---|
Local dev server (http://localhost:8000) |
No | Run the AgentWork-Simulator locally — no auth required |
| Hosted / production | Yes | Log in to the Release dashboard → Settings → API Keys → create a key |
Set the key as an environment variable so you never hardcode it:
export RLEAAS_API_KEY="rleaas_sk_your_key_here"
The SDK reads it automatically:
import rleaas
client = rleaas.Client() # reads RLEAAS_API_KEY from env
# or
client = rleaas.Client(api_key="rleaas_sk_...") # pass explicitly
Local development (no key required)
import rleaas
client = rleaas.Client(base_url="http://localhost:8000")
print(client.ping())
# {'message': 'RL Environment & Agent API', 'version': '1.0.0', ...}
Sub-clients
| Attribute | Purpose |
|---|---|
client.Environment |
Create and manage simulation environments |
client.Tools |
Register and configure agent tools |
client.Agent |
Register and export trained agents |
client.Verifier |
Define scoring verifiers (rule-based, LLM judge, composite) |
client.Scenario |
Create and browse training scenarios |
client.ScenarioSuite |
Organize scenarios into training/evaluation suites |
client.TrainingJob |
Launch and monitor GRPO/PPO/DQN/A2C training runs |
client.Evaluation |
Run evaluations and retrieve rollouts |
client.Metrics |
Query KPIs and training metrics |
client.AuditLog |
Access audit logs and governance configuration |
Example
import rleaas
client = rleaas.Client() # reads RLEAAS_API_KEY from environment
# Create environment
env = client.Environment.create(name="FinSim-Prod-v1", vertical="FinSim")
env.wait_until_ready()
# Create verifier
rule_v = client.Verifier.create(
name="AML Compliance Check",
verifier_type="rule_based",
environment="FinSim-Prod-v1",
config={
"conditions": ["'run_aml_check' in trajectory.tool_calls"],
"condition_logic": "AND",
"reward_on_pass": 1.0,
"reward_on_fail": 0.0,
},
)
# Train
job = client.TrainingJob.run(
environment_name="FinSim-Prod-v1",
algorithm="GRPO",
config={"episodes": 10000, "max_steps_per_episode": 20},
verifier_ids=[rule_v.id],
)
job.wait_until_complete()
best = job.get_best_checkpoint()
# Evaluate
eval_job = client.Evaluation.run(
agent_checkpoint_id=best["id"],
scenario_suite_id="suite_eval_01",
verifier_ids=[rule_v.id],
)
report = eval_job.wait_until_complete()
print(report["overall_score"])
Async support
async with rleaas.AsyncClient() as client:
status = await client.ping()
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rleaas-1.0.1.tar.gz
(31.5 kB
view details)
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
rleaas-1.0.1-py3-none-any.whl
(42.3 kB
view details)
File details
Details for the file rleaas-1.0.1.tar.gz.
File metadata
- Download URL: rleaas-1.0.1.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4562860595a464fb5530a3873f1d1cd23a6e2834268fb2fc3dae3961e733acd1
|
|
| MD5 |
a4f3f7e720c0dbb1bc8e76cb6995b3b2
|
|
| BLAKE2b-256 |
6e87c14c95305cdaaec2a8e2795af919242dccf076fc5f0483d46f85a58c2511
|
File details
Details for the file rleaas-1.0.1-py3-none-any.whl.
File metadata
- Download URL: rleaas-1.0.1-py3-none-any.whl
- Upload date:
- Size: 42.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ddf5dba6333255ea7780089f4e61985a9b78c925782d1c2dae1c256f1185b77
|
|
| MD5 |
247c542a83fbea596a0edc4a9f4acc91
|
|
| BLAKE2b-256 |
d2f8aa68d4983a92473df5042d3e3209ea7c9aa5bf5b05f6fdda85ae58506956
|