Free
$0
No included credit
- 1 concurrent sandbox
- 3 snapshots per sandbox
- 100 GiB egress per account each month, refused beyond it, never charged
Claude Code, Codex, OpenCode, Pi and more, each in its own sandbox.
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();
}Loading recorded result…
npm install @tangle-network/sandbox && TANGLE_API_KEY=<key> npx tsx fix-a-test.mtsThe agent’s files appear here as it works.
npm install -g @tangle-network/sandbox-cliChoose an agent. Sign in to create its sandbox.
Compute, inference and observability, on one balance.
$0
No included credit
$29.99 / month
Your $29.99 comes back as credit each month
$99 / month
Your $99 comes back as credit each month