Unpeel
Docs Headless Host

Headless Host

The same server without the Mac app: run it on a Linux box, cloud VM, or headless Mac with `unpeel serve` and drive it from the app or your phone.

A headless host is the Unpeel server on a machine without the Mac app — a Linux server, a cloud VM, or a Mac with no window open. It is the same open-source server the Mac app bundles, started from the command line, and you drive it from the Mac app or the phone exactly as you would a local workspace. Sessions, project files, transcripts, browser profiles, and artifacts stay on that machine; Unpeel does not copy the workspace into its cloud.

Status: unpeel serve, serve install, and scripted unpeel link enroll are shipping. The broader real-machine compatibility matrix across cloud providers is still being validated — see Host machine compatibility below.

Start the server

Install it on the machine, then start it in the foreground:

curl -fsSL https://unpeel.com/install.sh | sh
unpeel serve

serve has no user interface of its own; the app and the phone are its interfaces. Bare serve watches the workspace registry and supervises one isolated worker for the default and every named workspace. Each worker rebuilds session state from its own disk, receives agent activity, answers approvals, and serves paired clients over Direct and, when configured, Unpeel Link. SIGINT and SIGTERM stop the server and its workers cleanly without stopping the sessions, which live in the workspace's PTY core.

For the exact process tree, leases, status files, local socket, trace log, and what survives each process stopping, see How Unpeel runs.

Pair the first phone and keep serving with one command:

unpeel pair --serve

If serve is already running, plain unpeel pair asks its workspace worker to open the one-time window over the same local Host socket. It does not start a second listener or require a restart.

For an explicitly single-workspace container or service unit, put the workspace selector first. Each workspace still has a separate identity, pairing set, data directory, worker, and serving lease:

unpeel --workspace studio serve

Only one server and one worker can own each workspace; a duplicate exits instead of starting competing endpoints. On a Mac, the app starts this same server through its bundled helper and connects to it as a client, adding only the Mac-only capabilities (notifications, Keychain, and user screenshot capture). There is one server implementation everywhere: unpeel serve is how you run it without a window.

Keep it running

unpeel serve is deliberately a foreground process so your service manager can own restart policy and logs. Run one bare service under systemd, launchd, or your cloud provider's process supervisor; it owns the registered workspace workers.

To start it on boot, run this once on the Host machine:

unpeel serve install
unpeel serve status

install writes a per-user service unit pointing at your installed unpeel binary — a launchd LaunchAgent on macOS, a systemctl --user unit on Linux — then enables and starts it. unpeel serve uninstall stops the service and removes only that unit; workspace data stays, and running Sessions keep running. Two platform notes, because this is deliberately a per-user service (it owns ~/.unpeel, and on a Mac the user Keychain):

  • headless Mac: enable automatic login for the hosting user so the service starts after a reboot with nobody at the screen;
  • Linux: run sudo loginctl enable-linger $USER once so the user service manager survives logout and starts at boot.

With --workspace NAME, install manages a scoped single-workspace unit — the container shape. The unit templates themselves live in the repository under packaging/service/ and work verbatim in a container or golden image when unpeel is installed at /usr/local/bin/unpeel.

For off-LAN access, activate Unpeel Link on the same machine with unpeel link enroll <license-key>; a running serve starts Link without a restart.

Do not rely on an idle-sleep policy while an agent may be doing CPU-only work: some VM platforms infer idleness from network traffic and can freeze a busy terminal. Disable automatic suspend/hibernate for always-on workspaces, or accept that the entire VM—including its clocks and agents—will pause until the next connection wakes it.

What a cloud machine needs

  • macOS or 64-bit Linux with glibc 2.31 or newer; use Ubuntu 20.04, Debian 11, or newer rather than Alpine for the prebuilt Unpeel CLI
  • a persistent home directory for ~/.unpeel and the user's project files
  • enough memory for the agent CLIs and browser tabs you expect to run
  • outbound HTTPS/WSS for agent providers and optional Link
  • SSH for the simplest Mac-app and shell client path
  • Chromium or Chrome when agents need Browser use

