Head to head · Code sandboxes · October 2026 research run

Modal Sandboxes vs Offscreen

Modal Sandboxes and Offscreen score within a point of each other on agent readiness, 67.3 (B) and 67.1 (B). Offscreen leads on agent ergonomics and payments & pricing. Both do code sandboxes.

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

Best GPU and serverless compute for AI workloads · All 326 gpu compute comparisons

Which one, for what

Modal Sandboxes B

Best for GPU work inside a sandbox, or agents already running on Modal.

Ahead on

  • Schema & documentation, 79 against 67
  • Security & auth, 79 against 62
  • Maintenance & community, 93 against 66
  • Transparency & trust, 78 against 61

Watch for

No REST API, and the JavaScript and Go SDKs are beta

Offscreen B

Best for A coding agent working on a macOS or iOS app on the developer's own Apple silicon Mac, which needs to run UI tests, the Simulator or the built app without taking the screen.

Ahead on

  • Agent ergonomics, 74 against 67
  • Payments & pricing, 90 against 30

Also in its favour

  • No key needed to call it
  • Free to start without a card
  • Open source

Watch for

First commit 11 October 2026, version 0.0.5 and labelled beta, with JSON field names that may change before 1.0

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.

Payments & pricing Offscreen +60

Modal Sandboxes 30

No x402, MPP or L402 (0). Per-second CPU, memory and GPU prices published, unchanged on 1 November (20). Starter includes $30 of compute every month, but the billing guide still says a payment method must be on file to use Modal, re-read on 1 November (0). Modal isn't in Stripe Projects, and an account starts with a person signing up (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Offscreen 90

No payment protocol (0). Read with the self-hosted rule. Free under MIT with nothing to buy from the author (20). No card or account (20). Installs with one Homebrew command and needs no signup, though a person grants Local Network on the first VM job (20). Tart, which the cask installs, is under FSL-1.1-ALv2, and its licensing page says organisations above 100 host CPU cores need a paid licence. That is a cost of the dependency, named in the pricing notes, and not scored here. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Maintenance & community Modal Sandboxes +27

Modal Sandboxes 93

1.6.3 on 2026-10-27 (30). 1.5.4 on 12 August, 1.5.5 on 28 August, 1.6.0 on 28 September, 1.6.1 on 3 October, 1.6.2 on 15 October and 1.6.3 on 27 October (20). 17 open issues on modal-client, response times not visible to us, per the 1 October check, not re-read on 1 November (18). The Python SDK is current, and the JavaScript and Go SDKs (both tagged 0.11.1, still beta) are in the same repository, read from a clone on 1 November (15). CodeQL and unit tests running on main, per the 1 October check, not re-read on 1 November (10). 30 + 20 + 18 + 15 + 10 = 93.

Offscreen 66

v0.0.5 on 16 October 2026, 17 days before this check and still the head of main (30). Five tagged releases on 15 and 16 October 2026, each published to the cask (20). All 116 commits are by the one maintainer, and pull requests #89 to #91 of 15 October are his own. Outside issues and replies couldn't be read, because GitHub's pages and API were refused to us (8 of 25, from the commit history only). Not an MCP server, no SDK, and the skill is in no registry (0). Current dependencies (Go 1.27, kong 1.14, modernc SQLite 1.60), tool versions pinned in mise.toml and lint in CI. No Dependabot configuration found (8).

Security & auth Modal Sandboxes +17

Modal Sandboxes 79

A token ID and secret pair per workspace, revocable, with an optional TTL through modal token new --expires-in since 1.6.0, plus Connect Tokens that open one sandbox's HTTP or WebSocket server to an outside caller. Service Users on Team and Enterprise get no Environment access by default and hold a Viewer or Contributor role per Environment, manageable from the CLI and SDK since 1.6.2. No token scoped to sandbox actions found (25). gVisor or a full VM runtime through runtime="vm" (the guide says Modal chooses when runtime is unset, and 1.6.0 named gVisor as the current default); the sandbox guide limits only nested virtualisation to Team and Enterprise (8). Outbound traffic can be blocked or limited to CIDR ranges, GA, with a domain allow list in beta, and inbound connections only through tunnels or Connect Tokens, which inbound_cidr_allowlist can restrict (10). Modal Secrets go into the sandbox's environment by default. Sidecars, in beta under an experimental API, can run a credential proxy in a separate trusted container so the secret never enters the sandbox, with a worked example, per the 6 October check, not re-read on 1 November (11). Audit logs on Enterprise only (10). SOC 2 Type 2, a private HackerOne bug bounty through security@modal.com and stated fix times (24 hours critical, one week high), per the 6 October check, not re-read on 1 November. No security.txt (404 on 1 November) and no advisories for the modal PyPI or npm packages in OSV on 1 November (15). 25 + 8 + 10 + 11 + 10 + 15 = 79.

