The cloud for long-running AI agents.

Give an agent a workspace, connect the model you want, and let it work. Come back to see what it changed and whether the result passes your tests.

Watch two agents tackle the same bug

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

Why we build Tangle

An agent can write a patch. Putting that agent in someone’s hands takes a computer for their code, access to a model, and a way to tell whether the patch works. We build that infrastructure.

Our product team uses it to build apps. Our research team studies what makes agents better. One of our fleet tests once hid three failures. You can replay the corrected run and inspect every exit code.

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 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