Skip to main content
Recipes that give each task its own container get it from a sandbox provider. Rows are providers, columns the connectors that can use them; a filled cell has had a real rollout run on it. Each column header links to the connector’s recipe, and a check carries its own link where that pair runs on a different one. The rest of this page is how to set each provider up. Its SDK is installed per recipe; the recipe README has that line. Every provider takes its credential the same two ways: exported in the environment, or in a key file. On a multi-host cluster the file has to be readable where the rollout workers run — a shared filesystem, or the same path on every node — because the launcher hands the workers the file’s path, never its contents.

E2B

E2B Cloud, or any server that speaks the E2B API.
With nothing else set, the SDK talks to E2B Cloud. For a server of your own, point both planes at it:
AgentENV is one such server — Firecracker microVMs behind the E2B API — and deploying one is its own guide. E2B Cloud builds templates as a non-root user, so a task Dockerfile whose RUN layers need root fails to build there. Terminal-Bench-2 tasks ship prebuilt images and are unaffected. For the NeMo Gym recipe (NeMo Gym main >= 3338ebc), each task image needs an E2B template before the run, because E2B starts sandboxes from templates rather than from image references. NeMo Gym’s builder makes them from the task images (named as in the mini_swe_agent_2 README) and writes the mapping the provider reads; the provider README has the details:
2 vCPUs and 8192 MB match the agent’s own sandbox_spec.resources and fit E2B’s Hobby tier. Put that template_map under sandbox.e2b.create in a config file, and pass it after nemo_gym/sandbox/providers/e2b/configs/e2b.yaml, which replaces the docker config in gym env start. On E2B’s Hobby tier a sandbox lives at most one hour, less than the agent’s default sandbox_spec.ttl_s, so add '++mini_swe_agent_2.responses_api_agents.mini_swe_agent_2.sandbox_spec.ttl_s=3600' there. The NeMo Gym server reads the key only from E2B_API_KEY in its own environment, not from the key file, so export it on the host that runs gym env start.

Daytona

Accounts carry a total-disk quota: keep concurrent sandboxes × per-sandbox disk under it. A Harbor recipe sizes that disk with HARBOR_OVERRIDE_STORAGE_MB. The credential is a token pair, kept in the config file Modal’s CLI writes:
MODAL_TOKEN_ID + MODAL_TOKEN_SECRET in the environment work as well; one half without the other is treated as missing. MODAL_PROFILE and MODAL_ENVIRONMENT pick the workspace when the profile’s default is not the one you want. Miles defaults MODAL_SANDBOX_V2=1; Modal SDK 1.5.5 and newer honor that switch through the public Sandbox.create API. Set it to 0 only when temporarily diagnosing a V2-specific provider issue. For OpenEnv TB2, cpus and memory_mb from each task’s task.toml become Modal resource requests, not hard limits. They preserve the task’s guaranteed resource contract while still allowing the sandbox to burst above the request when its host has spare capacity.

Novita

With nothing else set, the SDK talks to the us-phx-1 region. NOVITA_DOMAIN=sandbox.novita.ai selects the legacy us-virginia-1 region; NOVITA_API_URL and NOVITA_SANDBOX_URL override the two endpoints for an internal deployment.