After this page, you can create a named sandbox and sign in once inside it. You can run a demo fleet there, wipe the state between runs, and delete the sandbox.A sandbox is a named, disposable F[no] install. Its root sits at
~/.fno/state/sandboxes/<name>/, one folder per sandbox. It holds its own state root, its own mux directory, and its own Claude Code and Codex homes. You enter it with one command. You wipe it between demo runs. You delete it after the demo. Use it when you demo F[no] or test a fresh install. The demo never sees your live fleet. Your live fleet never sees the demo.
Two neighbours do different jobs. Sandbox a worker puts headless workers in a devcontainer. Switch accounts keeps a second login you use every day. A sandbox is for runs you throw away.
Warning: A sandbox separates state, not power. The macOS Keychain container, the process table, TCP ports and the temp-folder daemon dirs stay shared with your machine. Do not run code you do not trust in a sandbox.
Before you start
- Install F[no] through the quickstart. It puts the
fnoCLI on your PATH. - Run on a Mac. Create needs a Keychain folder at
$HOME/Library/Keychains, and it refuses without one. - Keep the harnesses you plan to demo on your PATH, such as
claudeandcodex. A sandbox works for plainfnocommands without them.
Create a sandbox
-
Pick a name. The name takes lowercase letters, digits and dashes, at most 32 characters. This page uses
demo. - Create it in your terminal:
claude auth login first, then codex login. Sign in once. The logins stay in the sandbox and survive resets. A run inside a script or a pipe skips the logins and prints the block right away:

Note: The shots on this page ran with HOME pointed at a scratch folder, so their paths read/private/tmp/.... On your machine the root reads~/.fno/state/sandboxes/demo. The placement follows your HOME. A scratch HOME needs its ownLibrary/Keychainsfolder inside it, or create refuses.
- Check that the sandbox exists:

Enter the sandbox
fno process with a login shell inside the sandbox. Your directory does not change. Check where you are:
demo. Your backlog, claims, mail and sessions stay on the live side. fno agents session list prints an empty list here. Run fno and the mux opens on the sandbox’s own mux dir. Type exit to return to your own shell.
Wipe state between runs
Reset the sandbox between demo runs instead of reinstalling F[no]:sandbox demo: reset (harness homes untouched). It deletes the fno world under the root: the state root, the agents home and the claims. It stops the sandbox’s claude supervisor and mux server first. Both harness homes stay, so both logins stay.
Some processes carry the sandbox root in their command line. If one of those still runs, reset refuses and names the process ids:
Check on a sandbox

claude and codex show the login state inside the sandbox. A fresh sandbox reads logged_out for claude and unknown for codex. codex reads unknown when the probe cannot read its login state. The claude daemon dir line names a folder in the shared temp area, named for the sandbox’s config dir. live processes counts the processes whose command line carries the sandbox root.
status, list and env also print JSON with --json.
Delete the sandbox
How it works
One environment table drivesshell, env and status, so a shell and its printed environment can never disagree. On entry the table points HOME at the sandbox home. It moves the state keys into the root: FNO_CONFIG, FNO_MUX_DIR, FNO_AGENTS_HOME, FNO_CLAIMS_ROOT, FNO_SPACES_DIR, plus CLAUDE_CONFIG_DIR and CODEX_HOME. Run fno config project sandbox env demo to print the table as export and unset lines.
The table strips what could stamp your session or identity into the demo. It unsets the session identity keys and every inherited ANTHROPIC_* key. The sweep is not defensive. It comes from measurements. An inherited auth token reads as logged in inside a scratch config dir. An inherited base URL sends the demo’s traffic to your router. Your tools keep their roots. The table carries GIT_CONFIG_GLOBAL, GH_CONFIG_DIR, CARGO_HOME and RUSTUP_HOME when your HOME has the matching file or folder: ~/.gitconfig, ~/.config/gh, ~/.cargo and ~/.rustup. Git, gh, cargo and ssh answer as they do outside. The harness homes live at <root>/home/.claude and <root>/home/.codex.
Two links at create make the logins work. macOS resolves the default keychain through $HOME/Library/Keychains, so create links that folder into the sandbox home. Without the link, no login is reachable. Create links ~/.ssh the same way when it exists. The claude login lands in a keychain item named for the sandbox config dir, such as Claude Code-credentials-f07107d8 in the shots. The name is a hash of the config dir path, so a moved root reads logged out. Codex keeps its login in a file inside its sandbox home.
Limitations
Create needs macOS
Create refuses when the current HOME has no~/Library/Keychains folder. Sandboxes run on macOS only.
The keychain container stays shared
A process in the sandbox can read keychain items by name, the way any process on your machine can. The sandbox login adds one item of its own. It hides nothing else.A claude session does not survive a reboot
The claude supervisor starts on demand and does not survive a reboot. Its sessions stop about a minute after the supervisor exits.Refusals and fixes
Next steps
- Run a fleet: spawn and watch workers in the demo fleet.
- Sandbox a worker: put headless workers in a devcontainer instead.
- Switch accounts: keep a second login for daily use instead of a disposable one.