RL Environments Are All You Need (6 minute read)

TLDR AI 新闻

摘要

The author argues that RL environments serve as the essential data for building AI agents, enabling systematic training, prompt optimization, and evaluation rather than manual iteration.

RL environments provide the task data and scoring infrastructure needed to improve agents systematically. Teams can use them to train model weights, optimize prompts and harnesses, and run generalizable evaluations instead of relying on manual iteration or vibe-based testing.
查看原文
查看缓存全文

缓存时间: 2026/08/06 13:35

RL environments provide the task data and scoring infrastructure needed to improve agents systematically. Teams can use them to train model weights, optimize prompts and harnesses, and run generalizable evaluations instead of relying on manual iteration or vibe-based testing.


RL Environments are all you need

Recently I tweeted RL Environments are you need for RSI.

Mahesh Sathiamoorthy@madiator·Jul 27Data curation (RL envs) is all you need for RSIQuoteLogan Kilpatrick@OfficialLoganK·Jul 26Automating AI research is going to look a lot more like data cleaning than it is going to look like inventing the transformer5411517K

In fact, I wanted to share my perspective today that RL environments are all you need, which holds beyond RSI. RL environments are all you need when you build agents!

What we learned from Deep Learning

Remember the 60s and the 70s? I guess not, but anyhow, people at the time thought AGI is around the corner. They were building expert systems which were hand crafted if/else kind of heuristics and rules. Eliza was an expert-system chat bot built in 1966, and people thought it was great, until they figured it doesn’t work, at all. The whole field collapsed and we went into AI winter.

The illusion of Eliza, a hand-crafted chatbot

The illusion of Eliza, a hand-crafted chatbot

Then neural networks happened. It invented a systematic way of solving problems. Rather than hand crafting heuristics, the model learns to approximate the distribution of what you are trying to learn. You have to curate data and use compute to train the model.

The models got better with scale. This got us deep learning, but also a good understanding of the importance of scaling compute. The bitter lesson is by now very well understood.

Anyway, the community converged on to a recipe: we curated data**,** split it into train and test, and trained a model on the train set and tested if it generalizes on the test set. This we learned in the school and we applied well at work. Legions of ML engineers used this recipe to transform the world.

But the equivalent thing for agents is missing. What we need is to figure out how to leverage compute to build agents.

So key questions:

  • What’s the data for agents?

  • What constitutes an agent and how to leverage compute?

Agent Data: RL Environments

The equivalent thing to data for agents is RL environments. We are expanding from from models that know things to agents that can do things.. in an environment. The agents are trained in these environments, and so that is now the new data.

The term “RL” in “RL Environment” is superfluous: it’s just that people were using these environments for RL, but it’s not necessary that RL needs to be used.

What constitutes an agent?

Agent is essentially a LLM put in a harness along with a system prompt.

Any of these can be tuned/updated. For example, the frontier labs heavily invest into updating the LLMs, while the rest of the population is mostly focused on updating the prompts. Harness engineering is now picking up.

Going back, let’s see how we can leverage compute to update these components.

Leveraging compute to update the LLM

This one is obvious. You can use RL to update the LLM’s weights. Or SFT or even midtrain with the trajectories generated from the environment. This is what the labs use, and there are a number of success stories now outside the lab as well where people are able to train LLMs to customize for their agentic use cases.

This is a clear use of leveraging compute to update the LLM parameters. And **you need RL Environments **for that!

Leveraging compute to update the system prompt

Most people have been writing prompts themselves but this doesn’t work well for complex agents. Instead we are going to drift towards systems which use tools like GEPA or autoresearch to find the best system prompt that works for you.

Ultimately you and me are worse than powerful LLMs that can inspect, reflect, and write the system prompts. This is just the bitter lesson surfacing again.

For GEPA or autoresearch or evolutionary algorithms, you need to systematically have a way to get the score of how well a prompt is doing, and curate train/test splits (you want to iterate on the the train split, and see if you generalize on the test split).

So ultimately this is achieved by having good RL environments!

Leveraging compute to update the harness

This is a bit of a new field!

People are iterating on harness manually, but like everything else, I believe, we will have mechanisms to automate building of harness (it’s essentially a piece of software).

The closest paper I know of is Meta-Harness work.

We are going to see a lot more work come out next year perhaps! At any rate, the best way to iterate over the harnesses is to have a set of RL environments for your use case.

RL Environments are all you need for Evals

Beyond training the agents, you can use RL environments to do systematic evals (rather than the vibe evals that people do now).

For example Snowflake CEO compared GLM-5.2 with Opus 4.7 and he did that by having access to 103 RL environments for dbt (guess who curated this data?).

sridhar@RamaswmySridhar·Jun 24Early results from the @snowflake’s coco team on GLM-5.2 vs Opus-4.7 on dbt-bench — what the trajectories actually show 552801.8K743K

RL Environments are all you need!

Gist of what I have said:

  • ML recipe means you curate data, and leverage compute to train a model on the data.

  • The new agent recipe is to curate RL environments, and leverage compute to do one or more of: (1) updating the weights, (2) updating the system prompt, and (3) updating the harness.

  • Even if you are not doing any of these, you should at least use them to do evals.

  • And so RL environments are critical for building agents, and you are probably not investing enough into curating them.

This is why @bespokelabsai is razor focused on doing research and shipping RL environments. Whether you are a lab or an enterprise building/evaluating agents, RL environments are all you need.

Next time, I will talk about what RL envs mean for software and for RSI.

相似文章

下一个范式(7分钟阅读)

TLDR AI

文章认为,在多样化的强化学习环境中对数百万可验证任务进行AI训练可能实现通用人工智能,并且扩展规模可能克服当前如样本效率低下等限制。文章还探讨了由于缺乏可重复训练的环境,计算机使用方面的进展为何较为缓慢。

AI Agent的根本问题

Reddit r/AI_Agents

作者认为,AI Agent的根本问题在于LLM未能充分利用Agent环境,需要针对每个环境和版本分别重新训练,这可能引发发布周期冲突。