← Back to Leaderboard
Rrllm-org

rllm-org/rllm

Agent RL orchestration with shared evaluation and interchangeable training backends

Engineering Health (Methodology)
A+ · 89/100
Maintenance Activity
● Updated 2d ago
Latest Release
v0.3.0-pre
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence14/20
License Clarity20/20
DockerCLIGPUAPI
Total Stars
★ 5,936
24h Growth
+0
7d Growth
+2
Forks
649

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

rllm-org/rllm Star History (2025-02-08 - 2026-12-04) ALL-TIME STAR HISTORY (2025-02 – 2026-12) +5.9k in 664d · avg +9/day 6.3k 3.1k 0 2025-02-08: ★ 12025-03-22: ★ 2,0182025-05-03: ★ 3,0672025-06-14: ★ 3,2472025-07-26: ★ 3,7892025-09-06: ★ 4,0152025-10-18: ★ 4,4222025-11-29: ★ 4,6992026-01-10: ★ 4,8932026-02-21: ★ 5,0732026-04-04: ★ 5,3222026-05-16: ★ 5,4852026-06-27: ★ 5,6212026-08-08: ★ 5,7442026-09-19: ★ 5,8142026-10-31: ★ 5,8972026-12-04: ★ 5,936 ★ 5.9k 2025-02 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

rLLM puts an agent rollout and evaluation layer in front of the training backend. The workflow engine runs agent instances in parallel, and a model gateway routes calls by session URL and records token IDs and logprobs. Its data model separates the task (Episode), individual agent run (Trajectory), and model call (Step). An evaluator scores the outcome, then a transform pipeline groups trajectories for advantage computation before the backend updates the policy.

The Python package depends directly on rllm-model-gateway, which also has its own root-level directory. The public integration seam is @rllm.rollout for execution and @rllm.evaluator for rewards, both passed to AgentTrainer. An OpenAI client can use config.base_url to reach the training gateway, allowing evaluation and training to reuse the same agent logic. The manifest includes Click and Rich for the CLI, Pydantic and Hydra Core for data and configuration, and datasets and PyArrow for data handling.

Key Capabilities & Differentiators

The framework supports more than ten CLI harnesses, including Claude Code, Codex, and mini-swe-agent, as well as Harbor-compatible task directories. Python integrations include LangGraph and the OpenAI Agents SDK. Task execution can use Docker, Daytona, Modal, or a local environment, with snapshots and warm pools to reduce repeated environment setup. The CLI integrates more than 60 benchmarks across math, code, QA, and vision-language tasks, including GSM8K, Terminal-Bench 2.0, and SWE-bench.

verl provides the distributed multi-GPU path with vLLM or SGLang for generation. Tinker offers a single-machine client path to the Tinker API, and Fireworks provides a hosted training path. The listed methods include GRPO, REINFORCE, RLOO, SFT, and on-policy distillation. The common trainer interface simplifies switching backends, but it does not establish that every method and model works on all three; validate the exact combination before committing a training budget.

Trade-offs & Limitations

Compared with using verl directly, rLLM adds reusable agent execution, trace capture, and reward evaluation. Those layers pay off when the agent has multiple model calls or must run across task environments. If the training loop already has clean rollouts and rewards, direct verl removes integration points. For serving-only workloads, vLLM or SGLang is a better fit: rLLM coordinates generation for training rather than replacing an inference server.

Sandbox warm pools can reduce startup overhead, but parallel agent runs still consume environment capacity, model tokens, and evaluator time. Self-hosting gives you control over GPU scheduling; hosted APIs reduce cluster operations but introduce provider credentials, usage costs, and data-handling decisions. Benchmark auto-fetch and the Docker build both require network access as written, so an offline setup needs pre-staged assets and a local training path. Before commercial redistribution, resolve the mismatch between Apache-2.0 repository metadata and the MIT classifier in pyproject.toml against the actual LICENSE file.

Hardware & Deployment Guide

