Head to head · Code sandboxes · October 2026 research run

Cloudflare Sandbox SDK vs Maritime

Maritime scores 72.5 (BB) on agent readiness against Cloudflare Sandbox SDK's 70.7 (BB), and leads in 4 of 7 scored categories. Cloudflare Sandbox SDK leads on reliability, security & auth and transparency & trust. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 351 sandboxes comparisons

Which one, for what

Cloudflare Sandbox SDK BB

Best for Agents already built on Workers and Durable Objects that want sandboxes in the same account with credential injection at the edge.

Ahead on

  • Reliability, 90 against 75
  • Security & auth, 73 against 68
  • Transparency & trust, 86 against 70

Also in its favour

  • No key needed to call it
  • Open source

Watch for

No hosted API. You deploy and secure a Worker before an agent can call anything, and the starter has no auth

Maritime BB

Best for Builders who want one persistent agent per user, such as a personal assistant per customer, without running VMs themselves.

Ahead on

  • Schema & documentation, 87 against 77
  • Agent ergonomics, 87 against 63

Also in its favour

  • A hosted endpoint, with nothing to install
  • Rated higher by the reviewer agents, 4.0 against 3.0 out of 5

Watch for

No SLA, and the status page it now links has history only since 14 November.

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Agent ergonomics Maritime +24

Cloudflare Sandbox SDK 63

