---
title: "The guide"
description: "The guide: AgenticRLEnvironments.com"
url: "https://www.agenticrlenvironments.com/guide/"
site: "AgenticRLEnvironments.com"
---

# The guide

> The guide: AgenticRLEnvironments.com

## November 2026
- [Agent environments for RL training: a sourced table of published environments](https://www.agenticrlenvironments.com/guide/agent-rl-environments-table/index.md): A table of 13 published environments and interfaces for training language agents with RL, from WebShop and ALFWorld to SWE-Gym, R2E-Gym and Reasoning Gym: what the agent acts in, how reward is computed and how large each is, read from the authors' papers and repositories. (updated 2026-11-26)
- [How to clone a web app as an RL environment for agents](https://www.agenticrlenvironments.com/guide/clone-a-web-app-as-an-rl-environment/index.md): Clone a web app as an agent environment by self-hosting an open-source app of the same kind in a container image, loading seeded synthetic data, replacing outside services with local fakes, fixing the clock, and reading rewards from its database. Then pin the image and check two runs match. (updated 2026-11-26)
- [How to generate tasks for agent environments at scale](https://www.agenticrlenvironments.com/guide/generate-tasks-for-agent-environments/index.md): Generate agent tasks from templates filled with seeded parameters, from procedural generators with a difficulty knob, or by mining and mutating real artefacts such as commits and tests. Whatever the source, keep a task only if its grader can tell a correct solution from a wrong one. (updated 2026-11-26)
- [Reward design for agentic RL: sparse, dense, outcome and process rewards](https://www.agenticrlenvironments.com/guide/reward-design-for-agentic-rl/index.md): Start an agent environment with a sparse outcome reward checked by code on the final state. Add partial credit, shaping or format rewards only when learning stalls, prefer potential-based shaping because it keeps the optimal policy the same, and treat each added term as a new exploit. (updated 2026-11-26)
- [Reward hacking in agent environments: published examples and how to prevent it](https://www.agenticrlenvironments.com/guide/reward-hacking-in-agent-environments/index.md): Reward hacking is an agent earning reward without doing the intended task, by exploiting how the reward is checked: edited tests, skipped checks, hard-coded outputs, copied answers. Prevent it by grading outside the agent's reach, hiding answers and testing graders against known exploits. (updated 2026-11-26)
- [How to scale agent environment instances for RL training](https://www.agenticrlenvironments.com/guide/scale-environment-instances-for-rl/index.md): Scale agent environments by running one isolated instance per episode with fixed CPU and memory limits, many in parallel, and by not letting the slowest episode stall the batch. Size and price a batch from episodes, minutes and resources per instance, and cap its worst case before it starts. (updated 2026-11-26)
- [How to version agent environments so runs can be reproduced](https://www.agenticrlenvironments.com/guide/version-and-reproduce-agent-environments/index.md): Version an agent environment as one id that pins everything that can change a reward: code, container image by digest, data, task set, grader and step limit. Bump it whenever any of them changes, record it and the seed with every trajectory, and test that a seed replays to the same state. (updated 2026-11-26)
- [What is an agentic RL environment? State, actions, observations and reward](https://www.agenticrlenvironments.com/guide/what-is-an-agentic-rl-environment/index.md): An agentic RL environment is a program an AI agent acts in over many turns. It holds hidden state, accepts actions such as tool calls, returns observations such as text or screenshots, and pays a reward when it checks the outcome. Gymnasium's reset and step are the usual way to write one. (updated 2026-11-26)
- [How to wrap a tool-use task as a Gymnasium environment for an LLM agent](https://www.agenticrlenvironments.com/guide/wrap-a-tool-use-task-as-a-gymnasium-environment/index.md): Subclass gymnasium.Env, declare Text spaces for actions and observations, build the task from self.np_random in reset, parse each action as a tool call in step, and compute the reward from the final state. Register it with a versioned id and max_episode_steps, then run the environment checker. (updated 2026-11-26)
- [How to write a grader or verifier for an agent environment](https://www.agenticrlenvironments.com/guide/write-a-grader-for-an-agent-environment/index.md): Write a grader that checks the final state with code, also checks what must not have changed, runs where the agent cannot touch it, and is tested with right, wrong and empty answers. Keep environment errors out of the reward, and use a model as judge only for what code cannot check. (updated 2026-11-26)
