Lesson 3 of 4 · 3 min read
Reinforcement Learning with Verifiable Rewards for Agents
RLVR, named in the Tulu 3 work (2024), replaces a learned reward model with a program that checks the outcome: unit tests, an exact answer, an end-state comparison. GRPO, introduced in DeepSeekMath (2024) as a variant of PPO, samples several attempts per task, scores them, and uses each attempt's reward relative to its group as the advantage, without a separate value model. For agents the trajectory spans many tool calls, so the reward is usually the final verified outcome.
Get full Premium access · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
An agent task costs too much and takes 90 seconds. How do you cut both systematically?A frontier model improves your agent's accuracy by 2 points but triples inference cost. How do you decide?Design the reward for training a coding agent with reinforcement learning. What makes it useful?What does a prompt optimiser like MIPROv2 or GEPA actually search, and when would you use one?Does training a tool-use agent with GRPO necessarily make it better? What would you check?How would you train a router from your frontier agent's traces so easy steps go to a small model safely?