Skip to main content
This guide gets you from zero to running an evaluation and launching RL training using only the rllm CLI — no Python scripts required.
rLLM CLI showing the banner, available commands including agent, dataset, eval, init, login, model, and train, along with global options

The rLLM CLI help screen

Prerequisites

  • rLLM installed (see installation)
  • An API key for a model provider (OpenAI, Anthropic, Together, etc.)

Step 1: Configure your model

Run the interactive setup to select a provider and model:
You’ll be prompted to:
  1. Choose a provider (e.g., OpenAI)
  2. Enter your API key
  3. Pick a default model (e.g., gpt-4o)
Your configuration is saved to ~/.rllm/config.json. You can switch providers later with rllm model swap.
Selecting Tinker (Thinking Machines) evaluates against Tinker’s (beta) OpenAI-compatible endpoint using your TINKER_API_KEY. The model list is fetched live from the Tinker server — pick any base model (e.g. Qwen/Qwen3-8B, no checkpoint needed) or paste a tinker://… sampler checkpoint path to evaluate a fine-tune.

Step 2: Explore available datasets

Browse the full catalog of 50+ benchmarks:
To preview what a dataset looks like:

Step 3: Run an evaluation

Evaluate your model on a benchmark:
That’s it. rLLM will:
  1. Auto-pull the dataset from HuggingFace
  2. Start a local LiteLLM proxy for your configured provider
  3. Resolve the default agent and evaluator from the catalog
  4. Run the evaluation with 64 concurrent requests
  5. Print accuracy, error count, and per-signal metrics
For a quick test run, limit the number of examples:

Evaluate with a local model

If you’re running a model server (vLLM, SGLang, etc.), point to it directly:

Step 4: Train with RL

Launch reinforcement learning training on a benchmark:
This starts the unified training pipeline with the tinker backend, using GRPO for advantage computation and LoRA for efficient fine-tuning. Customize training hyperparameters:

Step 5: Build a custom agent

Scaffold a new agent project:
Install it and use it immediately:

What’s next

CLI reference

Full reference for all commands and flags

Supported datasets

Browse 50+ benchmarks across math, code, QA, VLM, and more

Unified trainer

Dive into the training pipeline and configuration

SDK overview

Use any LLM framework with SDK-based training