What are RL environments for AI agents?

By Plety. Updated

RL environments for AI agents are sandboxed copies of software, or of a task setting, in which an agent takes actions, sees the results and is scored by an automated grader, so that it can be trained by reinforcement learning. AI labs build them in-house and buy them from specialist suppliers, and Epoch AI reported in January 2026 that enterprise workflows are a major growth area.

What is an RL environment for an AI agent?

An RL environment for an AI agent is a controlled copy of a piece of software, or of a task setting, in which the agent can act, see what happens and receive a score. TechCrunch described RL environments in September 2025 as training grounds that simulate what an AI agent would be doing in a real software application. Its example was a simulated Chrome browser in which an agent earns a reward for buying a pair of socks on Amazon.

The idea comes from classic reinforcement learning. The Gymnasium library, maintained by the Farama Foundation, describes its core class as a representation of a Markov decision process and calls the cycle the agent-environment loop: the agent observes, chooses an action, and receives a new observation and a reward, until the episode ends. Prime Intellect, announcing its Environments Hub on 27 August 2025, said environments define the world, rules and feedback loop of state, action and reward.

The source of the reward separates an RL environment from RLHF data. In RLHF the reward comes from a model trained on people's rankings of answers, as explained at https://plety.net/about/for-buyers/what-is-rlhf-data. In an RL environment, Epoch AI says, the grader is typically automated, such as a unit test or a language model judging against a rubric.

How is an RL environment built?

An RL environment is built from five parts: the actions the agent may take, the state of the simulated system, a set of tasks, a grader for each task and a package that lets it all run many times. Epoch AI's FAQ on RL environments, by JS Denain and Chris Barber (12 January 2026), says an environment is defined by the set of actions the model can take and its surrounding context, such as environment variables, file systems and the state of a simulated application. Each task is a prompt instructing the model to achieve an objective.

Epoch AI says environments are often delivered as Docker containers. Hugging Face's OpenEnv documentation, read in November 2026, describes each environment as a Docker image with a Gymnasium-style API of reset(), step() and state(), and lists more than 40 environments in its catalogue, including games, coding sandboxes, browsers and finance.

The parts of an RL environment for an AI agent
PartWhat it isExample
ActionsThe tools, commands or clicks the agent may useCalling a CRM's API, typing in a terminal, clicking in a browser
StateThe data and settings the agent acts onTickets in a simulated help desk, files in a code repository
TaskA prompt that sets an objectiveRefund the order in a ticket if the refund policy allows it
GraderAn automated check that scores the resultA unit test, a check of the final database state, or a model judging against a rubric
PackageHow the environment is shipped, reset and rerunA Docker image

What do RL environments cost?

RL environments are bought by the contract or by the task, and reported prices run from a few hundred dollars per task to plans for more than $1 billion of spending by one lab. TechCrunch reported in September 2025, citing The Information, that Anthropic leaders had discussed spending more than $1 billion on RL environments over the following year, and that the start-up Mechanize was offering software engineers $500,000 salaries to build them.

Epoch AI interviewed 18 people across RL environment start-ups, newer labs and frontier labs. The figures in the table are what those people, and the sources they cited, reported: they are ranges, not a price list.

Reported prices for RL environments (Epoch AI, 12 January 2026)
ItemReported figureWho reported it
Supplier contractsOften six to seven figures per quarter; one researcher saw $300,000 to $500,000A founder and a neolab researcher
Each taskMostly $200 to $2,000; $20,000 is rareSeveral interviewees
Replica of a websiteAround $20,000 eachSemiAnalysis
Replica of a complex app such as SlackAround $300,000One interviewee
Compute during RL trainingAround $2,400 per taskMechanize estimate
Exclusive saleRoughly 4 to 5 times the price of a non-exclusive oneTwo founders

Why are RL environments hard to build well?

RL environments are hard to build well because an agent in training will exploit any gap in the grader. Epoch AI's interviewees consistently named resistance to reward hacking, where a model collects the reward without doing the task, as the most important quality test. One neolab researcher described models cheating by searching up a solution or by checking out future commits, and one founder said it takes many iterations to check against reward hacking.

Copies of business software are a known weak point. Epoch AI reports that many enterprise environments rely on clones of websites and apps such as Slack or SAP, and that a lab researcher warned of a large number of poor environments, some of them buggy replicas. Ross Taylor, a former Meta AI research lead who co-founded General Reasoning, told TechCrunch that even the best publicly available environments typically do not work without serious modification.

What data do RL environments need, and where do business records fit?

RL environments need three kinds of data: a realistic starting state, realistic tasks and a reliable record of what success looks like. Epoch AI calls enterprise workflows a major growth area, with tasks such as working in Salesforce, filing reports or editing spreadsheets, and says product companies are natural partners for building environments around their own software.

Real business records, de-identified inside the company first, can supply all three. Masked tickets, CRM entries and chat can fill a cloned app so that it behaves like a working company rather than a demo. Real requests can become task prompts. The recorded outcome, such as a refund issued, a ticket reopened or a deal lost, together with the policy in force at the time, can become the grader's target.

A licence for this use should name it: whether the records may seed a simulated system, become tasks, be shown to an agent during training, or travel inside an environment that the builder sells to other labs. Epoch AI reports that environments are sold both exclusively and non-exclusively, so records licensed to one environment builder can reach several labs unless the licence says otherwise.

Questions

Who builds RL environments?
AI labs build many in-house, and specialist suppliers sell them. TechCrunch named Mechanize, Prime Intellect, Mercor, Surge and Scale AI in September 2025, and Epoch AI reports that data providers including Mercor, Surge, Handshake and Turing now also sell RL environments.
Can an RL environment be used for anything other than reinforcement learning?
Yes. Epoch AI lists three main uses for an environment and its tasks: reinforcement learning, benchmarking, and supervised fine-tuning on trajectories that solve the task.
What is reward hacking?
Reward hacking is when a model earns the reward without doing the task, for example by finding a shortcut the grader does not check. Epoch AI's interviewees named resistance to it as the most important quality test for an environment.
Is an RL environment the same as a benchmark?
Not quite. A benchmark is a fixed test used to compare models, while an RL environment is built to be run many times so that a model can learn from the scores. The same environment can serve both purposes if the test tasks are kept out of training.

Looking for licensed records from UK companies?

Email Herman or book a 30-minute call with what you license: record types, languages, volume, date range and terms.

Sources

This page is general information, not legal advice. Take advice on your own company's records and contracts.

Read next