For AI agents: the complete documentation index is available at https://enclo.nstlopez.com/llms.txt, the full documentation bundle is available at https://enclo.nstlopez.com/llms-full.txt, and this page is available as Markdown at https://enclo.nstlopez.com/guide/quickstart.md.

Quickstart

Enclo runs sandboxes for AI agent harnesses on your own machine. Each sandbox is a libkrun microVM running Alpine Linux. Claude Code or Codex can clone repositories, install packages, and run code in it without access to your host files.

1. Install

macOS
Linux

On an Apple silicon Mac with Homebrew:

brew install nsttt/enclo/enclo

Installation requires internet access and does not need sudo. Homebrew installs libkrun, and the installer downloads the Alpine Linux root filesystem and builds the guest image.

2. Connect your harness

enclo setup

enclo setup boots a sandbox to verify the installation, then registers enclo mcp as an MCP server for Claude Code and Codex (whichever are on your PATH).

Start a new harness session afterward. Harnesses load MCP tools at startup, so existing sessions will not pick them up.

See Connect your harness for the exact commands setup runs, how to configure other harnesses, and how to pre-approve the tools in Codex.

3. Use it

Ask your agent to use a sandbox in a regular prompt:

Clone https://github.com/pypa/sampleproject in a sandbox and run its tests.
Run this script in a sandbox first and show me what it prints.
Download that installer in a sandbox, run it, and tell me what it changed.

We tested the first prompt with Claude Code 2.1.332 and Codex CLI 0.172.0. Both installed git and python3 in a sandbox, cloned the repository, and ran its unit tests through the enclo tools.

What a sandbox is

PropertyValue
TypeA microVM running Alpine Linux 3.24.4, matching your host architecture
SizeDefaults to 2 vCPUs, 2048 MiB of memory, and a 64 GiB sparse disk (about 5.5 MB on disk when empty)
NetworkOutbound internet access. Connections to loopback, private IP ranges, and the cloud metadata address are blocked
LifetimeBoots on the first command (about 0.2 s on Apple silicon) and stays running. Shuts down after 15 minutes with no command running, and boots again on the next command
Kept between commandsFiles and installed packages persist across shutdowns; running processes persist while the sandbox is up
Your filesNo host directories are mounted. Use push to copy a directory in

Each agent session gets one sandbox, created on the first tool call and kept after the session ends. See Sandboxes for lifecycle and file transfer details, and MCP tools for the nine available tools.

If something goes wrong

enclo doctor

enclo doctor checks the installation, boots a test sandbox, and reports any problems. See From a terminal to run the same sandbox operations directly from the CLI.