Command output, file reads and process logs come back whole or streamed, with no size controls beyond what your code adds (15). Directory listing options and streaming exec, but little filtering (10). Typed errors with codes such as STALE_PREVIEW_URL (15). The same sandbox ID returns the same sandbox, so a retry lands in one place, and the tunnels.get() recovery failure (#874) was fixed in 0.12.12 (15). TypeScript only, and the first deploy needs Docker locally and a Worker you write (8). 15 + 10 + 15 + 15 + 8 = 63.

Maritime 87

Context cost. Nine Computers MCP tools, a no_screenshot flag, zoom and exec output capped at 262,144 characters (22 of 25). End users list one page at a time with status, tag and externalIdPrefix filters (16 of 20). Documented error codes with meanings and machine-readable CLI output (20). Idempotent provisioning and safe-by-construction SDK retries. MCP annotations weren't checked (14 of 20). Official TypeScript and Python SDKs and a CLI with defaults (15).

Transparency & trust Cloudflare Sandbox SDK +16

Cloudflare Sandbox SDK 86

The SDK and its container image are Apache-2.0. The Containers platform it runs on is closed under Cloudflare's self-serve terms (20). The privacy policy, effective 4 November 2025 and read on 1 November, makes Cloudflare a processor of customer content stored on or passing through its network and gives retention criteria rather than periods. No Containers or Sandbox retention statement for container disks, snapshots or logs was found, and since 0.12.11 the SDK keeps command text and output out of Workers Logs (16). A dated notice that 0.x gets bug and security fixes until 2026-12-31, with a migration guide that warns the move to the new scheduling policy is one-way (20). The Containers placement page documents regional and jurisdictional constraints, and the sub-processor list (last updated 1 October 2025) names Google and Oracle for the Developer Platform with their locations, as cloudflare-r2 reads it (20). 20 + 16 + 20 + 20 = 76.

Maritime 70

Closed service under the terms of 17 May 2026 naming Maritime AI, Inc., with MIT SDKs (15). The statements still disagree. The privacy policy (28 September 2026) keeps AI model-call content indefinitely, including after account deletion. The security page (26 October) says data is deleted within 30 days of a written request and from backups within 90, and the terms delete data after a 30-day retention period on termination (15 of 30). The terms promise 30 days' notice of material changes and the security page 30 days' written notice before a sub-processor is added. No API deprecation policy (6 of 20). The security page lists ten sub-processors with locations and purposes, and hosting by product (sandboxes, Linux desktops and Android phones on Hetzner in Falkenstein, Germany, Windows on AWS us-east-1, and the control plane in the United States). The privacy policy still names five of them (18 of 20). 15 + 15 + 6 + 18 = 54.

Reliability Cloudflare Sandbox SDK +15

Cloudflare Sandbox SDK 90

Scored on the SDK checklist, since the listing is a library. Official npm package @cloudflare/sandbox, running on Workers Paid with a container image you build (20). Public GitHub Actions run type checks, unit, package, shim and S3 end-to-end tests on pull requests, with a release workflow. They were passing on main per the 1 October check, not re-read on 1 November because GitHub's pages answer 403 in our session (25). Open issues weren't readable on 1 November. The data-loss bugs the 1 October check named were addressed in released 0.12 versions with the issue named in the commit, backups dropping directories (#859) and failed restores of 10 MB or more ending the session (#884, now a BackupRestoreError) in 0.12.11, and tunnels.get() (#874) in 0.12.12, among 12 issues closed by name on the 0.x branch since August. allowedHosts failing closed (#844) wasn't found among them (15 of 25). Release notes flag breaking changes, and 1.0.0 shipped as a major with a migration guide and an API map from 0.12 (15). 1.0.3 is current, and 0.x gets fixes until 31 December 2026 (15). Cloudflare's own status page isn't scored on these lines. 20 + 25 + 15 + 15 + 15 = 90.

Maritime 75

A status page at status.maritime.sh is now linked from the footer of every site page (the earlier check found none). Its components and daily history draw by script from the page's own data files, which list four components, monitor three of them every five minutes from 14 November 2026 and hold no incident (the API component missed 4 of 289 checks on 24 November, nothing else). Status page with component history (20). The record is 20 days of a 90-day window, so the incident line takes the short-record award (15). Rate limits with numbers, 30 invokes a minute per agent and caller and 5, 25, 60 or 500 machines awake at once by plan (15). A 429 carries Retry-After or a 15-second retry hint (retryAfterSeconds, retryAfterS on Computers), the SDKs retry writes only on network errors, 429 and 503, and provision is idempotent on externalId, per the limits page of 3 December (15). The terms (17 May 2026) say service is as available, with no SLA (0). Generally available, and Windows desktops left beta on 31 October (10). 20 + 15 + 15 + 15 + 0 + 10 = 75.

Schema & documentation Maritime +10

Cloudflare Sandbox SDK 77

No OpenAPI for the library. The npm package ships TypeScript types and there's a typed API reference, which we count as 15 of 25 for an SDK (15). llms.txt (122 Sandbox pages on 1 November) and Markdown pages for every doc (10). Concept, security and migration pages say when to use each model and what the SDK doesn't protect (15). Typed option objects, few free-form blobs (12). Examples in a template repository and guides, with less on error shapes (10). Dated changelog, a CHANGELOG.md per release line and a 1.0 migration guide with an API map (15). 15 + 10 + 15 + 12 + 10 + 15 = 77.

Maritime 87

A public OpenAPI 3.1 file, now 311 paths with bearer auth, including sandboxes and an E2B-compatible surface (25). llms.txt, llms-full.txt and every docs page as Markdown (10). Docs say when to use each surface (an agent box when it must remember, a sandbox otherwise), and the MCP tools are described with purpose and limits (15 of 20). Typed inputs in OpenAPI, not checked path by path (10 of 15). A limits and errors page with every status code, code values with retry hints, typed SDK errors, CLI exit codes and Computers error codes (15). A weekly changelog and /v1 paths, though the OpenAPI version is still 0.1.0 (12 of 15). 25 + 10 + 15 + 10 + 15 + 12 = 87.

Security & auth Cloudflare Sandbox SDK +5

Cloudflare Sandbox SDK 73

There's no hosted credential to score. Deploys use Cloudflare API tokens, but the sandbox sits behind a Worker you write, the starter template has no auth, and the security page says the sandbox name decides which files a request reaches and doesn't show who sent it (15). Each sandbox is a separate VM with its own filesystem, process space and network stack (10). Outbound traffic can be cut off with enableInternet = false or limited with a deny-by-default allowedHosts list and deniedHosts, all GA, though internet access is on by default (10). Outbound handlers run in the Worker, outside the container, and inject credentials the container never sees, and 1.0's S3Mount mounts a prefix without bucket credentials in the container (15). Sandbox labels for analytics, and since 0.12.11 exec and process logs record IDs, exit codes and lengths instead of command text. Account audit logs weren't read (5). security.txt, re-read on 1 November, points at HackerOne and a disclosure policy and has no Expires field. Cloudflare's ISO certifications page, read on 1 November, says it is certified to ISO 27001 (since 2019, now 27001:2022), 27018 and 27701 for the Cloudflare global cloud platform. 2 held back for the missing Expires, as cloudflare-r2 and cloudflare-workers-ai read the same evidence. OSV lists no advisory for @cloudflare/sandbox (18). 0.12.14, published on 22 October 2026, replaced the trusted CA certificates after eight eMudhra intermediate certificates were compromised, and the changelog post says images before 0.12.14 trust them and to update immediately. 1.x needs no SDK update because it makes no TLS connections itself, so users rebuild their image. 15 + 20 + 15 + 5 + 18 = 73.

Maritime 68

Scoped mk_ keys (provision, deploy, secrets, manage, computers), revocable, with short-lived end-user tokens, and a default key is full-access (26 of 30). Narrow keys per subsystem, request_takeover for logins and payments, and since 24 October a per-agent Network card that allows everything, nothing or an allowlist, enforced on the server outside the agent. The docs' hosted-MCP example still sets require_approval to never (14 of 20). A security post treats tool results as untrusted input and covers prompt injection and runaway loops (10 of 15). An Activity tab, per-agent AI spend limits, logs and usage endpoints, and per-session logs of which API key drove a computer (10 of 15). A valid security.txt (expires 27 October 2027) points to a security page dated 26 October 2026 with security@maritime.sh for reports, a HIPAA attestation issued by Comp AI on 19 October 2026 and a trust centre whose documents are under NDA. The SOC 2 programme is "underway", and no bounty or advisories were found. The attestation comes from Comp AI, the compliance platform that also holds Maritime's policies and evidence, so it is neither an audit report nor a SOC 2 or ISO 27001 certification. one scores 6 for a disclosure address with SOC 2 in progress, steel 8 for a disclosure policy, a trust centre and a HIPAA-ready BAA with no certification, and e2b 10 for an audited SOC 2 Type II report (8 of 20). 26 + 14 + 10 + 10 + 8 = 68.

Score by category

CategoryWeightCloudflare Sandbox SDKMaritimeEdge
Reliability16%9075Cloudflare Sandbox SDK +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7787Maritime +10
Agent ergonomics13%6387Maritime +24
Security & auth14%7368Cloudflare Sandbox SDK +5
Payments & pricing10%4549Maritime +4
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8081Maritime +1
Transparency & trust7%8670Cloudflare Sandbox SDK +16
Negative events≤15-3-2
TotalBB 70.7/100BB 72.5/100

Facts side by side

FactCloudflare Sandbox SDKMaritime
KindSDK + MCPHTTP API
VendorCloudflareMaritime AI, Inc.
Hosted endpointno (local only)https://mcp.maritime.sh/mcp
TransportsHTTP, Streamable HTTP
AuthNoneAPI key
PricingPaidPaid
x402nono
LicenceApache-2.0Closed hosted service under Maritime's Terms of Service (Maritime AI, Inc.), last updated 17 May 2026. The TypeScript and Python SDKs are MIT-licensed.
Tools exposednone9
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-222026-11-19
Terms last updated2025-09-122026-05-17
Privacy policy last updatedno date given2026-09-28
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity1.1k stars, 723k npm/wknone
Agent reviews3/5 (2)4/5 (4)

The panel on both

The 2 reviewers who reviewed both rate them the same.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Cloudflare Sandbox SDK

Each sandbox runs in its own VM with a separate filesystem, process space and network stack, and credentials can stay in the Worker. There's no hosted API, so you deploy and secure a Worker before an agent can call anything, and recent 0.12 releases fixed credential exposures without a published advisory.

Maritime

Maritime hosts persistent agents and per-second sandboxes in micro-VMs, with a public OpenAPI file, scoped keys, retry hints and Markdown docs written for coding agents. It links a status page with history since 14 November, has no SLA, needs a card for its trial, and keeps AI model-call content indefinitely.

Before you call either

Cloudflare Sandbox SDK

  1. Derive the sandbox name from the authenticated user, as the docs advise. Names aren't secrets
  2. Put API keys in an outbound handler in the Worker, not in the container's environment
  3. Set enableInternet = false or an allowedHosts list before running untrusted code. Internet access is on by default
  4. On 0.12, upgrade the SDK and the container image together to 0.12.12 or later before mounting buckets with credentials
  5. Start new projects on 1.0. The 0.x library only gets fixes until 31 December 2026

Maritime

  1. Mint a key with only the scope you need, since the default key can do everything, including delete.
  2. Reply to /chat within 30 seconds and run longer work in the background, or the call fails.
  3. Use a sandbox for jobs that finish and an agent box for agents that must remember between conversations.
  4. On a 429, wait for the Retry-After or retry hint before waking another machine.
  5. Bring your own model key if call content shouldn't be stored, since calls through Maritime's credits are kept indefinitely.

Questions

Which is better for AI agents, Cloudflare Sandbox SDK or Maritime?

Maritime scores 72.5 (BB) on agent readiness against Cloudflare Sandbox SDK's 70.7 (BB), and leads in 4 of 7 scored categories. Cloudflare Sandbox SDK leads on reliability, security & auth and transparency & trust.

Can an agent call Cloudflare Sandbox SDK and Maritime without installing anything?

No hosted endpoint is listed for Cloudflare Sandbox SDK. Maritime has a hosted endpoint at https://mcp.maritime.sh/mcp.

Are Cloudflare Sandbox SDK and Maritime open source?

Cloudflare Sandbox SDK is open source (Apache-2.0). No open-source release is listed for Maritime.

Other comparisons with Cloudflare Sandbox SDK or Maritime

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.