Observed since 21 Oct, 09:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Arena Platform Client Library and CLI.
agilerl-arena is the standalone Arena SDK + CLI package for AgileRL.
It provides:
arena CLI for scripting and CI usageagilerl.arena.models): the Pydantic models every runtime trains from, plus arena manifest validate and arena manifest schemaThis package is distributed independently from core agilerl, but exposes modules through the shared namespace:
from agilerl.arena import ArenaClient, Agent
from agilerl.arena.models import TrainingManifest
Core agilerl re-exports those models and adds only what a local run needs (environment construction, a buildable replay buffer).
Install the SDK and CLI on their own (no torch):
pip install agilerl-arena
Core agilerl depends on this package, so pip install agilerl includes it.
Preferred for CI/automation:
export ARENA_API_KEY="arena_pat_..."
Or interactive login:
arena login
arena manifest validate path/to/manifest.yaml
arena manifest schema
arena env validate --source path/to/my_env.py --name my-env
arena memory estimate path/to/manifest.yaml --gpu "NVIDIA L4"
# Longest context one dedicated L4 serving GPU can hold:
arena memory solve max_model_len --inference --gpu "NVIDIA L4" \
--model Qwen/Qwen2.5-7B-Instruct
estimate is a pre-submission gate (exit 0 fits, 3 over budget, 2 usage error).
solve holds every other input fixed and returns the largest value of one
field. Install agilerl-arena[hub] unless you pass --config path/to/config.json.
See agilerl/arena/memory/README.md.
arena experiments submit path/to/manifest.yaml --project my-project
from agilerl.arena import ArenaClient
from agilerl.arena.models import TrainingManifest
client = ArenaClient() # uses ARENA_API_KEY if set
TrainingManifest.get_validated("dqn.yaml")
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 uses the same credential as the rest of the CLI: a personal access token
from Profile then CLI API key, or the token arena login stores. Agent picks up
ARENA_API_KEY when you pass no api_key.
from agilerl.arena import Agent
agent = Agent("https://<deployment-id>.inference.agilerl.com", api_key="arena_pat_...")
action, _ = agent.get_action(observation)
LLM deployments keep chat history, and the CLI keeps track of which conversation you are in. The first prompt starts one and later prompts carry on from it:
arena agent run my-chat-model
arena agent generate --prompt "My name is Sam."
arena agent generate --prompt "What is my name?"
Start a fresh conversation with --new-session, or end the current one with
arena agent sessions clear so the next prompt starts anew.
To move between conversations, arena agent sessions resume lists what is
stored and lets you pick one with the arrow keys:
arena agent sessions list # what is stored, current one marked
arena agent sessions resume # arrow keys, Enter to pick
arena agent sessions get <session-id> # read a transcript
arena agent sessions delete <session-id> # remove one for good
Who a session belongs to follows the deployment's memory scope, chosen on the
first deploy with arena agent deploy <experiment> --memory-scope user|organization.
It defaults to user and cannot be changed later.
agilerl-arenaagilerl.arenaarenaagilerl-arena and agilerl intentionally share the agilerl.* namespace as separate packages.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.27.0 | 15 Oct 2026 | 11 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5929b8c0111dd879648e613705ceb20e7494b08b5ca6ddcb39fb62cb78515d7d