Repository: rllm-org/rllm-ui
Features
- Real-time dashboard — Live metrics charts with SSE streaming, multi-experiment overlay with custom colors
- Episode and trajectory inspection — Browse/search episodes, inspect agent trajectories step-by-step (observations, actions, rewards), view in trajectory groups
- Training logs — Live stdout/stderr capture with ANSI color support, search with match navigation
- Code and config visibility — View extracted workflow/agent source code, Hydra config snapshots
- Observability AI agent — Query your training data using natural language
Getting started
There are two ways to access rLLM UI:- Cloud — Use the hosted service at ui.rllm-project.com. No setup required.
- Self-hosted — Run locally from the repository (see below).
ui to your trainer’s logger list in your rLLM training script:
How it works
rLLM connects to the UI via theUILogger backend, registered as "ui" in the Tracking class (rllm/utils/tracking.py).
On init, the logger:
- Creates a training session via
POST /api/sessions - Starts a background heartbeat thread (for crash detection)
- Wraps
stdout/stderrwithTeeStreamto capture training logs

Cloud setup
Sign up
Sign up at ui.rllm-project.com
'ui' in the logger list, and you will see your training runs in real time.
| Variable | Required | Scope | Default | Description |
|---|---|---|---|---|
RLLM_API_KEY | Yes | Training script env | — | API key for authenticating training data ingestion (shown once at registration) |
RLLM_UI_URL | No | Training script env | https://ui.rllm-project.com | Defaults to cloud URL when RLLM_API_KEY is set |
The observability AI agent can be enabled from the Settings page in the UI by entering your
ANTHROPIC_API_KEY there.Self-hosted setup
http://localhost:5173 (or the port shown in the Vite output).
Database
rLLM UI stores sessions, metrics, episodes, trajectories, and logs in a database so they persist across restarts and are searchable.- SQLite (default) — No setup required. A local file (
api/rllm_ui.db) is created on first run. - PostgreSQL — Adds full-text search with stemming and relevance ranking. Set
DATABASE_URLinapi/.env:
Observability AI agent
rLLM UI includes a built-in AI agent that can query your training data using natural language. Currently experimental. To enable it, set your Anthropic API key inapi/.env:
Configuration
| Variable | Required | Scope | Default | Description |
|---|---|---|---|---|
RLLM_UI_URL | No | Training script env | http://localhost:3000 | URL of your local rllm-ui server |
DATABASE_URL | No | api/.env | SQLite | PostgreSQL connection string. Defaults to SQLite if unset. |
ANTHROPIC_API_KEY | No | api/.env | — | Enables the built-in AI agent |
VITE_API_URL | No | frontend/.env.development | http://localhost:3000 | Only needed if the API runs on a non-default port |

