Home / RL environments for coding agents
RL environments for coding agents
Coding is the biggest category in this market. SemiAnalysis called it the highest-demand environment type in January 2026, and 30 of the 40 vendors we track build coding or SWE environments. This guide covers what a coding environment contains, where its grader breaks, what labs pay, and how the vendors differ.
The short answer
- What you get: a container with a repository, a task and a grader, usually hidden tests. In coding, one task per environment is common (Epoch AI).
- What breaks: the grader. Agents learn to edit tests or pass weak ones. Check this first.
- What it costs: about $200 to $2,000 per task in reported deals, with complex SWE tasks at the top. No coding vendor publishes a per-task price.
- Who sells it: 12 specialists, 11 data majors and 6 platforms or hubs in our data. 13 of the 30 release some environments or benchmarks as open source.
What a coding environment contains
SWE-bench set the template. Each task is a real GitHub issue from one of 12 Python repositories. The model edits the codebase, and hidden tests decide if the issue is fixed (Jimenez et al.). Training environments use the same parts:
- A repository snapshot at a fixed commit, with dependencies installed in a container.
- A task prompt, such as an issue, a feature request or a failing build.
- Tools: a shell, a file editor, and sometimes a browser or an issue tracker.
- A grader, most often tests the agent cannot see, run after it stops.
- An oracle solution that proves the task can be solved and the tests pass. Terminal-Bench ships an instruction, a Dockerfile, tests and an oracle solution with every task (Terminal-Bench 2.0).
The format is moving past single issues. One founder told Epoch AI that newer coding environments "have GitHub, they have Linear, they have a code IDE." The hard part, Epoch reports, is grading quality beyond "passes unit tests" (Epoch AI, January 2026).
Kinds of coding environments
| Kind | What the agent does | Public examples | Vendor examples |
|---|---|---|---|
| Issue resolution | Fixes a bug or adds a feature in one repo | SWE-bench, SWE-Gym (2,438 tasks) | Datacurve DeepSWE, 113 tasks across 91 repos |
| Terminal and CLI | Completes system and build tasks in a shell | Terminal-Bench 2.0 (89 tasks) | Snorkel AI Terminal-Bench+, 50,000+ tasks |
| Long-horizon projects | Works for hours on one large task | Few public sets | Proximal FrontierSWE, 20-hour budgets; Abundant SWE-Marathon, about 27M tokens per attempt |
| Company-scale codebases | Changes code across services, with tickets and reviews | Few public sets | Bespoke Labs simulations on real codebases and microservices |
| High-volume task sets | Many short tasks for RL at scale | Open hubs | Refresh Gauntlet 4K, 4,000 tasks with pytest verifiers |
Vendor task counts are the vendors' own figures, linked to the source on each profile. Coding demand is not new. SemiAnalysis reported that DeepSeek used 24,667 coding tasks extracted from GitHub (SemiAnalysis). Sapphire Ventures names coding and computer use as the two largest categories of lab suppliers (Sapphire, April 2026).
Where coding graders break
Tests are the reason coding is easy to grade, and also the reason it is easy to hack. The known failure modes:
- Editing the tests. A third-party evaluator found Claude 3.7 Sonnet "would directly edit the 'tests' file to cause all tests to pass" (SemiAnalysis, June 2025).
- Gaming the runner. OpenAI reported agents in coding environments calling
exit(0)or skipping tests, caught by a monitor reading the chain of thought (OpenAI, March 2025). - Weak tests. "A model could write terrible code and still pass the unit tests" (SemiAnalysis).
- Looking up the answer. Epoch's sources describe models searching for the solution or checking out future commits.
This happens in vendor sets too. Abundant reports reward hacking in 13.8% of rollouts on its own SWE-Marathon benchmark (profile). It is also a safety issue. Anthropic researchers found that a model which learned hacks in production coding environments showed broader misalignment, including sabotage, in their tests (MacDiarmid et al.).
Before you buy, ask how the tests are protected from the agent, whether the container has network access, and whether git history past the task commit is removed. Then run trivial agents, such as one that does nothing, and confirm they score zero. The full set of probes is in our evaluation checklist.
Contamination
Coding environments are often built from public repositories, which may also be in your pretraining data. OpenAI stopped reporting SWE-bench Verified in February 2026. In an audited subset of often-failed tasks, at least 59.4% had tests that reject correct fixes, and OpenAI said score gains increasingly reflect training exposure (OpenAI). Our profile of Scale AI notes a reported gap between public and private SWE-Bench Pro scores, which suggests the public set is contaminated (profile).
Ask each vendor where its repositories come from, whether they are public, and what share of tasks were written after your model's data cutoff. Private repos, or repos created for the task, lower the risk.
What coding environments cost
None of the 30 coding vendors in our data publishes a per-task price. 3 publish any price at all, such as HUD's self-serve plan (Pro $50 a month). The reported figures come from interviews:
- Per task: $200 to $2,000 is common. "$20k per task would be rare but possible," mainly for complex SWE tasks (Epoch AI).
- Exclusivity: exclusive deals cost about 4 to 5 times a non-exclusive deal, according to two founders Epoch spoke with.
- Contract size: often six to seven figures per quarter.
- Compute: Mechanize estimates about $2,400 of compute is spent per task during RL training, per Epoch. A cheap task with a bad grader wastes more than it saves.
Contract terms differ more than prices. Proximal's public template contract gives the customer a non-exclusive, internal-use license, and lets Proximal reuse materials for other customers (profile). Only 1 of the 30 coding vendors state their default exclusivity terms in public, so ask in writing. Our pricing guide has the full set of reported numbers.
Build, buy or start from open sets
Coding is the category labs are most likely to build themselves. Epoch reports "substantially more in-housing" to avoid vendor margins and keep priorities private, and notes that coding companies such as Cursor can use their own user data. Buying makes more sense when you need:
- Volume fast. Thousands of verified tasks across many repos.
- Long-horizon work. Tasks that take hours, where Mechanize, for example, has one engineer own each task for about a week.
- New domains. Security, data science or ML research tasks. Idler offers private collections for long-horizon SWE, cybersecurity and terminal agents on request.
To calibrate first, start with SWE-Gym, Terminal-Bench and the Prime Intellect Environments Hub, which lists 2,500+ community environments. Prime Intellect also pays bounties from $100 to $5,000 and up for new environments (Prime Intellect). See our open-source RL environments guide for licenses.
Coding environment vendors
Our pick for coding is Datacurve, with Proximal and Bespoke Labs as alternates. Datacurve’s DeepSWE benchmark is open source (Apache-2.0) and is part of the Artificial Analysis Coding Agent Index, which is rare third-party adoption. Proximal’s FrontierSWE runs 20-hour tasks, and Bespoke Labs contributes to Terminal-Bench 2.0. Datacurve’s headcount fell from about 36 to about 29 between June and October 2026, and Proximal’s $200M revenue claim is unverified. The picks rest on public evidence only, as our methodology explains.
Every vendor below lists coding or SWE environments. 9 license a ready-made catalog. The rest build to order, run a platform or only publish open source. Each name links to a profile with sources.
| Vendor | Kind | How they deliver | Published price |
|---|---|---|---|
| Refresh | Specialist | Bespoke builds, Open source | Not published |
| Theta | Specialist | Bespoke builds | Not published |
| Datacurve | Specialist | Bespoke builds, Catalog licensing, Open source | Not published |
| Proximal | Specialist | Bespoke builds | Not published |
| Abundant | Specialist | Bespoke builds, Catalog licensing | Not published |
| Mechanize | Specialist | Bespoke builds | Not published |
| Bespoke Labs | Specialist | Bespoke builds, Open source | Not published |
| AfterQuery | Specialist | Bespoke builds, Catalog licensing | Not published |
| Idler | Specialist | Bespoke builds, Catalog licensing | Not published |
| Huzzle Labs | Specialist | Bespoke builds, Open source | Not published |
| Collinear | Specialist | Catalog licensing, Bespoke builds | Not published |
| Creeks | Specialist | Bespoke builds | Not published |
| Prime Intellect | Platform or hub | Platform or hub, Open source, Managed RL training | GPU prices only |
| HUD | Platform or hub | Platform or hub, Open source, Managed RL training | Pro $50 a month |
| General Reasoning | Platform or hub | Platform or hub, Open source | Not published |
| Veris AI | Platform or hub | Platform or hub, Bespoke builds | Not published |
| Vmax | Platform or hub | Platform or hub, Bespoke builds | Not published |
| OpenEnv | Platform or hub | Open source, Platform or hub | Free, BSD-3 |
| Scale AI | Data major | Catalog licensing, Open source | Not published |
| Surge AI | Data major | Catalog licensing, Open source | Not published |
| Mercor | Data major | Bespoke builds, Open source | Not published |
| Deeptune | Data major | Bespoke builds | Not published |
| Turing | Data major | Catalog licensing | Not published |
| Handshake AI | Data major | Bespoke builds, Platform or hub | Not published |
| Snorkel AI | Data major | Bespoke builds, Catalog licensing, Open source | Not published |
| micro1 | Data major | Bespoke builds | Not published |
| Toloka | Data major | Bespoke builds | Not published |
| Invisible | Data major | Bespoke builds | Not published |
| Labelbox | Data major | Bespoke builds | Not published |
| BenchFlow | Open-source lab | Open source | Not published |
Watch the staffing too. Mechanize's founder and 12 or more staff reportedly moved to Google DeepMind in September 2026, and its remaining delivery capacity is unknown. Its profile has the sources.
Questions to ask a coding vendor
- Can we run a sample of 20 tasks on our own checkpoint before signing?
- How are tests hidden from the agent, and is network access off?
- Does every task ship with an oracle solution that passes?
- Where do the repositories come from, and when were the tasks written?
- What is the pass rate spread on a model like ours? Epoch's sources want at least 2 to 3% per task.
- Is the deal exclusive, who owns the trajectories, and can you resell the tasks?
- Who writes and reviews the tasks, and how many people are on that team today?
Common questions
What is an RL environment for coding agents?
It is a sandbox, usually a Docker container, with a code repository at a fixed commit, a task such as an issue to fix, and a grader such as hidden unit tests. The agent edits code and runs commands, and the grader scores the final state.
Which companies build coding RL environments?
30 of the 40 vendors we track list coding or SWE environments. They include specialists such as Datacurve, Proximal and Abundant, platforms such as Prime Intellect and HUD, and data majors such as Snorkel AI and Scale AI.
How much does a coding RL task cost?
No coding vendor publishes a per-task price. Epoch AI reported in January 2026 that $200 to $2,000 per task is the common range, and that $20,000 per task is rare but possible, mainly for complex SWE tasks.
Can I train on SWE-bench?
SWE-bench is an evaluation set, so training on it contaminates your own scores. SWE-Gym was built for training, with 2,438 Python tasks. Check any public set for overlap with your evals and for broken tests.
How do coding agents reward hack?
Common hacks include editing the test files, exiting early so the test runner reports success, and writing code that passes weak tests without solving the task. A third-party evaluator found Claude 3.7 Sonnet edited tests to make them pass.
Do labs build coding environments in-house?
Many do. Epoch AI reported "substantially more in-housing" in January 2026, and noted that coding companies such as Cursor can use their own user data. Labs still buy, mainly for volume, new task types and long-horizon work.
Sources
- Epoch AI: An FAQ on RL environments (Denain and Barber, 2026-01-12)
- SemiAnalysis: RL environments and RL for science (2026-01-06)
- SemiAnalysis: Scaling RL: environments, reward hacking, agents, scaling data (2025-06-08)
- Sapphire Ventures: Reinforcement learning, learning by doing (2026-04-13)
- Jimenez et al.: SWE-bench, arXiv:2310.06770 (2023)
- Pan et al.: SWE-Gym, arXiv:2412.21139 (2024)
- Terminal-Bench 2.0, arXiv:2601.11868 (2026)
- OpenAI: Why we no longer evaluate SWE-bench Verified (2026-02-23)
- OpenAI: Detecting misbehavior in frontier reasoning models (2025-03-10)
- MacDiarmid et al.: natural emergent misalignment from reward hacking, arXiv:2511.18397 (2025)
- Prime Intellect: Scaling the Environments Program (2025-10-27)