Run your coding agent across clouds.

Give Claude Code or Codex a job in your repo. It keeps working when you close your laptop.

Explore the examples

Give each agent its own machine.

Run commands, edit files and inspect the changes alongside each step your agent took.

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();
}
Time per task
  1. Find unused importsDeepSeek Flash
    18 s
  2. Document the packagesDeepSeek Flash
    15 s
  3. Fix the timezone testGLM
    103 s

Run agents in parallel on your repo.

Choose a model for each task. Agents work in separate checkouts, so they can edit the same files without overwriting each other’s changes.

See how to split the work

Benchmark coding agents on your own repo.

Give Claude Code and Codex the same bug report, the same model and separate copies of your repo. Let your test suite grade each fix.

AgentCases passedRun time
Claude Code3 / 3105 s
Codex3 / 387 s
Open the recorded comparison

Choose your coding agent.

Configure with the CLI or API

  • Amp
  • NanoClaw
  • Nanocode
  • ACP
  • Cursor
  • Grok
CLI and API setup

Plans and pricing

Use the same API key for sandboxes and model calls. Both draw from your Tangle 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 sandbox each month, then $0.05/GB

Team

$99 / month

$99 in monthly credit

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