A curated map · updated Nov 2026

Awesome RL

Reinforcement learning is how today's reasoning and agentic models get past the ceiling of fine-tuning. This page is a map of the field: what an RL environment is now, the frameworks that build and serve them, the trainers that learn from them, and what to read first.

Built on the shoulders of Hugging Face's ultimate guide to RL environments. Read that for the deep, head-to-head comparison.

Start here

New to RL for LLMs? Take these in order.

  1. Learn the classic loopAgent observes a state, takes an action, gets a reward. Do the first units of the HF Deep RL course or skim Spinning Up.
  2. See how it maps onto LLMsThe model is the agent, a multi-turn conversation is the episode, tool calls are actions, and a verifier is the reward. Read the anatomy section below.
  3. Understand GRPOMost open reasoning results use GRPO or a variant of it: sample a group of answers per prompt and reward each one relative to the group. Read the DeepSeekMath and DeepSeek-R1 papers.
  4. Run one environment locallyInstall a framework that does most of the work for you (pip install verifiers) or a bare one (pip install openenv-core), then run a toy environment end to end.
  5. Train something smallWire that environment into TRL's GRPO trainer with a small model and watch the reward curve move.
  6. Scale outMove the environment onto its own CPU nodes behind HTTP, run many copies at once, and harden your reward against hacking.

The anatomy of an LLM RL system

Classic RL environments are tiny: CartPole is four numbers in and two actions out. In the LLM era the environment is a sandbox with tools, and an episode is a whole conversation. Every training system, whichever framework you use, sits on the same five stages:

01
Tasks
Prompts plus whatever the grader needs: tests, the reference answer, the starting state.
02
Harness
The tools and sandbox the model acts in: a shell, a code runner, a browser.
03
Reward
A verifier, rubric or judge that scores the finished episode.
04
Rollouts
Collect a group of full episodes per prompt, often thousands at once.
05
Trainer
Turn scored rollouts into a policy update (GRPO, PPO, …).
Highlighted: the slice usually called "the environment". Frameworks differ mainly in which of these stages they hand you.
for prompt in tasks: group = [rollout(policy, env.reset(prompt)) for _ in range(G)] # rollout: model → tool call → env.step → observation → … → done rewards = [env.score(ep) for ep in group] advantages = (rewards - mean(rewards)) / std(rewards) # GRPO policy.update(group, advantages)
Most of the hard work is now in the environment. Qwen credits most of Qwen3.5's post-training gains to scaling up RL tasks and environments, not to changing the algorithm.

Environment frameworks

Libraries for defining an environment: its tools, its state, and how it scores an episode.

There are two designs. HTTP frameworks run the environment as a separate server, so it can live on cheap CPU nodes and scale on its own. In-process frameworks run it as Python inside the training process: simpler, but it shares the GPU node and its dependencies.

FrameworkFromDesignInstallBest for
OpenEnvMeta PyTorch + HFHTTP · MCPopenenv-coreA thin standard protocol; you bring the tasks and the trainer. Deploys to HF Spaces.
VerifiersPrime IntellectIn-processverifiersMost included: dataset, tools, rubric and rollouts in one place. Pairs with prime-rl.
NeMo GymNVIDIAHTTPnemo_gymLarge production setups built on Ray. Expect heavier dependencies.
ORSOpenRewardHTTPors-sdkA deployment protocol with the reward attached to each tool result.
SkyRL GymNovaSky (Berkeley)In-processskyrl-gymGym-style step() environments inside the SkyRL training stack.
GEMAxon RLIn-processgem-llmA Gymnasium-style API with many built-in games and tasks. You bring the trainer.
AtroposNous ResearchEnv-drivengitEnvironments run their own inference and post scored batches to a central API.
rLLMAgenticaWrapperrllmWraps existing agent code and records its LLM calls for training.
RAGENRAGEN teamFull stackgitEnvironment, the StarPO algorithm and veRL together. Multi-turn agent RL research.

Environment hubs

Where you can find ready-made environments to plug into a training run.

Trainers

These turn rollouts into gradient updates. Pick one based on scale and what's already in your stack.

Tasks & verifiers

Problem generators and checkers. They give you a reward signal without a full environment.

Agentic environments & benchmarks

Long multi-step tasks in real sandboxes, where agent RL is heading.

Papers

A short reading list, roughly in the order the ideas appeared.

PaperYearWhy read it
PPO2017The workhorse policy-gradient method that RLHF was built on.
InstructGPT2022The RLHF recipe: SFT, then a reward model, then PPO.
DPO2023Learns from preferences without an RL loop. Useful as a contrast.
DeepSeekMath2024Introduces GRPO: advantages relative to the group, so no critic model is needed.
Tülu 32024Names RLVR: rewards from verifiable answers instead of a learned reward model.
DeepSeek-R12025Shows that RL alone can produce long chain-of-thought reasoning.
DAPO2025Practical GRPO fixes: clip-higher, dynamic sampling, token-level loss.

Courses & books

How to pick a framework

If you…Start with
want the fewest moving partsVerifiers + prime-rl, or GEM + TRL
want one environment many trainers can useOpenEnv (MCP over HTTP, deploys to HF Spaces)
run large Ray clustersNeMo Gym, or veRL with your own environment server
train coding agents in containersHarbor or SWE-Gym environments with SkyRL or veRL
just need a reward for maths or logicReasoning Gym or Math-Verify with TRL GRPO

Any of these can express the same environment. What really differs is how it connects to your trainer and how much of the stack you want to own.