Run any coding agent.On any cloud.

Claude Code, Codex, OpenCode, Pi and more, each in its own sandbox.

Pick a job. Copy the file. Run it.

fix-a-test.mts
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();
}
Recorded Oct 31, 2026 · Details

Reported usage $0.1162. Full invoice unknown. Served model not recorded.

Run JSON ↗

Loading recorded result…

Recorded activity
Saved playback
    npm install @tangle-network/sandbox && TANGLE_API_KEY=<key> npx tsx fix-a-test.mts

    Ask for an app. Get a live URL.

    Cloud agents
    Recorded session

    The agent’s files appear here as it works.

      npm install -g @tangle-network/sandbox-cli

      Your coding agent, installed.

      Choose an agent. Sign in to create its sandbox.

      One key. One bill.

      Compute, inference and observability, on one balance.

      Free

      $0

      No included credit

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

      Team

      $99 / month

      Your $99 comes back as credit each month

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