Arena CLI

The Arena Python CLI is the arena command you install on your laptop or runner. It talks to your Arena organization the same way the web app does, but from a terminal.

Install the package from PyPI:

pip install agilerl

Use a virtual environment if your team standard requires one. After install, confirm the CLI is on your path:

arena --help

Then sign in once (see Authentication) and run commands from your shell or scripts.

What you can do from the terminal today

Where in Arena

Commands shown

Profile managementCLI API key

ARENA_API_KEY, or arena login instead of a key

Agents → deployment Arena CLI tab

arena inference run (classic RL), arena inference list (LLM)

On-prem training cluster → class Config

arena on-prem install, arena on-prem teardown

Experiment setup, environments, and most training work still happen in the web UI. On-prem cluster install is the main training-related terminal workflow today. See On-prem CLI and Commands for exact strings.

This documentation covers arena commands and UI labels. For anything beyond what Arena shows in the app, use arena --help in the installed CLI package.

Configuration

  • arena login: opens a browser sign-in and stores a session on disk. See Authentication.

  • ARENA_API_KEY: long-lived personal access token from Profile (arena_pat_<uuid>_<secret>). Same page: create, rotate, revoke.