Copy logo as SVG
Copy wordmark as SVG
Download brand assets
Brand guidelines

macOS sandboxes for coding agents: hosted options compared (2026)

Last updated December 4, 2026

A macOS sandbox gives an AI coding agent a Mac it can run commands on: xcodebuild, tests, the iOS Simulator, and the rest of the Apple toolchain that does not run on Linux. This page lists the hosted options for agents that build iOS and macOS apps, what each one's own documentation says the agent gets and how the agent drives it, and where Tuist fits. It is written by Tuist, listed A to Z, and is not a ranking.

How to read this list

The options take three shapes. Some give the agent a whole macOS machine or VM with a shell, where it runs any command. Some run the agent itself on the Mac, started from Claude Code, Codex, or Cursor. Others expose a narrower set of remote operations, such as build, test, and drive the simulator, to an agent that keeps working where it already runs. Start from where your agent runs and what it needs to do on the Mac, then compare how it gets one, how long it keeps it, and what it can reach from there.

Two rows are general Mac clouds and are marked as such: they rent you a Mac, and you wire up how an agent creates, reaches, and cleans it up yourself.

Options at a glance

OptionWhat the agent getsHow agents drive it
AWS EC2 MacGeneral Mac cloud you wire up yourself: a bare-metal Mac mini or Mac Studio, one instance per Dedicated Host, with a 24-hour minimum allocationAWS API, CLI, and SSH, with your own agent tooling
Bitrise Remote Dev EnvironmentsmacOS VMs on Apple silicon on Bitrise CI stacks, with Xcode, simulators, a VNC desktop, and a disk kept for restore; requires a Bitrise workspaceOpen-source MCP server, Bitrise CLI, web terminal, and SSH
DaytonamacOS VMs on a Mac mini reserved for one organization for 24 hours at a time, with Xcode and the iPhone simulatorPython, TypeScript, and Go SDKs, REST API, CLI, and SSH
FigmentIntel or Apple silicon macOS VMs and dedicated Mac minis, with administrator accessAgent HTTP API and MCP server, then SSH or a browser desktop
LimrunXcode sandboxes on cloud Macs for xcodebuild and one-shot commands, plus attachable iOS simulators; in early accesslim CLI with agent skills, TypeScript, Python, and Go SDKs, REST API, and MCP
macboxA macOS VM on a cloud Mac mini for building, testing, and running native iOS apps on the simulatorMCP server, macbox CLI, and a Codex plugin
MacStadium OrkamacOS VMs in your Orka cluster; the MCP server is for MacStadium-hosted clusters and enabled per clusterOrka MCP server for the VM lifecycle, then SSH; Orka CLI and REST API
MacswarmOne macOS VM per developer on Apple silicon, with Xcode, pre-booted iOS Simulators, and XcodeBuildMCP; no inbound SSHClaude Code and Codex run inside it, started from Claude's self-hosted environments or Codex
NamespacemacOS Devboxes and instances on Apple silicon, with a choice of macOS and Xcode and the Apple simulators (macOS instances)devbox CLI and agent skill, MCP server, SDK, and SSH
NoMacShort-lived macOS sessions on Apple silicon with root, Xcode, the iOS Simulator, and a persistent driveMCP, CLI, API, and SSH
offstage cloudA macOS user account on a Mac Studio with Xcode and the iOS simulator, headless or with a desktopAPI, with a setup skill for Claude Code, Codex, and Cursor
RevylmacOS workspaces with Xcode and the iOS Simulator, for up to 24 hours, with a live viewRevyl CLI and MCP server
Scaleway Apple siliconGeneral Mac cloud you wire up yourself: a dedicated Mac mini with a 24-hour minimum leaseScaleway API and console, then SSH or VNC, with your own agent tooling
Tuist SandboxesmacOS VMs on Apple silicon with a chosen Xcode, one per agent session, that pause when idle; screenshots of the iOS Simulator or the whole screen; invite-onlytuist sandbox CLI, REST API, MCP, and Amp and Claude integrations
XcloudmacOS and Linux VMs on Apple silicon built from your own imagesAPI, CLI, MCP, and Terraform; Cursor Cloud Agent pools in beta (Cursor)

Where Tuist fits

