# rLLM ## Docs - [AWS Bedrock AgentCore](https://rllm-org-rllm-19-terminal-rl.mintlify.site/agent-runtimes/agentcore.md): Train agents using AWS Bedrock AgentCore Runtime for secure, massively parallel rollouts without managing any infra. - [AgentFlow](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/agentflow.md): The protocol for authoring agents that run identically at eval time and at training time - [Data](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/data.md): Dataset management and preprocessing utilities - [Parsers](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/parsers.md): Parsers for tool calling and chat formatting - [Rewards](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/rewards.md): Reward functions for evaluating agent performance - [RolloutEngine](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/rollout-engine.md): Model inference engine for agent rollouts - [Tools](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/tools.md): Tool system for enabling agent capabilities - [Trainer](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/trainer.md): Training infrastructure for RL-based agent learning - [AgentWorkflowEngine](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/workflow-engine.md): Engine for executing workflow-based agent training and evaluation - [Workflows](https://rllm-org-rllm-19-terminal-rl.mintlify.site/api/workflows.md): Workflow orchestration for agent execution and training - [Backend Comparison](https://rllm-org-rllm-19-terminal-rl.mintlify.site/backends/comparison.md): Compare verl and tinker backends to choose the right one for your use case - [Fireworks Backend](https://rllm-org-rllm-19-terminal-rl.mintlify.site/backends/fireworks.md): Training with Fireworks AI — managed RL infrastructure with async-first unified trainer - [Tinker Backend](https://rllm-org-rllm-19-terminal-rl.mintlify.site/backends/tinker.md): Training with tinker - async-first RL training with unified architecture - [verl Backend](https://rllm-org-rllm-19-terminal-rl.mintlify.site/backends/verl.md): Training with verl - distributed RL training with vLLM and SGLang support - [Agent Frameworks](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/agent_frameworks.md): One math task, one cookbook, four framework integrations - [Deepcoder](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/deepcoder.md): Single-turn coding agent with hidden-test grading - [FinQA](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/finqa.md): Multi-turn financial-QA agent with 4 tools over SEC 10-K tables - [FrozenLake](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/frozenlake.md): Multi-turn AgentFlow that drives a Gymnasium environment - [Geo3K](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/geo3k.md): Single-turn VLM geometry agent on the Geometry3K dataset - [Math](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/math.md): Single-turn math agent with \boxed{} answer extraction - [Math Tool Agent](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/math_tool_agent.md): Multi-turn math agent with calculator tool via OpenAI function calling - [MigrationBench](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/migrationbench.md): Train a Java 8→17 migration agent that runs inside an AWS Bedrock AgentCore Runtime, with verl driving rollouts over the network - [Cookbooks](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/overview.md): End-to-end AgentFlow examples that ship as installable plugins - [Solver-Judge Flow](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/solver_judge_flow.md): Multi-agent solver-judge system on the countdown task - [Terminal-Bench 2.0](https://rllm-org-rllm-19-terminal-rl.mintlify.site/cookbooks/terminal_bench.md): Evaluate Harbor's Terminus-2 terminal agent on all 89 Terminal-Bench 2.0 tasks with Modal sandboxes, snapshots, and pass@k — entirely from the CLI - [AgentFlow and Evaluator](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/agentflow-evaluator.md): The two protocols that define how agents run tasks and how results are scored - [rLLM CLI](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/cli-and-ui.md): Evaluate, train, and monitor agents from the command line and web dashboard - [Episodes, trajectories, and steps](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/episodes-trajectories-steps.md): The core data structures that represent agent interactions in rLLM - [Harnesses](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/harnesses.md): Built-in AgentFlows for common shapes of work — one-shot LLM, bash ReAct, Claude Code - [RL algorithms](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/rl-algorithms.md): The RL algorithms rLLM supports — advantage estimators and auxiliary losses — and how to build your own. - [Sandboxes](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/sandbox.md): Run agent harnesses inside Docker, Daytona, Modal, or local environments — with snapshot acceleration and warm-pool scheduling - [Tasks (Harbor-compatible)](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/tasks.md): Tasks are the unit of work in rLLM — pure data describing one problem instance, in a Harbor-compatible on-disk format - [AgentTrainer and the training loop](https://rllm-org-rllm-19-terminal-rl.mintlify.site/core-concepts/training.md): How rLLM closes the RL loop using AgentFlow and Evaluator - [Bring your own dataset](https://rllm-org-rllm-19-terminal-rl.mintlify.site/datasets/byo-dataset.md): Add a benchmark via the registry, a builder, or an ad-hoc directory — three paths for evaluating and training on your own data - [Supported datasets](https://rllm-org-rllm-19-terminal-rl.mintlify.site/datasets/overview.md): All benchmark datasets available for evaluation and training with rllm eval - [Reward functions](https://rllm-org-rllm-19-terminal-rl.mintlify.site/datasets/reward-functions.md): How rLLM verifies agent output — the evaluate(task, episode) convention and how a benchmark wires it up - [Running evaluations](https://rllm-org-rllm-19-terminal-rl.mintlify.site/datasets/running-evaluations.md): A practical walkthrough of rllm eval — choosing a dataset, picking an agent harness, and tuning every flag that shapes a run - [rLLM UI](https://rllm-org-rllm-19-terminal-rl.mintlify.site/experimental/ui.md): Web interface for monitoring and analyzing rLLM training runs in real time. - [Customizing the training loop](https://rllm-org-rllm-19-terminal-rl.mintlify.site/guides/customizing-training.md): How to customize advantage computation, trajectory grouping, rejection sampling, and other training behavior without modifying rLLM source code - [Distributed Training](https://rllm-org-rllm-19-terminal-rl.mintlify.site/guides/distributed-training.md): Scale your RL training across multiple GPUs and nodes with Ray - [Environment variables](https://rllm-org-rllm-19-terminal-rl.mintlify.site/guides/environment-variables.md): The RLLM_* operational environment variables rLLM reads for timeouts, retries, and TTLs, and how they propagate to Ray training workers - [Ray runtime environment](https://rllm-org-rllm-19-terminal-rl.mintlify.site/guides/ray-runtime-env.md): How rLLM builds the Ray runtime_env that controls environment variables on training workers, and how to override it - [SFT distillation](https://rllm-org-rllm-19-terminal-rl.mintlify.site/guides/sft-distillation.md): Distill reasoning teacher traces into a student model with rllm eval → rllm dataset from-eval / import → rllm sft - [Introduction to rLLM](https://rllm-org-rllm-19-terminal-rl.mintlify.site/index.md): Train your AI agents with RL. Any framework. Minimal code changes. - [Installation](https://rllm-org-rllm-19-terminal-rl.mintlify.site/installation.md): Install rLLM with pip, uv, or Docker - [Cogito, Ergo Ludo](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/cogito-ergo-ludo.md): An agent that learns to play games by reasoning and planning - [Cut the Bill, Keep the Turns](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/cut-the-bill.md): Cost-efficient multi-turn search with reinforcement learning - [DeepCoder](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/deep-coder.md): A fully open-source 14B coder matching O3-mini on competitive programming - [DeepScaleR](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/deep-scaler.md): A 1.5B model that surpasses O1-Preview by scaling RL on math reasoning - [DeepSWE](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/deep-swe.md): A 32B software engineering agent achieving 59% on SWE-Bench-Verified - [Experiential Reinforcement Learning](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/experiential-rl.md): Reinforcement learning with an experience-reflection-consolidation loop - [LLM-in-Sandbox](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/llm-in-sandbox.md): Building general agents by running LLMs in a virtual computer - [PettingLLMs](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/petting-llms.md): On-policy reinforcement learning for multi-agent language systems - [SETA](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/seta.md): Scaling environments for terminal agent training by CAMEL-AI - [Terminal-Bench-RL](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/terminal-bench-rl.md): Training long-horizon terminal agents with reinforcement learning - [Tongyi DeepResearch](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/tongyi-deep-research.md): Open-source AI research assistant by Alibaba NLP - [V1: Parallel Self-Verification](https://rllm-org-rllm-19-terminal-rl.mintlify.site/projects/v1-parallel-reasoners.md): Unifying generation and pairwise self-verification for parallel reasoners - [Quick start (CLI)](https://rllm-org-rllm-19-terminal-rl.mintlify.site/quickstart-cli.md): Evaluate and train your first agent using the rllm command line in minutes - [Advantage estimator](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/advantage-estimator.md): How the rLLM advantage estimator works, its role-level customization capabilities, and how to register custom estimators. - [Backend protocol](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/backend-protocol.md): The abstract interface that decouples the unified trainer from specific training infrastructure, enabling pluggable backends. - [Trainer capability matrix](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/capability-matrix.md): A dimension-by-dimension map of what the unified trainer supports across backends, launch methods, execution flows, and dataset types — and where the silent gaps are. - [Configuration](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/configuration.md): The unified configuration system that separates backend-agnostic settings from backend-specific configurations. - [Custom loss functions](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/custom-loss.md): The built-in policy losses rLLM ships, and how to register your own — one function that runs unchanged on verl, Tinker, and Fireworks. - [Pre-computing advantage](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/precompute-advantage.md): How to set step.advantage during workflow rollout and let the unified trainer consume it directly, enabling mixed-mode training. - [Unified trainer](https://rllm-org-rllm-19-terminal-rl.mintlify.site/training/unified-trainer.md): The central orchestrator for backend-agnostic training in rLLM, managing the full training loop from episode generation to policy updates. - [Building a solver-judge workflow](https://rllm-org-rllm-19-terminal-rl.mintlify.site/tutorials/solver-judge-workflow.md): A hands-on tutorial for building a multi-agent solver-judge AgentFlow in rLLM and training it end-to-end with the unified trainer. ## Optional - [Blog](https://rllm-project.com/blog.html)