Use Python 3.11 or newer for the documented installation path, especially if using Tinker. The package metadata allows Python 3.10, but the Tinker dependency is gated on 3.11+. The CLI path starts with rllm model setup and rllm eval gsm8k; move to rllm train gsm8k once the provider and evaluation path are verified. Use the verl extra for self-hosted GPU training or the Tinker and Fireworks API paths if you do not want to operate the training cluster.

The Dockerfile starts from verlai/verl:vllm011.latest, checks out verl v0.6.1, installs both projects in editable mode, and adds Playwright with Chromium. It clones rLLM without pinning a revision, so pin that checkout and the base image before relying on repeatable builds. Review the example's host networking and SYS_ADMIN grant before using it on shared infrastructure. Release v0.2.1 introduced the Tinker backend, VLM training, and a preview SDK; v0.3.0-pre added on-policy distillation and explicit finalization of the trainer's tracking logger.

Trace model: URL-routed gateway sessions capture token IDs and logprobs into Episode → Trajectory → Step records.
Agent integration: Use supported CLI harnesses, Harbor-compatible task directories, or a Python agent wrapped with @rllm.rollout.
Execution environments: Run tasks in Docker, Daytona, Modal, or locally; snapshot and warm-pool support can reduce repeated setup.
Training backends: AgentTrainer exposes one interface for verl, Tinker, and Fireworks, while verl supports distributed multi-GPU training.
Evaluation and rewards: rllm eval can fetch and run integrated benchmarks; @rllm.evaluator returns rewards and named signals.
Training methods: GRPO, REINFORCE, RLOO, and SFT are listed, with on-policy distillation added in v0.3.0-pre.
Best For

Teams with an existing agent and a measurable task reward that want to reuse evaluation code for RL, run rollouts across sandboxed tasks, and choose between self-hosted and API-backed training.

Skip If

You only need an inference endpoint, already own a complete model-level RL pipeline, or cannot justify the cost of running and scoring agent rollouts.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLIGPUAPI
uv pip install "rllm @ git+https://github.com/rllm-org/rllm.git"

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
rllm ★5.9k+2PythonApache-2.0Agent RL orchestration with shared evaluation and interchangeable training backe
minimind75.5k+3.2kPythonApache-2.0Native PyTorch dense and MoE models for end-to-end LLM training on local GPUs
autoresearch101k+342Python—Single-GPU nanochat harness for agent-led, five-minute training experiments
LlamaFactory76.4k+86PythonApache-2.0A unified Python framework for LLM and VLM fine-tuning with pluggable inference

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/rllm-org/rllm.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

rllm-org/rllm Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about rllm

How do I connect an existing agent to the trainer?

Wrap the agent with @rllm.rollout, route model calls to config.base_url, and return an Episode with the artifacts your evaluator needs. Implement scoring with @rllm.evaluator, then pass both functions to AgentTrainer. The gateway captures token IDs and logprobs on the training path; validate that routing and reward calculation on a small batch before scaling.

How much GPU memory and local compute should I budget?

There is no fixed VRAM requirement. For self-hosted verl, size GPUs around the chosen model and the concurrency of rollout generation and policy updates. Budget CPU, RAM, and shared memory separately when running many containerized or browser-backed tasks. A Tinker or Fireworks API path shifts training infrastructure off the local machine, but agent execution and evaluation still need resources wherever they run.

Can I self-host rLLM for commercial use?

Repository metadata identifies Apache-2.0, while pyproject.toml declares an MIT classifier and points to LICENSE. Inspect LICENSE at the exact revision you intend to ship and resolve the discrepancy before commercial redistribution. Review model, dataset, harness, and hosted-provider terms separately; self-hosting the trainer does not settle those obligations.

When should I choose rLLM over using verl or an inference server directly?

Use verl directly when your work is mainly model-level RL and you already own the rollout and reward pipeline. Add rLLM when you need to run existing agents across task environments, capture multi-step traces, and reuse evaluators across training and evaluation. If the requirement is only to serve a model, use an inference server such as vLLM or SGLang rather than this training framework.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining rllm-org/rllm? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature rllm-org/rllm on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare