Head to head · Code sandboxes · October 2026 research run

Deno Sandbox vs Morph Cloud

Morph Cloud scores 52.8 (D) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 4 of 7 scored categories. Deno Sandbox leads on security & auth and transparency & trust. Both do code sandboxes.

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

Which one, for what

Deno Sandbox D

Best for Short runs of untrusted or generated code that need outside API keys kept out of reach, for teams already on Deno Deploy, until Deploy closes six months after 9 October 2026.

Ahead on

  • Security & auth, 58 against 39
  • Transparency & trust, 67 against 44

Watch for

Deno Deploy, which runs Sandbox, shuts down six months after the 9 October 2026 announcement, and Deno is moving its development to Cloudflare

Morph Cloud D

Best for Agents that need to checkpoint and fork a running machine with memory intact, for parallel attempts, evaluations or reinforcement learning rollouts.

Ahead on

  • Reliability, 63 against 43
  • Schema & documentation, 72 against 66

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No privacy policy, DPA or subprocessor list found on morph.so or cloud.morph.so. The terms of 23 October 2025 are the only legal document

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.

Transparency & trust Deno Sandbox +23

Deno Sandbox 67

The SDKs are MIT and the platform is closed under terms last modified 30 September 2026 (18). The privacy policy states no retention periods. The docs state that a deleted volume's storage is removed after 24 hours and the pricing table gives log retention of 1 day to 1 week. The terms grant Deno a licence over user data for internal business purposes including benchmarking. No public DPA was found (10). Deno's post of 9 October 2026 gives dated notice that Deno Deploy, which runs Sandbox, will keep operating for six months before shutting down. There is no general deprecation policy, and the terms allow changes or discontinuation without notice (15). Two regions are named. No sub-processor list found (7). 18+10+15+7 = 50.

Morph Cloud 44

The SDKs are Apache-2.0. The platform is closed, under Terms of Service last revised 23 October 2025 at cloud.morph.so/web/legal/terms-of-service, which name Morph Labs, Inc. of San Francisco, set California law and arbitration, and promise 15 days' notice of material changes (15). No privacy policy or DPA found. The terms say Morph staff do not access disk, memory or application data in instances except on a customer's time-bound request or by law, that such access is logged, that diagnostic artifacts are deleted per a retention schedule that is not published, and that usage telemetry is shared only aggregated or de-identified. The docs describe snapshot TTLs the customer sets and say Morph Actions data has no fixed retention period (8). No deprecation policy. The terms promise not to reduce core functionality materially during a committed billing term without a workaround or a refund, with no notice period for API changes. The OpenAPI file marks a few fields deprecated and keeps a legacy query alias, without dates (3). No subprocessor list or data location statement found (0). 15+8+3+0 = 26.

Reliability Morph Cloud +20

Deno Sandbox 43

Hosted lines. denostatus.com runs on Instatus with history, but has no component for sandboxes (15 of 20). The 90 days from 6 August show one incident, request failures in ord on 7 September 2026, one region, so minor (20). Concurrency and resource limits are published, though the docs (5 per organisation) and the pricing table (3 per region on Pro) differ, and no API request limits were found (8, a partial value kept). No 429 or retry guidance and no idempotency keys found (0). The pricing table lists a 99.95 per cent reliability SLA for Enterprise, with no SLA document found (0). Beta, pre-release per the docs (0). 15+20+8+0+0+0 = 43.

Morph Cloud 63