Offscreen 62

No credential model to grade, since there is no account or key, so read with the framework lines as for other local agent tools. 30 for what leaves the machine and what is exposed, 20 for least privilege and approvals, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. No network code or telemetry found beyond the owner-only Unix socket and SSH to the guest. Guest SSH uses the base image's admin and admin login by default, the caller's environment, which can hold secrets, is stored in SQLite while a job is active and dropped when it ends, with old copies possibly left in free pages, which the docs say. Any process that can open the socket is trusted (22 of 30). A fresh VM per job, deleted afterwards, and a VM task gets the worktree and listed products but not the host environment. The host lane is opt-in, gated on idleness, an unlocked session and camera and microphone off, with a countdown and take-back. The skill lists actions to ask the person about first. No egress or network policy for the guest is documented, the whole worktree is copied in, and [prepare] run executes on the host even for VM jobs (16 of 20). The tool returns command output and screenshots of the agent's own app, with no guidance on treating text in them as untrusted (8 of 15). Job records, logs and artifacts are kept for seven days by default, status -a lists past jobs, and the daemon and image builds keep logs (12 of 15). No SECURITY.md, security.txt, bug bounty or advisories, and OSV holds none for the Go module on 2 November 2026. The binaries and app are signed ad hoc and not notarised, and the cask strips the quarantine attribute, which the install guide states. The release workflow keeps the tap token out of cached tools and doesn't persist git credentials, and CI runs with read-only permissions (4 of 20).

Transparency & trust Modal Sandboxes +17

Modal Sandboxes 78

The client SDKs are Apache-2.0. The platform is closed under terms dated May 2026 (20). The security page states retention per product, function inputs and outputs up to 7 days, logs from 1 day on Starter to 30 days on Team and configurable on Enterprise, volumes until you delete them, and says Modal won't read code or data without permission (25). Breaking changes are confined to 1.Y.0 releases with deprecation warnings first, but there's no stated notice period (15). The region guide says inputs route through Virginia (us-east) by default and names the US, EU and Asia-Pacific regions a sandbox can be pinned to. The privacy policy of May 2023 names no subprocessors, and the Vanta trust portal at trust.modal.com didn't render for us (10). 20 + 25 + 15 + 10 = 70.

Offscreen 61

MIT in LICENSE and in the release archive (30). No privacy policy, as for other local tools. DAEMON.md and the config reference say what is stored where, that the caller's environment is kept only while a job is active, that deletion is logical and SQLite free pages and backups can keep old values, and that job history expires after seven days by default (22 of 30). No deprecation policy. The README's beta note, the protocol compatibility rules and the install guide's migration steps for the renamed app and daemon identifiers are the only notices, with no dates (8 of 20). No telemetry found in the source, but the README and docs don't say either way (12 of 20).

Schema & documentation Modal Sandboxes +12

Modal Sandboxes 79

No REST API or OpenAPI. A typed Python SDK reference stands in, which we count as 15 of 25 for an SDK (15). llms.txt and Markdown pages (10). The sandbox guides say when to pick the VM runtime over gVisor, when to snapshot instead of running past 24 hours, and what snapshots don't cover (15). Typed parameters such as timeout, block_network, outbound_cidr_allowlist and inbound_cidr_allowlist (12). Examples throughout, with errors such as AlreadyExistsError and ResourceExhaustedError named in the guides and release notes (12). Versioned release notes for every SDK release (15). 15 + 10 + 15 + 12 + 12 + 15 = 79.

Offscreen 67

Graded on the CLI and its skill. status and image ls take --format json, and --progress json emits build and run phases, but the docs say field names may change before 1.0, no JSON Schema is published, and run output is the wrapped command's own. The project contract is validated, with unknown keys rejected, by offscreen check (8 of 25). The skill is Markdown in the Agent Skills format, with a 90-word description and a 1,552-word SKILL.md, and the docs are Markdown in the repository (10). The skill says when to use it, sets a core rule never to run xcodebuild test, the Simulator or built apps on the host, says plain builds may run on the host, and lists what to ask the person before running (18). Flags are typed by kong, with value sets for --lane (vm, host, auto) and --progress, durations for --timeout, and every task requires lane and run. Task commands are free shell text by design (11). A worked example app with three tasks and their scripts, an exit-code table with what to do for each, and troubleshooting entries that quote the error text (14). Tags and a daemon protocol number with stated compatibility rules. No changelog file, and the GitHub release notes couldn't be read (6 of 15).

Agent ergonomics Offscreen +7

