All writing
  • Reinforcement Learning
  • Agent Environments
  • Agentic AI

The Environment Is the Product: How RL Gyms Shape the Next Agents

If reinforcement learning in verifiable environments is the lever that improves agents, then the environment itself — not the model — is the asset worth owning. 2026 brought the OpenAI-Gym moment for agents: GEM, an open-source simulator that standardizes the environment-agent interface across 24 environments and 5 RL frameworks, with asynchronous vectorized execution and dense per-turn rewards. Standardization is what turned RL from a research curiosity into a field, and it's about to do the same for agents. Here's why the gym — the task suite, the reward shape, the definition of 'correct' — is becoming the defensible product, and why building one is a judgment game, not a capital game.

We argued in How Agents Learn to Code that the most consequential shift of 2026 wasn’t bigger pretraining — it was that agents started getting better by practicing in environments that could tell them when they were right. That post was about the method: reinforcement learning from verifiable rewards, self-play, falling compute costs. This one is about the consequence almost nobody priced in. If practice is the lever, then the place where the agent practices — the environment — is the product. Not the model. The gym.

That sounds abstract until you notice what just happened. The thing that turned reinforcement learning from a scattered research curiosity into an actual field was not a better algorithm. It was a standard environment interface — OpenAI Gym, released in 2016, which gave everyone the same reset() and step() so that an idea tested on one task could be compared, reproduced, and dropped into another. The agents got better because the substrate they trained on got standardized. In 2026, agents are getting the same moment.

The OpenAI-Gym moment for agents

The paper is bluntly named for the analogy: GEM: A Gym for Agentic LLMs (arXiv 2510.01051), published at ICLR 2026. GEM — General Experience Maker — is an open-source environment simulator built for the age of LLMs, and its pitch is exactly the one that mattered a decade ago: a standardized framework for the environment-agent interface. It ships asynchronous vectorized execution for high throughput, flexible wrappers for extensibility, a diverse suite of environments with integrated tools, and single-file example scripts that run GEM with five popular RL training frameworks. The authors provide baselines across 24 environments.

Read that list again with the history in mind. Throughput, a common interface, wrappers, drop-in compatibility with the frameworks people already use — these are the unglamorous plumbing features, and they are precisely what made Gym matter. The breakthrough was never one environment; it was making environments interchangeable, comparable, and cheap to run. GEM is making the agent’s world interchangeable, comparable, and cheap to run. When the substrate standardizes, the research on top of it compounds — and the value moves to whoever builds the best worlds to train in.

Why the value moves to the environment

Here’s the structural reason this matters, and it’s the whole argument. The model supplies capability; the environment supplies the definition of “good.” A pretrained model knows how to produce plausible text. What it does not know is what counts as correct in your domain — and that knowledge doesn’t live in the weights. It lives in the environment: the tasks you choose to pose, the reward you pay out, the moment you decide the episode succeeded or failed. That triple — task distribution, reward function, success criterion — is a compressed encoding of your understanding of the problem. It is the most domain-specific, least commoditizable asset in the whole stack.

And it inverts cleanly: a frontier lab will happily sell you the model. It cannot sell you the environment for your problem, because building that environment requires knowing what “correct” means in a domain the lab has never seen. This is the same move we made about the harness is the product — the durable value isn’t the model in the middle, it’s the structure around it. The gym is that argument pushed back one stage earlier, into training: the harness shapes how the agent runs; the environment shapes how the agent learns to run. Both are yours to own, and neither is for sale.

What separates a good gym from a toy

If the environment is the product, then environment design becomes a real engineering discipline — and GEM’s choices show where the craft is. Three things separate a gym that actually teaches from one that just scores:

  • Reward density and credit assignment. GEM’s baselines use REINFORCE with Return Batch Normalization (ReBN), which — unlike GRPO — is compatible with the full RL setting of dense per-turn rewards and offers better credit assignment. That clause is the heart of good environment design. A sparse reward — one point at the very end of a long task — tells the agent almost nothing about which of its fifty actions was the good one. A well-shaped environment pays out informative signal turn by turn, so the agent can actually tell what worked. Designing that reward is the work.
  • Multi-turn, not single-shot. GEM benchmarks both single- and multi-turn settings, because real agentic work is a sequence — investigate, act, observe, correct. An environment that only grades the final answer trains a different, weaker thing than one that lets the agent practice the whole loop with feedback along the way.
  • Throughput as a first-class feature. Experience is the raw material of RL, and asynchronous vectorized execution exists to manufacture it cheaply. The cost of a unit of practice is a design parameter — and pushing it down is what moves environment-building from “frontier-lab-only” into reach of a small, well-run team.

None of these is a model upgrade. All three are judgment about how the agent should practice — exactly the lever the parent post identified, now made concrete as a thing you build.

The environment economy

Step back and a market shape comes into view. When the base models are open and the training interface is standardized, differentiation stops living in the weights and starts living in the worlds. The defensible asset becomes a library of environments — task suites and reward designs that encode hard-won domain knowledge — and the agents trained in them inherit that knowledge as capability. You don’t sell the model; you sell (or keep) the gym that makes a generic open model good at your specific problem.

That’s a genuinely different competitive landscape from “whoever pretrains the biggest model wins.” It rewards proximity to a problem, not proximity to a GPU cluster. A team that deeply understands a niche — a regulatory regime, a legacy stack, a language, a workflow — can encode that understanding into an environment and produce an agent no frontier lab will ever match on that niche, because the lab has no reason to build the gym and no knowledge to fill it. The same self-play and verifiable-reward methods from the parent post mean you don’t even need a giant hand-labeled dataset to start: a good environment can generate much of its own practice.

Why this favors Southeast Asia

This is the parent post’s argument, sharpened to a point. We said the lever that improves a coding agent for your domain is no longer capital but engineering judgment. The gym is where that judgment is stored. And building one runs on exactly the inputs Southeast Asia has in abundance: deep knowledge of local problems, the patience to define “correct” precisely, and the rigor to shape a reward that teaches it. It does not run on a frontier cluster. With a standardized, open simulator like GEM lowering the barrier, the activation energy to build a real training environment has dropped from “research lab” to “a small team that understands its problem.”

And the leverage concentrates exactly where the frontier labs are absent. There is no commercial reason for a US lab to build a gym for Khmer-language code review, ASEAN customs paperwork, or a Cambodian bank’s transaction formats — but those are precisely the domains where someone close to the problem can build a verifiable environment and train an open model that already runs on local hardware to be genuinely good at it. This is the same GPU-light, judgment-heavy capability we keep arguing the region should build, now aimed at the most defensible layer of all: not the loop around the model, not even the model, but the world the model learns in.

The frontier labs will keep building bigger general models, and those will keep being the substrate everyone starts from. But a general model is a starting point, not a finished product — and the thing that turns it into an agent good at a specific job is the environment you train it in. That environment is the one asset a vendor can’t ship you, because it’s made of understanding, not weights. Build the gym, and the agent is yours.