# RL Environments Explained: How AI Agents Learn Real-World Work | Brendan Foody, Mercor <!-- ref: @content/youtube/sequoia/2026-08-12-rl-environments-explained-how-ai-agents-learn-real-world-wor version: 4 updated_at: 2026-10-31T18:12:18.345Z --> Brendan Foody (Sequoia Capital, 2026-08-12): Foody argues that training data has moved from the crowdsourced behavior-cloning era (SFT pairs and RLHF preference picks) into an agentic era. **[Watch on YouTube](https://www.youtube.com/watch?v=a00xIn5kwhM)** *Synthesized from Brendan Foody on Sequoia Capital, 2026-08-12.* Brendan Foody is the co-founder and CEO of Mercor, an expert-data company that supplies agentic training data to frontier labs and application-layer AI companies. The Sequoia host said Mercor's revenue run rate grew from $1B to $2B in roughly four months. The format was about 15 minutes of talk followed by about 15 minutes of audience Q&A. ## Core Thesis Foody argues that training data has moved from the crowdsourced behavior-cloning era (SFT pairs and RLHF preference picks) into an agentic era. In this era, highly skilled experts build RL environments made of realistic worlds, cloned apps, and tasks with verifiers. Agents can't automate laptop work until training covers the full spread of jobs, apps, and tasks in the economy. In most domains, only humans can measure what lies beyond a model's current abilities. He also says this capability, once limited to frontier labs, is now reaching application-layer companies. For them, owned data is the most differentiating part of an AI strategy, ahead of compute and algorithms. ## Key Insights - **A short history of the data market:** Around 2020, data was crowdsourced for behavior cloning. That meant SFT input/output pairs and RLHF, where annotators picked their preferred model response. This work carried progress from GPT-3 to ChatGPT and GPT-4. Heading into 2024, demand shifted toward top experts working in teams to build frontier evals and RL environments. Those experts include software engineers, lawyers, doctors, and bankers. - **Mercor's path:** Its first big project was deep research, which Foody calls the first prominent RL agent. Mercor then became the main agentic-data vendor to the frontier labs and to application companies such as Harvey, Sierra, Cognition, and Ramp. Over the past 12 months, RLVR (RL with verifiable rewards) has grown to include full RL environments with rich apps and worlds. - **An RL environment has three parts:** 1. **Worlds:** the messages, slides, docs, and sheets that make up a real project or company. 2. **Apps:** high-fidelity clones of Salesforce, ServiceNow, Microsoft 365, Google Workspace, and similar tools. Agents use them through MCP, CLI, or computer use (CUA). 3. **Tasks:** prompts paired with verifiers. A verifier can be a rubric or a unit test, and it can serve for eval or for training. - **Scale of human effort:** Mercor's talent network logged about 2.5 million expert hours in Q2 alone, and growth is speeding up. GDPval alone spans 205 Bureau of Labor Statistics domains. Each job also needs its own apps, scenarios, and tasks. - **Why humans are needed:** Math is a rare clean case, because the model can check whether its answer is right. In most domains, such as building a slide deck, a model can't reliably find its own mistakes. Foody compares that to asking a student to grade their own homework. Human-written rubrics work the way a professor's rubric for an essay does. - **Verifiers are hard to build:** A good verifier has to cover the whole solution space. For a slide deck, that might mean about 10 valid approaches and dozens of possible mistakes. It also has to resist reward hacking and score accurately across about 100 rolled-out trajectories. - **Worked example, the APEX Agents legal environment (open-sourced):** - Lawyers from top firms such as Latham & Watkins write up a real project from their big-law work. - They outline a full data room: messages, emails, files, and file sizes. Models in the loop help fill it in. - The data room is rendered into the cloned apps, here a Google Workspace clone. - A sample prompt asks for the maximum total liability of Star Tankers International Ltd. versus Cooper Jefferies Energy Corp. under the Oil and Petroleum Act, given the data-room context. - Rubric criteria define what an accurate answer contains. The results feed a cross-model leaderboard. - **Open models are catching up:** Open-weight models (named as GLM 5.2 and Kimi K3) now appear on the leaderboard. Foody says this gives application companies a base for reaching frontier performance in their own vertical. - **Post-training results:** One run post-trained GLM 4.7 on APEX Agents, using 1,800 tasks and about $500K of compute. Corporate law scores rose from **4.7% to 26.6%**. The gains also carried over to GDPval and APEX v1, which have no data rooms, with smaller gains on other benchmarks. Mercor is rerunning the experiment on Kimi K3. - **Prediction:** Foody calls Cursor the first clear case of an application company building an industry-leading model of its own. He expects dozens more such companies within 12 months, with owned intelligence as their main moat. - **Three ways to buy data:** 1. **Per task (most common):** for example, $2,000 per task for a given environment shape. Some frontier labs buy about 50,000 tasks a month. A single task can take a human anywhere from a few hours to a month. 2. **Off-the-shelf datasets:** Mercor has invested hundreds of millions of dollars in datasets it sells to many buyers. Newer "neo labs" lean this way, because it makes little sense for 10 labs to each build the same dataset. 3. **Hourly expert staffing:** Customers manage the experts themselves. Harvey started this way by hiring lawyers through Mercor. This is now a smaller share of Mercor's business. - **Pricing (Q&A):** Mercor prices in two ways: - **By value:** it works backward from the leaderboard goal a customer wants to reach. For example, Nvidia might pay around $1B for a frontier open-source model. - **By cost:** a 10-hour task at $150/hour has a $1,500 cost basis, and the margin on top depends on how differentiated the task is. Task prices range from **$50 to $10,000**. - **What "data quality" means:** It comes down to two things. - **Realism:** the data should match the real distribution of work. Experts write the outlines and build a detailed taxonomy of that work. - **Verifier accuracy:** rubric scores across many rollouts should match how humans would rank them. Mercor checks this with **trajectory analysis**: roll out 10 trajectories of the target model, score them, then review the scores with agentic QC plus human review. Human preference labels can also serve as an eval for the auto-grader. - **Synthetic data, reframed:** Foody notes that RLVR is itself a bet on synthetic data. The model learns from its own scored rollouts instead of human-written SFT. Experts should also use Claude or ChatGPT to build data rooms faster. But humans are still needed to measure anything beyond the model's frontier. When a model writes rubrics about its own mistakes, roughly half the criteria come out wrong, and that much noise ruins training. - **Where humans matter most:** Task and verifier creation needs humans the most. Environments can be largely synthetic, with human-written outlines to keep them realistic. Exceptions include code, and distillation, where a weaker model can learn from tasks written by a stronger one such as Kimi K3. - **Cyber is an exception:** In cyber defense and incident response, attacker and defender agents can stand in for human verifiers. Humans are still needed to design realistic and diverse environments. - **Is the base model strong enough? Compare pass@1 with pass@16:** If all 16 rollouts fail, there is almost nothing to learn from. The ideal case is a task that fails at pass@1 but gets solved once or twice in 16 rollouts. Parameter count also affects how trainable a model is. - **What comes after today's environments:** 1. **Ultra-long-horizon tasks:** most agents today aren't trained on tasks longer than 10 hours. The next step is tasks that take a human 100 to 1,000 hours. 2. **Virtual co-workers:** people say 60–70% of their job involves dealing with other people, yet about 1% of evals measure social interaction (τ-bench covers some of it). Foody calls this a large realism gap. - **Why the shift to apps happened in 2025:** The main limit on usefulness was whether models could use full codebase context and everyday laptop tools. To appear in real use, those skills have to appear in the training data. - **Build in-house or partner:** Much of Mercor's business is custom data, built by siloed, exclusive teams so the customer owns the dataset. Foody argues that partnering beats building a talent network in-house because of economies of scale, and points to the frontier labs' choices as evidence. ## Actionable Takeaways 1. **Build environments in three layers:** start with a realistic world (docs, sheets, slides, messages). Add cloned apps the agent can reach through MCP, CLI, or computer use. Then write tasks that each pair a prompt with a verifier, either a rubric or unit tests. 2. **Start from a real project:** have a domain expert write up a real engagement and outline the full data room (files, emails, sizes). Use models to help fill it in, then render it into the app clones. 3. **Write rubrics the way a professor grades an essay:** list the traits of a correct answer, map the valid solution paths and the dozens of likely mistakes, and add criteria that block reward hacking. 4. **Validate verifiers with trajectory analysis:** roll out about 10 trajectories of the target model and score them with the rubric. Check that the scores match a human ranking, using agentic QC plus human review. Optionally use human preference labels as an eval for the auto-grader. 5. **Check the base model first with pass@1 vs. pass@16:** pick tasks the model fails at pass@1 but solves at least once in 16 tries. If it scores 0/16, the model is too weak or the task is too hard. 6. **Start small:** about 1,800 tasks and about $500K of compute moved an open model's corporate-law score from 4.7% to 26.6%, with gains carrying over to other benchmarks. 7. **Use models to help build, not to judge:** let experts work with an AI copilot to draft environments and tasks. Keep humans as the authority on rubric criteria wherever the model you're training can't spot its own errors. 8. **Budget with the real numbers:** tasks cost $50–$10,000 each (a common point is $2,000 per task). Cost basis is expert hours × rate, for example 10 hours × $150 = $1,500. Value is set by the leaderboard goal you're aiming for. 9. **Choose a buying model:** per-task custom data for exclusive, differentiated datasets; off-the-shelf data for shared capabilities; hourly experts for early exploration, as Harvey did. 10. **Plan ahead:** add tasks that run 100+ hours and tasks that require working with simulated colleagues or other agents. Very few evals cover either. ## Notable Quotes > "Only humans can measure the frontier in most domains, not every domain." — Brendan Foody > "It's as if you would be asking a human to grade their own homework." — Brendan Foody > "RLVR is a bet on synthetic data." — Brendan Foody > "You need humans almost definitionally to measure what is beyond the frontier of the model capabilities." — Brendan Foody > "If we want this in the user distribution of usage, then we need to get it in the data distribution." — Brendan Foody > "Right now agents mostly aren't trained to do things that are over 10 hours." — Brendan Foody --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*