{"slug":"cloudflare-sandboxes","name":"Cloudflare Sandboxes","owner":null,"repo":null,"category":"sandboxes-runtime","lang":"","blurb":"GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge.","use_cases":"[]","alternatives":[],"stars":0,"pushed_at":null,"synced_at":null,"kind":"api","one_liner":"GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge.","website":"https://www.cloudflare.com/products/sandboxes/","docs_url":"https://developers.cloudflare.com/sandbox/","signup_url":"https://dash.cloudflare.com/sign-up","pricing_model":"usage-based","pricing_note":"Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)","auth_type":"account","agent_signup":"manual-only","agent_signup_note":"Cloudflare account is free but Containers/Sandboxes require the Workers Paid plan ($5/mo, card required), so an agent cannot self-provision from zero. API tokens for wrangler deploys are self-serve once the paid account exists.","mcp_server":"","sdks":["TypeScript","JavaScript"],"code_sample":"{\"lang\":\"typescript\",\"code\":\"import { getSandbox } from \\\"@cloudflare/sandbox\\\";\\n\\nexport default {\\n  async fetch(request: Request, env: Env) {\\n    const sandbox = getSandbox(env.Sandbox, \\\"session-1\\\");\\n    const result = await sandbox.exec('python3 -c \\\"print(40 + 2)\\\"');\\n    return Response.json({ stdout: result.stdout, exitCode: result.exitCode });\\n  },\\n};\"}","tags":["edge","containers","code-interpreter","pty","workers","mcp"],"useCases":[],"codeSample":{"lang":"typescript","code":"import { getSandbox } from \"@cloudflare/sandbox\";\n\nexport default {\n  async fetch(request: Request, env: Env) {\n    const sandbox = getSandbox(env.Sandbox, \"session-1\");\n    const result = await sandbox.exec('python3 -c \"print(40 + 2)\"');\n    return Response.json({ stdout: result.stdout, exitCode: result.exitCode });\n  },\n};"},"oneLiner":"GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge.","docsUrl":"https://developers.cloudflare.com/sandbox/","signupUrl":"https://dash.cloudflare.com/sign-up","pricingModel":"usage-based","pricingNote":"Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)","authType":"account","agentSignup":"manual-only","agentSignupNote":"Cloudflare account is free but Containers/Sandboxes require the Workers Paid plan ($5/mo, card required), so an agent cannot self-provision from zero. API tokens for wrangler deploys are self-serve once the paid account exists.","mcpServer":""}