boxpool

module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: Apache-2.0

README

Boxpool

Your machines. One workspace pool.

Run isolated Linux workspaces on your own Apple silicon Macs and Linux machines. Start on one machine, then add spare hardware when you need more capacity. Keep your coding agent on your laptop, or use the agents bundled inside a workspace.

Get started · Documentation · Contribute · Roadmap

A workspace in your terminal

Install on a supported host:

curl -fsSL https://boxpool.run/install | sh

If boxpool is not found, add the directory printed by the installer to your PATH.

On an Apple silicon Mac:

boxpool doctor
boxpool up
boxpool sh --name hello --cpu 1 --mem 512m --disk 3g

On a Linux host:

Install the host prerequisites, then:

sudo "$(command -v boxpool)" doctor
sudo "$(command -v boxpool)" up
sudo /usr/local/bin/boxpool sh --name hello --cpu 1 --mem 512m --disk 3g

Inside the workspace:

printf 'hello from a workspace\n' > /root/hello.txt
cat /root/hello.txt
exit

Exiting the shell keeps the workspace running and its files intact. Follow the first workspace guide to reconnect, copy files and clean up. Run boxpool commands on the host, outside the workspace.

What you can do

  • Give an agent a separate workspace. Keep Pi, Codex or Claude Code and your model login on your laptop; use the local-agent workflow for project files, builds and tests. The skill installer is unreleased; its guide includes source-build instructions.
  • Use more of your hardware. Add another machine, label it and choose where a workspace runs. Guests are always Linux, including on Macs.
  • Keep work between sessions. Stop and start a workspace, or clone its disk with snapshots. Optionally share app previews and desktops over your tailnet.

Requirements and status

Early releases are available; Boxpool is under active development.

Host Support
Apple silicon Mac macOS 14+, APFS; macOS 26+ for workspace internet access
Linux amd64 / arm64 Kernel 5.10+, systemd, root access; KVM for Firecracker
Linux without KVM Rootful Docker fallback, with weaker isolation
Intel Mac / Windows Unsupported as hosts

Hosts need 20 GB available disk space, plus CPU and RAM for workspaces. Mac releases are ad-hoc signed, not notarized. See installation for prerequisites, Homebrew, npm and source builds. Read the trust model before running untrusted workloads.

Contributing

Start with CONTRIBUTING.md for setup, a repository map and checks. make check runs the ordinary checks without starting a daemon or VM. AGENTS.md contains the shared contribution rules.

Documentation index · Report a bug

Apache 2.0. See LICENSE.

Directories

Path Synopsis
cmd
boxpool command
Command boxpool turns spare machines into a pool of agent sandboxes.
Command boxpool turns spare machines into a pool of agent sandboxes.
boxpool-agent command
Command boxpool-agent runs inside every sandbox and executes commands for the host.
Command boxpool-agent runs inside every sandbox and executes commands for the host.
image
smoke command
Command smoke checks the built guest over Firecracker's host-side vsock UDS.
Command smoke checks the built guest over Firecracker's host-side vsock UDS.
internal
agent
Package agent is boxpool-agent, the process inside every sandbox that runs commands for the host, and a client for it.
Package agent is boxpool-agent, the process inside every sandbox that runs commands for the host, and a client for it.
artifacts
Package artifacts downloads the pinned Firecracker release and guest image for this machine into the state directory and verifies them against SHA-256 checksums compiled into the binary.
Package artifacts downloads the pinned Firecracker release and guest image for this machine into the state directory and verifies them against SHA-256 checksums compiled into the binary.
auth
Package auth holds the head's join tokens and its certificate authority, which join pins and which signs node certificates.
Package auth holds the head's join tokens and its certificate authority, which join pins and which signs node certificates.
backend
Package backend defines the interface every sandbox backend implements.
Package backend defines the interface every sandbox backend implements.
backend/docker
Package docker is the fallback backend for Linux hosts without KVM.
Package docker is the fallback backend for Linux hosts without KVM.
backend/firecracker
Package firecracker is the Firecracker backend for Linux with KVM.
Package firecracker is the Firecracker backend for Linux with KVM.
backend/vz
Package vz is the backend for macOS on Apple silicon.
Package vz is the backend for macOS on Apple silicon.
backend/warmtest
Package warmtest shares the real-hypervisor warm-clone checks.
Package warmtest shares the real-hypervisor warm-clone checks.
client
Package client talks to the local Boxpool daemon over its unix socket, or to a head over the network with an access token.
Package client talks to the local Boxpool daemon over its unix socket, or to a head over the network with an access token.
daemon
Package daemon is the node daemon: it owns this machine's sandboxes and serves the local HTTP API on a unix socket in the state directory.
Package daemon is the node daemon: it owns this machine's sandboxes and serves the local HTTP API on a unix socket in the state directory.
diskspace
Package diskspace measures capacity available for user-requested VM disks and images on the filesystem backing a path.
Package diskspace measures capacity available for user-requested VM disks and images on the filesystem backing a path.
preflight
Package preflight checks whether this machine can host Boxpool sandboxes.
Package preflight checks whether this machine can host Boxpool sandboxes.
resources
Package resources admits sandbox allocations without overcommitting the node.
Package resources admits sandbox allocations without overcommitting the node.
skills
Package skills ships instructions for host agents using Boxpool workspaces.
Package skills ships instructions for host agents using Boxpool workspaces.
store
Package store keeps the node's sandbox records in a SQLite database in the state directory, so the daemon knows what it created after a restart.
Package store keeps the node's sandbox records in a SQLite database in the state directory, so the daemon knows what it created after a restart.
transport
Package transport connects pool machines.
Package transport connects pool machines.
test
security
Package securitytest runs the same adversarial probes against Linux backends.
Package securitytest runs the same adversarial probes against Linux backends.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL