Arena Platform Client Library and CLI.
Project description
agilerl-arena
agilerl-arena is the standalone Arena SDK + CLI package for AgileRL.
It provides:
- Python client for Arena workflows (auth, environment validation, experiment submission, deployment, inference)
arenaCLI for scripting and CI usage- Lightweight manifest validation models for Arena job manifests
This package is distributed independently from core agilerl, but exposes modules through the shared namespace:
from agilerl.arena import ArenaClient, Agent
Installation
Install directly:
pip install agilerl-arena
Or install through core AgileRL extras:
pip install "agilerl[arena]"
Quickstart
1) Authenticate
Preferred for CI/automation:
export ARENA_API_KEY="arena_pat_..."
Or interactive login:
arena login
2) Validate an environment
arena env validate --source path/to/my_env.py --name my-env
3) Submit a training manifest
arena experiments submit path/to/manifest.yaml --project my-project
Python SDK example
from agilerl.arena import ArenaClient
client = ArenaClient() # uses ARENA_API_KEY if set
client.validate_environment(
source="acrobot.py",
name="acrobot-env",
)
result = client.submit_experiment(
manifest="dqn.yaml",
resource_id="arena-medium",
project="my-project",
)
print(result)
Inference example
from agilerl.arena import Agent
agent = Agent("https://<deployment-id>.inference.agilerl.com", api_key="arena_pat_...")
action, _ = agent.get_action(observation)
Notes on packaging and imports
- Distribution name:
agilerl-arena - Python import namespace:
agilerl.arena - CLI command:
arena
agilerl-arena and agilerl intentionally share the agilerl.* namespace as separate packages.
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 agilerl_arena-0.1.0.tar.gz.
File metadata
- Download URL: agilerl_arena-0.1.0.tar.gz
- Upload date:
- Size: 80.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db30ed1037f9582912319aeaccff3701879a59f6ffdd08b3e65462cabf9ecfa
|
|
| MD5 |
f1318476eb3eb6ff0cc04244d236473b
|
|
| BLAKE2b-256 |
12cbfcee874aa4d7572d6b83e12ed057e1be37c641d781eb6a34c5a26f26f460
|
File details
Details for the file agilerl_arena-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agilerl_arena-0.1.0-py3-none-any.whl
- Upload date:
- Size: 102.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4ff7f7f88d07e09a769f55e7ba273cca9aac778423304fbf2a4981f04853b5
|
|
| MD5 |
049ca5f6ce7d3a3699a090f9e5c81929
|
|
| BLAKE2b-256 |
6718bf845a5ea15b1515bcd9288e32a5b3f260f33d48b79f04a361d903f74a38
|