Dozable

Suspend AI agents
Wake in 0.3s

Fast, resumable, secure Linux sandboxes for AI coding agents on your Mac — your API keys never go inside. Free and open source.

AlphaStable v0.32.0Version history →

brew trust --tap dozable/tap && brew install dozable/tap/doz && doz ui

Apple silicon Mac · macOS 26 or later · Homebrew

Line drawing of a bulldozer asleep, with Zs rising

Speed

Built for sandboxing AI agents.
Everything happens in milliseconds.

  • ~0.3 sStartwith the image prepared
  • ~1 msPauseattached terminals freeze and continue
  • ~0.35 sSleepto disk — its memory goes back to the Mac
  • ~0.3 sWakewith programs, sessions and terminal screens as they were

Measured on an M3, with an Alpine guest of 512 MiB to 1 GiB.

CLI

One command line does it all.
For you, and for your agents.

doz is the whole of Dozable — 129 commands to create, start, pause, sleep and wake sandboxes, run and attach to their sessions, and manage their network, keys, images and restore points. It even hosts its own web app: doz ui on your Mac, doz serve for your LAN, home-lab and Tailscale connected devices.

doz — zsh
doz onboarddoz initdoz uninstalldoz upgradedoz newdoz trydoz searchdoz modelsdoz guidedoz createdoz updoz downdoz startdoz pausedoz resumedoz sleepdoz hibernatedoz wakedoz shutdowndoz resetdoz rmdoz lsdoz inspectdoz sessionsdoz sessions enddoz sessions lsdoz sessions restartdoz attachdoz rundoz execdoz getdoz putdoz cpdoz imagedoz pointdoz netdoz keydoz accountdoz metricsdoz doctordoz hostdoz eventsdoz consoledoz basedoz base lsdoz builderdoz builder statusdoz builder startdoz builder installdoz image lsdoz image bakedoz image logdoz image rmdoz image pulldoz image pushdoz point takedoz point lsdoz point revertdoz point forkdoz point rmdoz point save-imagedoz net showdoz net allowdoz net denydoz net permissionsdoz net policydoz net logdoz key setdoz key rmdoz key lsdoz key policydoz account lsdoz account adddoz account verifydoz account showdoz account refreshdoz account rmdoz account defaultdoz account usedoz account keepalivedoz accessdoz access showdoz access setdoz toolsdoz ignoredoz ignore checkdoz ignore showdoz portsdoz opendoz host startdoz host stopdoz host restartdoz host statusdoz host upgrade-checkdoz uidoz ui linkdoz ui restartdoz ui startdoz ui stopdoz servedoz serve devicesdoz serve logdoz serve renamedoz serve revokedoz serve sharedoz serve startdoz serve statusdoz serve stopdoz templatedoz template createdoz template lsdoz template rmdoz duplicatedoz configdoz config showdoz config getdoz config setdoz config unsetdoz config initdoz config pathdoz telemetrydoz telemetry showdoz telemetry resetdoz signupdoz resourcesdoz resources lsdoz resources rmdoz resources cleandoz resources kernel
  • For peopleReadable output, live progress, and a question before anything is deleted.
  • For agentsLet the agents you trust sandbox the ones you don't: Claude Code or Codex on your Mac can create, watch and clean up sandboxes for you — every command takes --json, with exit codes to act on. Prompts for your agent →
  • Hosts its own web appdoz ui opens the dashboard; doz serve shares it with your other browsers, by invite.

Web UI

A dashboard for every sandbox.

Your sandboxes and their terminals in one place, in your browser or installed as an app. doz ui on this Mac; doz serve for your LAN, home-lab and Tailscale devices.

Compared

How it compares.

A Claude Code sandbox, measured by us on an M3 MacBook Air (24 GB, macOS 27) in September 2026 — the median of 5 runs, each tool at its defaults.

Timings for a Claude Code sandbox
MeasureDozableDocker containersDocker SandboxesApple container
Start, to Claude Code's first screen1.46 s0.78 s5.12 s2.24 s
Pause and resume, memory keptabout 1 msabout 35 msnot offerednot offered
Put away, memory freed1.16 s (hibernate)0.12 s (stop)5.31 s (stop)0.18 s (stop)
Back to a working agent0.57 s0.71 s1.28 s2.01 s
The same programs running afterwardsYes — same process, same screenNo — restartedNo — restartedNo — restarted

Dozable is slower to start cold and to put away — it writes the sandbox's memory to disk, so it can bring the same programs back.

What each tool does
MeasureDozableDocker containersDocker SandboxesApple container
Its own virtual machine per sandboxYesNo (one shared VM)YesYes
Hibernate and wake with programs still runningYesNoNoNo
Survives a restart of the app that runs itYesNoNoNo
No network card — the only way out is a proxyYesNoNoNo
Blocks the network by default, with rules per sandboxYesNoYesNo
Your keys never enter the sandboxYesNoYesNo
Every connection loggedYesNoYesNo

