OpenEnv, Verifiers, Inspect, Gymnasium and Harbor all let a harness drive an environment and get a score, but they sit at different layers. Gymnasium is a Python API for the reset-and-step loop. OpenEnv serves an environment from a container over WebSocket. Verifiers packages tasks, tools and rewards for Prime Intellect’s training stack. Inspect is an evaluation framework built from datasets, solvers and scorers. Harbor packages each task as a directory an agent works in. ATIF isn’t an environment format at all: it records the trajectories that come out. Pick the one your trainer or eval harness already speaks; a well-built environment can ship in all of them, with the same verifier as the reward.
How do the formats compare at a glance?
| Format | Maintained by | What you get | Reward comes from | Typical use |
|---|---|---|---|---|
| Gymnasium | Farama Foundation | A Python environment with reset() and step() | The value step() returns | RL libraries and custom training loops |
| OpenEnv | An open project with a technical committee that includes Meta-PyTorch and Hugging Face | A Docker container serving reset, step and state over WebSocket, with MCP tools | The observation after each step | RL training with TRL, Unsloth, SkyRL and others |
| Verifiers | Prime Intellect (MIT licence) | A Python package: tasks, tools as MCP toolsets, rewards | Reward functions in the package | The Environments Hub, prime-rl and Prime’s hosted training |
| Inspect | UK AI Security Institute and Meridian Labs | A task: dataset, solver and scorer | The scorer | Capability and safety evaluations |
| Harbor | The creators of Terminal-Bench | A task directory: instruction, environment, solution and tests | A reward file the tests write | Evaluating agent harnesses such as Claude Code or Codex CLI |
| ATIF | Harbor (an RFC) | One JSON document per episode | The recorded outcome | Sharing trajectories for analysis and fine-tuning |
Gymnasium: the reset-and-step API
Gymnasium’s Env API is the contract most RL code assumes: reset(seed) returns an observation and an info dictionary, and step(action) returns the next observation, a reward, whether the episode terminated or was truncated, and info. For language agents the observation and action are text, so the spaces are text spaces holding JSON or prose. Gymnasium says nothing about tools, sandboxes or multi-turn chat, which is both its strength (anything fits) and its limit (every environment invents its own conventions for them).
OpenEnv: environments as servers
OpenEnv packages each environment as a Docker container that runs locally, on a cloud sandbox or as a Hugging Face Space. Clients call reset(), step() and state(), sync or async, over a WebSocket. MCP environments also expose their tools to agents at /mcp, while training continues through step() and rewards. Its integrations include TRL, whose GRPOTrainer accepts an environment factory, plus Unsloth, SkyRL, ART and Oumi. A technical committee governs it, with members including Meta-PyTorch, Hugging Face, Prime Intellect, Nvidia, Mercor and Microsoft. The README warns that it’s in early development and its APIs may still change, so pin a version.
Verifiers: Prime Intellect’s environment library
verifiers is an MIT-licensed library “for creating environments to train and evaluate LLMs”, tightly integrated with Prime Intellect’s Environments Hub, its prime-rl trainer and its hosted training. In its current design an environment defines the control flow among agents in an episode (a single agent, retries, or an agent paired with a judge or a simulated user); a harness is the program the model runs in, such as Claude Code or Codex; and a taskset’s tools are installed into the harness as MCP servers (verifiers docs). The Hub lists more than 2,500 community environments (Prime Intellect). Choose it when you train or evaluate on Prime’s stack, or want to publish to the Hub.
Inspect: an evaluation framework
Inspect, from the UK AI Security Institute and Meridian Labs, defines an evaluation as a task that brings together a dataset, a solver that produces an answer (from a single model call to a full agent) and a scorer that grades it. It has built-in tool calling, agents, support for external agents such as Claude Code, sandboxes on Docker, Kubernetes, Modal and others, and a log viewer. Choose it for evaluations you want to inspect step by step and share with safety and policy teams, rather than for rollouts at training volume.
Harbor: task directories for agent harnesses
Harbor comes from the creators of Terminal-Bench and is the official harness for Terminal-Bench 2.0. Each task is a directory with an instruction, an environment, an oracle solution and tests; the tests write a reward file, and the verifier runs in its own sandbox by default (Harbor verifier docs). Harbor runs agents such as Claude Code, OpenHands and Codex CLI in Docker locally or on cloud sandboxes such as Daytona and Modal. Choose it to evaluate whole agent harnesses rather than bare models. Several vendors exchange tasks in it: HUD imports and exports Harbor tasks, and Turing exports them.
ATIF: a format for what happened
The Agent Trajectory Interchange Format is a Harbor RFC for recording an episode as JSON: the steps, tool calls, observations and final metrics. It isn’t runnable. Use it to share agent runs and expert demonstrations for analysis, debugging and supervised fine-tuning, and validate files with Harbor’s trajectory validator before you rely on them.
Which format should you choose?
- Training with TRL, Unsloth or SkyRL: OpenEnv.
- Training or evaluating on Prime Intellect: Verifiers.
- Safety or capability evaluations you’ll review in detail: Inspect.
- Your own RL loop or a classic RL library: Gymnasium.
- Comparing agent harnesses, or running tasks in a container with a CLI agent: Harbor.
- Sharing or training on recorded episodes: ATIF.
If you’re buying environments, ask for more than one. Your stack will change faster than the tasks do.
What should stay the same in every format?
- The reward. It should be the environment’s own verifier, identical in every package, so a score in Inspect and a reward in OpenEnv mean the same thing.
- What the agent can see. Tools and observations only. Reference solutions and verifiers stay on the evaluator’s side.
- The validation. Run every package through its framework’s own validator with two policies: the reference solution must score 1 and a do-nothing policy must score 0, on every task.
- Versions. Pin the environment version and the framework version in anything you report.
What goes wrong in practice?
- Dependency conflicts. When we validated Sandworld’s packages, verifiers 0.4 pinned
mcp==2.2.0while openenv 0.14 neededmcp<2, so the two had to be installed in separate environments. - Reward timing. Some formats expect a reward per step, others one at the end. Decide whether intermediate steps score 0 and the verdict arrives on submit, or whether partial credit is reported, and document it.
- Reachability. On hosted runtimes, the evaluator must reach the environment server. Run it as a service next to the trainer or give it a public URL.
- Moving APIs. OpenEnv and Verifiers are both young and changing; pin versions and rerun validation on upgrade.
How does Sandworld ship one world in all of them?
Each Sandworld world builds into a versioned Docker image that speaks OpenEnv’s protocol and Sandworld’s REST API, with no account and no outbound network. On top of it, an exporter writes OpenEnv, Verifiers, Inspect and Gymnasium packages and ATIF trajectories, and every task also exports as a Harbor package. On 22 November 2026 each package was checked with its framework’s own tools, with the reference solution scoring 1 and a do-nothing policy 0. The exports are in beta and not yet published to a registry or hub, so we build the images and packages you need on request; the exports docs list the exact checks and limits.