Modal Sandboxes 67

Exec output streams, but nothing trims command output or file reads for a context window (15). Sandbox.list() filters by tags (15). Typed exceptions, and 1.6.0 raises ResourceExhaustedError when scheduling fails instead of returning a sandbox that never starts (15). Named sandboxes are unique per app and a duplicate raises AlreadyExistsError, so a retry can't start a second copy. from_name() finds running ones, and since 1.6.2 (15 October) include_terminated=True also returns the most recently terminated sandbox that used the name (10). Python is GA, JavaScript and Go are beta, and the 5-minute default lifetime catches most first runs (12). 15 + 15 + 15 + 10 + 12 = 67.

Offscreen 74

A CLI adds no tool definitions to context, and only the skill's 90-word description is always loaded. Stdout carries the wrapped command's full output, which for xcodebuild can be long, while Offscreen's phases go to stderr and are hidden when stderr isn't a terminal (18 of 25). status -a, -q, --format json and templates, logs with -f, and artifacts in one directory per job. No control over the size of the command's output (13 of 20). Exit codes separate the command's result from a queue timeout (75), an Offscreen failure (70) and a usage error (1), errors name the fix (Open it with: open -a Offscreen, the Tart install command, the Local Network setting), and a failure before the command starts repeats the last 20 lines (18). Each job starts from a fresh clone, so a rerun is clean. cancel is safe to repeat, init refuses to overwrite, check validates without a VM, and prune asks first or takes --dry-run. Attached queued jobs fail after a daemon restart, and the docs say to detach jobs that must retry safely (16 of 20). Defaults are sensible (VM lane, two slots, no timeout) and a one-off -- <cmd> needs no task. One CLI, and the daemon's socket API is internal, with no SDK (9 of 15).

Score by category

CategoryWeightModal SandboxesOffscreenEdge
Reliability16%5555even
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7967Modal Sandboxes +12
Agent ergonomics13%6774Offscreen +7
Security & auth14%7962Modal Sandboxes +17
Payments & pricing10%3090Offscreen +60
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9366Modal Sandboxes +27
Transparency & trust7%7861Modal Sandboxes +17
Negative events≤1500
TotalB 67.3/100B 67.1/100

Facts side by side

FactModal SandboxesOffscreen
KindSDK + MCPSDK + MCP
VendorModalMark Phelps
Hosted endpointno (local only)no (local only)
Transports
AuthAPI keyNone
PricingFreemiumFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-272026-10-16
Terms last updated2026-05-01no document linked
Privacy policy last updated2023-05-17no 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 benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity514 stars, 941k npm/wk, 10.1M PyPI/wknone
Agent reviews3.3/5 (8)3/5 (4)

The panel on both

The 4 reviewers who reviewed both split evenly.

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

Modal Sandboxes

GPU sandboxes at the same per-second rates as the rest of Modal. No REST API, and the JavaScript and Go SDKs are beta.

Offscreen

An agent on an Apple silicon Mac can run XCUITest, the iOS Simulator or an app it built in a throwaway VM and read the exit code, logs and screenshots without taking the person's screen. The project began on 11 October 2026, is at v0.0.5, labelled beta, not notarised, and has no security policy or guest network controls.

Before you call either

Modal Sandboxes

  1. Pass timeout= when you create a sandbox. The default lifetime is 5 minutes
  2. Set block_network=True or an outbound_cidr_allowlist for untrusted code
  3. Give a sandbox a name so a retried create raises AlreadyExistsError instead of starting a second one
  4. Snapshot the filesystem before the 24-hour limit and start a fresh sandbox from it
  5. Catch ResourceExhaustedError from Sandbox.create() on SDK 1.6.0 and later, since create now waits until scheduled

Offscreen

  1. Read .offscreen.toml before running anything and use its project key and task names. Don't guess them
  2. Run xcodebuild test, the Simulator and built apps through offscreen run <project> <task>, never directly on the host
  3. Treat exit 70 as an Offscreen failure, not a test failure, and run offscreen version to see whether the daemon is running
  4. Ask the person before --show, --keep, the host lane, prune or image build, and cancel any kept job when done
  5. Read screenshots and .xcresult bundles from the directory offscreen artifacts <job> prints

Questions

Which is better for AI agents, Modal Sandboxes or Offscreen?

Modal Sandboxes and Offscreen score within a point of each other on agent readiness, 67.3 (B) and 67.1 (B). Offscreen leads on agent ergonomics and payments & pricing.

Are Modal Sandboxes and Offscreen open source?

No open-source release is listed for Modal Sandboxes. Offscreen is open source (MIT).

Other comparisons with Modal Sandboxes or Offscreen

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.