Tuist Sandboxes are virtual machines built for the build-and-test loop of a coding agent: the agent changes code, builds it, runs its tests, reads the result, and tries again, and every part of that loop is designed to come back fast. Each agent session gets its own sandbox, Linux or macOS, which keeps its checkout, build products, and installed tools for the life of the session. A macOS sandbox runs on Apple silicon with the Xcode the agent asks for, pauses when the agent goes idle, and resumes on the next command. It runs for two hours by default, from 5 minutes to a day, and an agent can extend it before a long build. Sandboxes are invite-only today while Tuist scales capacity; any Tuist account can request access.

An agent that runs on Linux, such as a cloud session, keeps editing where it runs and builds on a Mac through tuist sandbox sync and tuist sandbox exec, and shows its work with tuist sandbox screenshot, which captures the booted iOS Simulator or the whole screen. The same operations are available through the REST API and Tuist MCP. Amp threads get a Mac through the Tuist Mac plugin, and Claude Code cloud sessions and Claude Managed Agents can run on Tuist. A Mac created for a repository can boot ready to build, from a prebuild of the default branch.

Sandboxes run on the same fleet as Tuist Runners, next to the account's cache. Each command gets a short-lived identity token, so builds in the sandbox use the cache your CI and developers use without a long-lived credential on the Mac. When a build outgrows one machine, Tuist remote execution runs eligible actions on Linux workers and raises the compute ceiling past the sandbox's own CPUs. Projects already on Bazel use it directly. Other projects don't need to migrate to Bazel or Buck2 first: Struo, an open-source build system, derives its graph from the supported project definitions and scripts a repository already has, so the builds and tests an agent validates in a sandbox get shared caching and remote execution as they are. Remote execution is enabled per account, like sandboxes; see the Bazel and Struo guides.

Choose Tuist when

  • Your agents need a Mac for Xcode builds and the iOS Simulator, and you want the builds they run there to reuse the same cache as your CI and developer machines.
  • You want one account for the agent's sandboxes, your CI runners, and the build and test evidence agents read through MCP.
  • Your agents' builds and tests need more compute than one machine has, and you want remote execution without migrating to Bazel or Buck2: Struo adds it to the projects it supports, and Bazel projects use it directly.
  • Your agents run in Amp or Claude, or on Linux, and should get a Mac with the project's Xcode for one task and give it back when they go idle.

Several options above share parts of this: Bitrise Remote Dev Environments run on Bitrise CI stacks and caches, Namespace runs Devboxes on the same platform as its runners, and Limrun and Revyl pair a build Mac with hosted simulators. Two have their own Tuist comparison: Bitrise and Namespace.

First experiment

Pick one task an agent should be able to finish on a Mac, such as building a scheme and running its tests, and record how long it takes today and where it runs. Request sandbox access, then follow Build on a Mac from a coding agent: connect the agent to Tuist MCP, let it create a Mac with the Xcode your project pins, sync the repository, and run the same build with tuist sandbox exec. Run it twice, once on a new Mac and once after a source change in the same sandbox, and compare request-to-first-build and rebuild times, the cache hits Tuist recorded, and the sandbox minutes on your Usage page.

Frequently asked questions

Why can't a coding agent build iOS apps on Linux?

Xcode, the iOS SDKs, and the iOS Simulator run only on macOS, and Apple's license allows macOS only on Apple hardware. An agent on Linux can edit Swift code, but it needs a Mac to compile, test, and launch the app.

Is a macOS sandbox the same as a macOS CI runner?

No. A CI runner takes a job from a pipeline, runs its steps, and is discarded. A sandbox belongs to an agent session: the agent creates it, runs commands in it as it works, and keeps its files between commands. Several options above run both on the same Macs, Tuist included.

Do I need Tuist's project generation or cache to use Tuist Sandboxes?

No. A sandbox runs whatever the agent asks of it, including xcodebuild on an existing project. Sandboxes are invite-only today; Tuist's cache, runners, and insights are available to every account and can be adopted independently.

Sources and review

Sources checked on 2026-12-04. Written by Tuist from each option's own documentation, linked in the table; it is not an independent benchmark, and no price or performance ranking is implied. Bitrise's MCP capabilities are from its MCP server page, Namespace's MCP Devbox tools from its MCP reference, Limrun's one-shot commands from Build with remote Xcode, and Scaleway's connection methods and 24-hour lease from its quickstart. Options are listed alphabetically. Confirm current availability, plan requirements, and commercial terms with each provider before adopting. See the comparison overview for the other Tuist comparisons.