Skip to main content
OpenEnv is an end-to-end framework for creating, deploying, and using isolated execution environments for agentic reinforcement learning (RL) training. It uses simple, Gymnasium-style APIs so training code and agents can interact with many kinds of environments through a consistent interface. Novita Sandbox is now integrated with OpenEnv as a provider for running OpenEnv server environments in isolated cloud sandboxes.

Run a Tbench2Env Server

The following example uses NovitaSandboxProvider to build and start the Tbench2 OpenEnv server in a Novita Sandbox. It then connects to the server with Tbench2Env, resets a task, executes commands, and releases the sandbox when the run finishes. The example is based on examples/novita_tbench2_simple.py in the OpenEnv repository. Set NOVITA_API_KEY and run the example from the root of a local OpenEnv checkout:
CLI
Python
For a complete end-to-end evaluation, see examples/novita_tbench2_e2e_eval.py:
CLI
Last modified on September 18, 2026