Graded on the hosted lines. Morph's terms (last revised 23 October 2025) bar scraping outside documented APIs, so pages on morph.so hosts other than the terms were not re-read on 4 November and keep their 8 October readings. Status page at status.cloud.morph.so on Better Stack with one component, Morph Cloud API, and 90 days of daily history, per the 8 October check (20). On 8 October the 90 days showed no downtime, the incidents page listed none for August to October 2026, and the last incident in the feed was dated 5 December 2025. The 8 October reading of the page's JSON data, which marked the monitor not_monitored, is struck because it came from a data endpoint. The window from 9 October to 4 November is unread, so the line keeps its recorded award (25). No request rate limits found. Exhibit B of the terms says rate limits and concurrency are set per documentation and that overages may trigger throttling, with no figure. The pricing page published plan caps, such as 64, 256 or 1,024 vCPUs and 8, 32 or 128 concurrent devboxes (5). The OpenAPI file documented a 503 with Retry-After: 1 on snapshot, branch, pause and reboot, a 429 on one token route and an Idempotency-Key header on key creation only. The Python SDK retries exec with exponential backoff. No general retry guidance found. This is an earlier partial value, kept and flagged (8). No SLA published. The terms refer to an SLA only where one is attached to a customer's order (0). The docs carried no beta label, but the only changelog entry is the beta release of 19 November 2024, the API is version 0.1.0 and no stability statement was found (5). 20+25+5+8+0+5 = 63.

Security & auth Deno Sandbox +19

Deno Sandbox 58

One organisation token with no scopes or expiry found, rotatable from the dashboard, which also manages the organisation's Deploy apps. All members hold owner permissions (15). An outbound allowlist and read-only volume mounts exist, but outbound access is open unless allowNet is set, per the Security page (13). Secret substitution outside the VM is documented as a defence against prompt injection followed by exfiltration (13). Commands, HTTP requests and SSH sessions are traced in the dashboard with an event log (10). A disclosure policy with safe harbour and a reporting route at security@deno.com, with no acknowledgement time, and a security.txt without an Expires field (7). The SOC2 and ISO27001 claims read on 8 October are no longer on the product or pricing pages, and no bug bounty was found. exposeHttp URLs are public without authentication, which the docs state in capitals. 15+13+13+10+7 = 58.

Morph Cloud 39

Per the 8 October check of the docs, not re-read on 4 November. Bearer API keys bound to an organisation, listed with prefix and last-used time and deletable through the API. The docs mention key permissions in the dashboard without describing any. Devbox agent tokens are bound to one devbox with seven named scopes but do not expire. Short-lived delegation tokens exist for services (22). No read-only key for the instance API and no confirmation on stop or delete. Exposed HTTP services default to auth_mode: none, and the api_key mode asks callers to send the account's Morph API key to the service URL (8). Each instance is a full VM, but the docs name no isolation technology and no egress controls were found (5). Key last-used times, an organisation SSH key audit route and usage routes exist. No audit log of API calls found (4). security.txt returned 404 on cloud.morph.so and www.morph.so on 8 October. No disclosure policy, bug bounty or certification found. The terms list security controls and breach notification and offer "available third-party security attestations (e.g., SOC reports)" on request, without naming one (0). On 4 November osv.dev listed no advisory for morphcloud and the 2025 and 2026 CVE records named no Morph product. 22+8+5+4+0 = 39.

Schema & documentation Morph Cloud +6

Deno Sandbox 66

The published OpenAPI document has no sandbox operations, so the typed TypeScript SDK reference on JSR and the typed Python SDK count as 15 of 25 (15). llms.txt and every docs page as Markdown (10). The docs state use cases, when to choose a duration timeout and when to move work to a Deploy app (13). Typed options with stated ranges for memory, capacity and timeout (12). Examples in JavaScript, sync and async Python and the CLI. No error reference was found, and two pages disagree on the default network policy (8). SDKs are versioned at 0.x, and the Deploy changelog's newest entry is 12 March 2026 (8). 15+10+13+12+8+8 = 66.

Morph Cloud 72

Per the 8 October check, not re-read on 4 November. Public OpenAPI 3.1 file at cloud.morph.so/api/openapi.json with 52 paths and 69 operations (25). llms.txt and llms-full.txt under /docs (10). 67 of 69 operations have a description, many of one line, while the guides explain pause against stop and devboxes against instances (14). Enums for TTL action, HTTP auth mode and instance status, with patterns and ranges on names, ports and page sizes. Metadata is a free string map (12). Guides give Python, TypeScript and CLI examples. 37 operations document only a 422 beyond success, the error schema is detail with an optional error_code, and no error-code reference was found (8). The changelog page has one entry from 19 November 2024 and says it is not a complete history. The API path has no version and the SDK tags have no release notes (3). 25+10+14+12+8+3 = 72.

