Cloud sandboxes for coding agents.

Claude Code, Codex, OpenCode and Pi come installed. Give one a repo and a task, close your laptop, and collect the diff and the test results later.

New sandbox
1sp95 6.2s
First reply, fastest agent
1.9sp95 5.7s
Resume
651msp95 3s
p50 and p95 of 10,164 test runs against production, Nov 26 to Dec 3Replay Claude Code fixing a failing test

Give each agent its own machine.

A Linux sandbox with a shell, git and the agent installed. Stop it and it bills nothing; resume it and every file is still there.

Sandbox SDK reference
import { writeFile } from "node:fs/promises";
import { Sandbox } from "@tangle-network/sandbox";

const client = new Sandbox({
  apiKey: process.env.TANGLE_API_KEY!,
  baseUrl: "https://sandbox.tangle.tools",
});

const box = await client.create({
  git: { url: "https://github.com/tangle-network/sandbox-demo" },
  backend: { type: "claude-code" }, // or "codex", "opencode", "pi"
});
try {
  const run = await box.prompt("`npm test` fails. Find the cause and fix it.");
  if (!run.success) throw new Error(run.error);

  // Check the result yourself.
  const tests = await box.exec("npm test");
  if (tests.exitCode !== 0) throw new Error("The tests still fail.");

  await writeFile("fix.patch", (await box.exec("git diff")).stdout);
  console.log(run.usage, run.costUsd); // metered per turn
} finally {
  await box.delete();
}

Pick a coding agent. It comes installed.

Claude Code can sign in with your Claude plan and Codex with your ChatGPT plan. Your subscription pays for the model, and Tangle bills only the sandbox.

Start these from the CLI or API

  • Amp
  • NanoClaw
  • Nanocode
  • ACP
  • Cursor
  • Grok
CLI and API setup
Time per task
  1. Find unused importsDeepSeek Flash
    23 s
  2. Document the packagesDeepSeek Flash
    17 s
  3. Fix the timezone testDeepSeek Flash
    39 s

Run agents in parallel on your repo.

Each agent works in its own checkout, so two agents can edit the same file without overwriting each other. Pick a model per task and set one spending cap for the fleet.

Open the fleet example

Benchmark coding agents on your own repo.

Claude Code and Codex get the same bug report, the same model and their own copy of the repo. Your test suite grades each fix.

AgentCases passedRun time
Claude Code3 / 379 s
Codex3 / 340 s
Open the recorded comparison

Let the agent use your keys without reading them.

The agent holds a placeholder. An egress proxy beside the sandbox adds the real key only to requests for the hosts and paths you declared, and masks it if a response echoes it back.

A new sandbox reaches a short list of developer hosts, such as package registries and git hosts. Any other request gets a 403 that names the reason, and the sandbox lists every host it refused.

Router can hold a request, or your whole team, to providers with verified zero data retention agreements.

Pay for the seconds your sandboxes run.

A stopped sandbox keeps its disk and bills nothing. Model calls through Router use the same API key and draw from the same balance.

Sandbox compute
From $0.04 per hour
Model calls
Rates by model

Free

$0

No included credit

  • 1 concurrent sandbox
  • 3 snapshots per sandbox
  • 100 GiB egress per account each month, refused beyond it, never charged

Pro

$29.99 / month

$29.99 in monthly credit

  • Unlimited sandboxes
  • 10 snapshots per sandbox
  • 2 TB egress per account each month, then $0.05/GB

Team

$99 / month

$99 in monthly credit

  • Unlimited sandboxes
  • 25 snapshots per sandbox
  • 2 TB egress per account each month, then $0.04/GB