Versions: Docker Desktop 4.91.0, Docker Sandboxes (sbx) 0.38.0, Apple container 1.2.2, and an earlier Dozable build. Docker Sandboxes' network and key rows are from its documentation; everything else was measured. One machine's numbers — yours will differ.

The boundary

The VM is the boundary.

Each sandbox is its own Linux virtual machine on Apple's Virtualization framework, with your project folder inside it. Run Claude Code, Codex or pi with its permission prompts off.

Linux VMs, each in its own boxyour Mac

The network

Every connection. A policy you can read.

A sandbox has no network card. The proxy on your Mac judges every connection against permissions you can read and change with doz net permissions.

sandboxpolicy you can readinternetrefused, and on record

Credentials

Your keys never go in.

The proxy swaps your credentials in on the way out. The sandbox only ever sees a placeholder.

real keyplaceholderdoz_cred_...sandboxproxy swaps it on the way out

Your project

Your project, at /workspace.

A folder on your Mac, shared into the sandbox. Keep .env files and secrets out of reach with .dozignore, or read-only with .dozreadonly. The rules guard against accidents; they are not a security boundary.

src/README.md.env/workspacesrc/README.md.enva folder on your Macwhat the sandbox sees

Sleep

Hibernate. Give the memory back.

A hibernated sandbox lets go of its memory and wakes with every program still running where it was. After a crash, sleeping sandboxes are restored with their sessions.

zzzhibernate, 0.35 swake, 0.3 s

Every screen

On every screen you own.

doz serve shows the same dashboard to your other computers, tablets and phones on your network, admitted with an invite or a QR code.

doz servetabletphoneinvite

Restore points

Undo is instant.

Restore points, duplicates and templates are APFS clones. Go back to a moment before the change, or fork a new sandbox from it.

basebefore-upgradetests passingnowrevert, or fork a new sandboxinstant APFS clones

Agents

Bring your agent.

Claude Code, Codex and pi run ready to work, told where they run, with their credentials kept on your Mac.

Claude Codeimage: claude-codeCodeximage: codexpiimage: pi

Use cases

Three things worth a sandbox.

  • A risky change

    A dependency upgrade, a big refactor, a migration. Let a sandboxed agent work on your project folder, with a restore point to fall back to. Review it with git diff.

  • Jail an untrusted agent

    No folders shared, no logins held, the clipboard, browser and file bridges off, and the internet only where you allow it.

  • A project that holds secrets

    Keep .env files, credentials and customer data out of the agent's reach, without moving anything.

Prompts to paste for each, in the manual.

Install

brew install dozable/tap/doz

# once per Mac: Homebrew loads a third-party tap only once trusted
brew trust --tap dozable/tap
brew install dozable/tap/doz
# opens the dashboard; a new install starts on its setup wizard
doz ui

Prefer the terminal? Run doz onboard once, then doz up in a project folder.

  • Requirements

    Apple silicon. macOS 26 or later. Homebrew. For an agent, an account it can use.

  • Channels

    doz is stable and recommended. doz-beta and doz-canary come earlier.

  • Trust

    Signed and notarised. Updates come from a feed signed with the project's own key, and nothing unverified is installed.

Everything free and in the box.

  • Sleeps like a laptopPause in 1 ms. Hibernate to disk. Wake in 0.3 s, programs still running.
  • No network cardEvery connection goes through a policy you can read.
  • Keys never go inThe proxy swaps credentials in. The sandbox sees a placeholder.
  • Dashboarddoz ui. An installable app, with terminals in the browser.
  • Claude Code, Codex, piSessions outlive your terminal.
  • Restore pointsInstant APFS clones. Go back, or fork.
  • .dozignore, .dozreadonlyLock files, or make them read-only.
  • doz serveThe dashboard on your LAN, with invites and QR codes.
  • Pause, resumeAbout 1 ms.
  • Crash recoveryBack, with their sessions.
  • PermissionsReadable and editable.
  • ImagesBase images and Dockerfiles.
  • Templates, duplicatesStart set up your way.
  • GitHub as youRead-only by default.
  • Signed and notarisedThe doz binary is signed and notarised.
  • Signed update feedStable, beta and canary. Nothing unverified installs.
  • Let your Mac's agent drivePrompts to install, set up and run sandboxes.
  • SSH agentForward your Mac's agent.
  • Browser sign-inOpens on your Mac, back in the sandbox.
  • Clipboard, open filesBridges to your Mac.
  • ResourcesEvery byte accounted. Clean up safely.
  • Settingsdoz config, doz.toml, dashboard.
  • Tools layergh, ssh and tmux, set up for you.

Stay in touch

Follow along.

The story so far is in the Timeline. For what comes next, leave your email: release news, early access and tips and tricks. Read past issues →