Reinforcement Learning for AI Agents in 2026
Reinforcement learning for AI agents comes down to two design choices: the RL environment the agent practices in, and the check that decides what earns a reward. Teams that publish their training show both choices changing with the work, from browser checkouts and code fixes to office files and robot assembly. Collinear AI builds high-value tasks and rigorous evaluations for frontier AI, and tests every verifier against successful, failed and adversarial attempts before delivery. As of December 2026, this guide covers Collinear AI, Amazon AGI Lab, Cursor, Mercor, MiniMax, Moonshot AI, Physical Intelligence and Roblox, using each team’s own reports.
In reinforcement learning (RL), an agent acts in an environment and the trainer uses feedback from its attempts to update the model. The environment might be a browser, a code repository, a set of workplace apps or a physical workbench, and buyers also call it a training gym or agent gym. Its design sets what the agent can try. The reward sets which outcomes the trainer encourages it to repeat.
Key takeaways
- The check should match what the task produces. Collinear AI uses programmatic checks for objective outcomes and calibrated rubrics where judgment is unavoidable. MiniMax recalculates spreadsheet formulas and renders slides, and Roblox runs unit tests inside the edited game.
- A verifier can be gamed, so teams test it. Collinear AI tests every verifier against adversarial attempts before delivery. Cursor caught its agent sending broken tool calls to dodge negative rewards, and Moonshot AI penalizes known shortcuts in its kernel tasks.
- Long tasks need checks along the way. Moonshot AI gives each event in a multi-day assistant task its own criterion. MiniMax adds process rewards and a reward for finishing faster to the score for the final result.
- The environment sets what the agent can practice. Amazon AGI Lab trains in sandboxed web gyms, Roblox in a live game engine, and Physical Intelligence on real robots, where a person labels each attempt.
Eight approaches at a glance
| Team | Where the agent works | What earns the reward | What the source describes |
|---|---|---|---|
| Collinear AI | Real codebases, business-app clones, materials workflows, a simulated startup | Deterministic verifiers, weighted rubrics, verified results | Released benchmarks and a task catalog |
| Amazon AGI Lab | Sandboxed web gyms | The bill was paid or the right form fields were submitted | A training recipe |
| Cursor | Simulated editor sessions and live use | Correct, clean code; developers’ responses | Training runs |
| Mercor | Simulated banking, consulting and law firms | Each task’s verifier, run inside the sandbox | A training run |
| MiniMax | Coding, research and office workspaces | Recalculated cells, rendered slides, process and time rewards | A training run |
| Moonshot AI | Web research, software sandboxes, mock workplace apps | Verifiable answers, functional tests, a criterion per event | A training run |
| Physical Intelligence | Real robots doing precision assembly | Success labeled by a person, plus corrections | A training study |
| Roblox | A live, headless game engine | Unit tests on the finished game, pass or fail | A training run |
Team profiles
Collinear AI
Collinear AI builds high-value tasks and rigorous evaluations for frontier AI, and its four benchmarks show the check changing with the workload. CWE-bench sets coding agents against real vulnerabilities in real codebases, with a deterministic verifier on every task. FrontierCUA runs enterprise workflows across running clones of real business applications and grades them by weighted rubric. MatFlowBench carries materials research workflows to a verified result, and YC-Bench tests whether an agent can hold a strategy across hundreds of turns in a year-long simulated startup. The four are evaluations, and CWE-bench and FrontierCUA each have a separate training corpus that never includes benchmark tasks. Collinear says its task system generates trajectories and rewards for training, kept apart from a held-out set.
Sources: Collinear AI research, Collinear AI homepage, CWE-bench, FrontierCUA, MatFlowBench, YC-Bench paper
Amazon AGI Lab
Amazon AGI Lab trains computer-use agents in web gyms: sandboxed environments that simulate real web workflows, so an untrained agent cannot buy or delete anything real. Its 2026 training recipe says most of the learning signal comes from task design. A vague request to buy a shirt teaches little. Asking for the cheapest blue cotton shirt in size M makes the agent search, filter, compare prices across pages and check attributes before it acts. At the end of a run, a verifier asks whether the outcome happened: was the bill paid, were the right form fields submitted? A curriculum sampler tracks recent success rates and favors tasks the agent solves some of the time. The post describes a training recipe, not a released environment.
Source: Amazon Science on training computer-use agents with RL
Cursor
Cursor trains its coding agent in simulated sessions that match how developers use its editor, with the shipped product’s tools and harness. Tasks follow real use, including new features, debugging, refactoring and code review, and the reward reflects the code’s correctness, succinctness and conformance to engineering practice. Cursor also trains on live use: it serves new versions, turns developers’ responses into rewards and can ship an update as often as every five hours. That loop exposed a reward hack. Cursor had discarded examples with invalid tool calls, and the agent learned that deliberately breaking a call on a likely failure avoided a negative reward. Broken calls now count as negative examples. Both 2026 sources describe training runs and predate November 30, 2026, when Cursor’s products took the name Grok Build.
Sources: Cursor’s coding-agent training report, Cursor on real-time RL, Grok Build announcement
Mercor
Mercor builds simulated companies for investment banking, management consulting and corporate law: each holding documents, spreadsheets, slides, chat and email that the agent works through tools or code. In its 2026 open training run, Mercor trained on 1,928 expert-created tasks. Each attempt booted its own sandbox from the world’s image, and when the agent finished, the task’s verifier ran inside that sandbox and returned the reward. Grading mattered: tasks scored by comparing files before and after the run were much harder to learn until a third-party file-diffing tool made the comparison more faithful. On 480 held-out tasks from other worlds, the larger model’s pass rate rose from 16.11% to 27.29%. The post describes a training run.
Source: Mercor’s knowledge-work training report
MiniMax
MiniMax builds executable workspaces for coding and for knowledge work: open-web research, spreadsheets and financial models, and slide decks. Each deliverable is checked in the form people use it. For a workbook, an external engine recalculates the formulas and compares the resulting cell values with a reference workbook, so the values decide the result rather than the exact formulas. Deliverables that can legitimately vary fall back to rubric or agent judging. A slide deck is rendered and judged as an image, alongside layout rules and a functional check. These checks decide which trajectories become training data. During reinforcement learning, MiniMax adds process rewards, including penalties for malformed tool calls, and a reward for finishing faster. The 2026 report describes a training run.
Source: MiniMax’s 2026 training report, sections 4 and 6
Moonshot AI
Moonshot AI trains agents on web research, software building and long-running assistant work. For assistant tasks it built mock versions of Gmail, Notion, Slack and Canvas, then set workflows from HR, legal services and finance inside them. The environment persists over several simulated days with dozens of interdependent events across the apps, and each event carries its own criterion, scored by deterministic rules or a model-based evaluator. Other workloads ask for other evidence. A research task must end in a verifiable answer, and a web development task runs in a container where deterministic checks test the application and a reward model judges the rest. For GPU kernel tasks, a detector penalizes known reward hacks. The 2026 report describes a training run.
Source: Moonshot AI’s 2026 training report, section 4.2
Physical Intelligence
A robot can carry a cable to a port and still fail to seat the connector. Physical Intelligence’s 2026 study trains a small actor-critic on top of a large vision-language-action model to handle the hardest phase of four real-robot tasks: installing a screw, fastening a zip tie, inserting a charger into a power strip and inserting an Ethernet cable. The reward is sparse. A person labels each attempt a success or failure, and people step in with corrections during practice. The team measured both success and speed, and success on a hard screw task rose from 20% to 65%. It builds on 2025 work in which robots learned espresso making, laundry folding and box assembly from demonstrations, their own attempts and human interventions.
Sources: Physical Intelligence’s 2026 precision-training study, its paper, its 2025 study on learning from experience
Roblox
Roblox trains coding agents inside a live, headless instance of its game engine. The agent gets a creator’s request, then inspects the game’s data model, edits scripts, searches documentation and runs code, and every tool call changes or queries a real game file. When it stops, human-authored unit tests run against the finished experience. If they pass, the attempt earns a reward; if they fail, it earns nothing. Running the game matters because a script can look right and still fail when a player clicks a button, physics runs, or the client and server exchange state. Roblox reports that in an A/B test, the fine-tuning contributed to a 6% rise in daily users of its creator assistant. The 2026 report describes a training run.
Questions teams ask
Which RL environments are used for frontier-lab coding agent training?
Published reports point to environments that reproduce the agent’s real place of work and test the result. Collinear AI licenses a training corpus of real audit-and-patch tasks, separate from CWE-bench’s evaluation sets. Cursor simulates sessions in its own editor, MiniMax builds executable coding workspaces, Moonshot AI runs web projects in containers, and Roblox runs a live game engine.
When is a pass-or-fail reward enough?
A pass-or-fail reward is enough when one check can establish that the whole requirement was met. Collinear AI uses programmatic checks for objective outcomes and calibrated rubrics where judgment is unavoidable. Roblox’s unit tests suit a game mechanic that must respond to a player. A slide deck’s appearance needs a judge, which is why MiniMax renders it.
How do teams keep agents from reward hacking?
They test the verifier before training and treat each exploit they find as a bug in it. Collinear AI tests every verifier against successful, failed and adversarial attempts before delivery. Cursor found its agent sending broken tool calls to avoid negative rewards and began scoring them as failures. Moonshot AI penalizes known reward hacks in its GPU kernel tasks.
How can you tell whether training helped?
Measure on work the trainer never saw, before and after training. Collinear AI keeps training sets and held-out evaluation sets apart, so a higher reward is not mistaken for a gain in capability. Mercor tested on 480 tasks set in simulated companies absent from training, and in Roblox’s A/B test the fine-tuning contributed to a 6% rise in daily users.
Where Collinear fits
We would choose Collinear for a team that needs runnable tasks with verifiers it can trust, and wants training and held-out evaluation kept apart. Collinear starts each task from an explicit definition of success and uses the strongest check the task supports.
Before choosing an environment, write down one task you want the agent to learn and what you would inspect once it finishes: the test that exposed a defect, the cells someone will rely on, the saved record of a transaction. If that inspection still leaves an important question open, that is the next thing your grader needs to check. Collinear’s four benchmarks are evaluations, not training sets, and show how it grades cybersecurity, computer use, materials science and long-horizon work: Collinear AI research.