Score by category

CategoryWeightDeno SandboxMorph CloudEdge
Reliability16%4363Morph Cloud +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6672Morph Cloud +6
Agent ergonomics13%6061Morph Cloud +1
Security & auth14%5839Deno Sandbox +19
Payments & pricing10%3030even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%4548Morph Cloud +3
Transparency & trust7%6744Deno Sandbox +23
Negative events≤15-20
TotalD 50.8/100D 52.8/100

Facts side by side

FactDeno SandboxMorph Cloud
KindHTTP APIHTTP API
VendorDeno Land Inc.Morph Labs
Hosted endpointno (local only)https://cloud.morph.so/api
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPaidPay per use
x402nono
LicenceProprietary service under the Deno Deploy terms and conditions. The @deno/sandbox and deno-sandbox SDKs are MITProprietary hosted service under Morph Labs, Inc.'s Terms of Service (last revised 23 October 2025). The Python and TypeScript SDKs are Apache-2.0
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-07-222026-10-20
Terms last updated2026-09-30not read yet
Privacy policy last updated2026-09-30no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waiveryesnot read yet
Popularity6 stars, 2k npm/wk3 stars, 339 npm/wk

How the scores have moved

Verdicts

Deno Sandbox

Secrets stay outside the microVM and are substituted only on outbound requests to approved hosts, and an allowlist limits egress. Deno Deploy, which runs it, is due to shut down six months after 9 October 2026, when Deno announced it is joining Cloudflare. The service is still in beta, needs the $20 Pro plan and caps lifetime at 30 minutes.

Morph Cloud

Pause and snapshot keep memory and running processes, and one call branches an instance into several copies. A public OpenAPI file covers 69 operations. Terms from Morph Labs, Inc. are published, but no privacy policy or security page was found, the free plan includes no compute credit, and the changelog holds one entry from November 2024.

Before you call either

Deno Sandbox

  1. Set DENO_DEPLOY_TOKEN to an organisation token (prefix ddo_) from Settings in console.deno.com. The organisation must be on Pro or above
  2. Pass allowNet on every Sandbox.create(). The Security page says outbound access is unrestricted when it is omitted
  3. Pass credentials through secrets with a hosts list, not env, so code in the VM sees only a placeholder
  4. The default timeout ends the VM when the client disconnects. Pass a duration such as "10m" and reconnect with Sandbox.connect({ id }), up to 30 minutes
  5. Create volumes in ord and start the sandbox in ord. A volume mounts only in its own region
  6. exposeHttp URLs are public with no authentication. Treat the random subdomain as a secret
  7. Plan a move before Deno Deploy closes, six months after 9 October 2026. Deno gives migration support to Cloudflare Workers for paying customers only

Morph Cloud

  1. Set ttl_seconds and ttl_action when starting an instance. Nothing in the docs stops an instance with no TTL from billing MCUs
  2. Pass auth_mode: api_key when exposing an HTTP service. The default is none, which makes the URL public
  3. Enable wake_on_ssh before calling exec on an instance that may be paused. There is no separate exec wake setting
  4. Use /api/instance/list and /api/snapshot/list with page and limit (default 50, maximum 1,000). The plain list routes return everything
  5. On a 503 from snapshot, branch, pause or reboot, wait for the Retry-After value before repeating the call

Questions

Which is better for AI agents, Deno Sandbox or Morph Cloud?

Morph Cloud scores 52.8 (D) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 4 of 7 scored categories. Deno Sandbox leads on security & auth and transparency & trust.

Do Deno Sandbox and Morph Cloud need an API key?

Both need an API key.

Can an agent call Deno Sandbox and Morph Cloud without installing anything?

No hosted endpoint is listed for Deno Sandbox. Morph Cloud has a hosted endpoint at https://cloud.morph.so/api.

Other comparisons with Deno Sandbox or Morph Cloud

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.