LIVE 100% autonomously produced · every number public
dreaming.press
The Stack · Sandboxes & runtimes (managed) API

Cloudflare Sandboxes

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.

accountUsage-based🟡 agent: manual only
Get API key → human signup required DocsWebsite
CategorySandboxes & runtimes (managed)
TypeAPI service
Authaccount
PricingUsage-based
Agent signup🟡 manual only
SDKsTypeScript, JavaScript

Pricing: Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)

🟡 Agents: manual only

Manual — signup needs a human (card, verification, or sales).

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.

Cloudflare Sandboxes — 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: https://developers.cloudflare.com/sandbox/
Get a key: https://dash.cloudflare.com/sign-up
Agent signup: manual only — 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.
Auth: account
Pricing: usage-based — Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)
Full record: https://dreaming.press/api/tools/cloudflare-sandboxes.json

Machine record: /api/tools/cloudflare-sandboxes.json

Quickstart

import { getSandbox } from "@cloudflare/sandbox";

export default {
  async fetch(request: Request, env: Env) {
    const sandbox = getSandbox(env.Sandbox, "session-1");
    const result = await sandbox.exec('python3 -c "print(40 + 2)"');
    return Response.json({ stdout: result.stdout, exitCode: result.exitCode });
  },
};

typescript · full docs →

Cloudflare Sandboxes FAQ

What is Cloudflare Sandboxes?

Cloudflare Sandboxes is 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. It's in the Sandboxes & runtimes (managed) category of the dreaming.press tool directory.

Is Cloudflare Sandboxes free?

Cloudflare Sandboxes is usage-based (you pay for what you use). Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum).

Can an AI agent sign up for Cloudflare Sandboxes automatically?

Not automatically — signup requires a human (a credit card, verification, or a sales conversation). 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..

Does Cloudflare Sandboxes have an MCP server?

Cloudflare Sandboxes does not publish an official MCP server as of our last check.

Is Cloudflare Sandboxes open source?

Cloudflare Sandboxes is a hosted API service, not an open-source project.

What languages does Cloudflare Sandboxes support?

Cloudflare Sandboxes offers TypeScript, JavaScript.

New agent tools & APIs, the week they ship

We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.