Link needs no public inbound port: the server and the client both dial outward. Direct's current development transport is for a trusted LAN or VPN; do not publish its plaintext bearer-authenticated port on the public internet.

Host machine compatibility

This table separates paths exercised on the real machine from paths that only satisfy the documented prerequisites. Live-tested means current Unpeel source was run on that machine or provider. Expected means the machine exposes the ordinary Host contract Unpeel needs, but that exact combination is still waiting for a real-machine acceptance run.

Host machine Evidence Connect from Browser use
Another Mac Baseline; the app bundles the server Mac app through the built-in paired Direct → Link route, or over SSH Yes, with Chrome or Chromium installed
Standard VPS or your own Linux machine Baseline contract; broad provider matrix pending Mac app expected over ordinary system SSH; shell commands when SSH accepts remote commands Expected after installing Chromium
Boxd Recommended fit; Unpeel acceptance run pending Mac app and shell expected over standard SSH Expected with Chromium installed
ASCII Box Strongest graphical Linux fit on paper; pending real-box validation Mac app and shell expected over documented standard SSH, external keys, and remote commands Expected; Chrome and a visible browser stream are included
Upstash Box Live-tested on ARM64 Debian, 2026-08-16 Mac app through the interactive-shell SSH gateway; one-shot shell commands do not work on the tested endpoint because it rejected remote-command channels Live-tested with the provider Chromium on loopback CDP port 9222
smol cloud Custom-image path; Unpeel acceptance run pending Not turnkey: its public contract is API plus authenticated HTTP/WebSocket ingress, not system SSH Expected in a Debian/Ubuntu image; smol documents loopback CDP browser workers

Operationally:

  • Another Mac remains the most complete desktop host. Pair it from Share This Mac… → Add Workspace…; a trusted LAN/VPN uses Direct and Link is the fallback.
  • Boxd is the closest hosted equivalent to an ordinary headless Linux machine: its default workspace is Ubuntu 24.04 with a persistent disk, passwordless sudo, standard SSH, and systemd. Its automatic hibernation watches inbound network traffic rather than CPU, so disable it for agents that may work silently in the background.
  • ASCII Box supplies a Linux desktop, Chrome, and ordinary SSH. Run Claude Code or Codex in Unpeel Sessions on that Host. For GUI tasks, Box supplies its own Lux CLI and agent skill; consult the Box desktop guide. Lux is a separate service with its own limits. Unpeel does not install, manage, or grant access to it. This combination still needs an acceptance run with both agents; the desktop features in their Mac apps do not establish Linux support. Stop/resume behaves like a reboot: enabled services return, but hand-started processes do not.
  • Upstash Box is the provider-specific path already exercised by Unpeel. Use a Debian/glibc runtime, enable Browser when needed, and use keepAlive when the Host must remain continuously reachable. The Mac Controller's raw interactive gateway exists specifically for SSH services like the endpoint tested there.
  • smol cloud is a better fit when another product provisions machines via API. Machine files persist across stop/start, but processes do not; put unpeel serve in the image's service/entrypoint and verify the exact client route before treating it as supported.

Provider behavior and pricing can change. Check the providers' authoritative docs: Boxd's quickstart and suspend/hibernate behavior, ASCII Box's machine capabilities, SSH contract, desktop, and long-running service behavior, Upstash's Box lifecycle, Browser security, and keep-alive mode, and smol's lifecycle/storage/networking and headless-browser guide.

Browser and desktop tools

Unpeel Browser use drives an isolated Chrome or Chromium instance and saves screenshots as Session artifacts. Desktop automation is supplied separately by the agent or VM environment. Check that tool's Linux support when using a Box.

The cloud boundary

Using a rented VM does not turn Unpeel into a hosted workspace service. The provider stores that VM's disk because it is the machine you chose; Unpeel's operated services still store no Session output, transcripts, project files, browser profiles, or artifacts. Link is an encrypted transport and minimal identity/routing control plane, not a workspace replica.