Run any harness.On any cloud.

Claude Code, Codex, OpenCode, Pi and more, each in its own sandbox on Tangle. agent-runtime also ships adapters for E2B, Daytona and ComputeSDK.

Sandboxes, evals, products and fleets. One SDK.

Each file reads TANGLE_API_KEY. Create a key

sandboxes/run-code.mts
import { Sandbox } from "@tangle-network/sandbox";

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

// A fresh Linux machine, one command, then gone.
const box = await client.create();
try {
  const { exitCode, stdout } = await box.exec(
    "python3 -c 'import platform; print(platform.platform())'",
  );
  console.log(exitCode, stdout);
} finally {
  await box.delete();
}
npm install @tangle-network/sandbox && npx tsx run-code.mts

One key. One bill.

Sandboxes, models and traces share one API key and one balance. Every turn is metered, and a fleet runs under a cap you set.

Free

$0

Pay as you go

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

Team

$99 / month

Includes $99 of usage each month

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