A sandbox for each agent. Fork it like a file.
An agent must run the code that it writes
Section titled “An agent must run the code that it writes”A model writes code, and then the code must run somewhere. The code can be incorrect. A prompt from an attacker can make it hostile. Thus the code must run on a machine that it can damage without risk to your data.
That machine is a sandbox. boxfork gives one to each agent, on your own hardware. Hosted services such as E2B, Modal and Daytona give the same kind of sandbox, but on their computers. With boxfork, your code and your data stay on your machine.
How it works
Section titled “How it works”- Ask. Your agent asks the daemon for a sandbox.
- Isolate. The daemon starts it behind gVisor.
- Run. The code runs, and the output comes back.
- Fork. A snapshot makes copies with the same files.
The daemon is the only process that runs all the time. It puts a small helper in each sandbox. The helper runs the commands and moves the files. The daemon reaches the helper through the container engine, so a sandbox with no network works fully. How it works gives each part.
It is fast, and we measured it
Section titled “It is fast, and we measured it”The first two numbers are medians from one slow, nested test machine, so they show a relation, not the speed of a server. The GPU number is one run on Google Cloud. The drain ran on a kind cluster. Performance and the roadmap give each source and what is not proven yet.
The same code on one machine or on many
Section titled “The same code on one machine or on many”from boxfork import Sandbox
with Sandbox.create("python:3.12", gpu=1) as sbx: sbx.files.write("/work/train.py", code) print(sbx.run("python3 /work/train.py").stdout) copies = sbx.fork(4) # four sandboxes with the same filesStart with one binary on one Linux machine. There is no Kubernetes, no database and no account. When one machine is not enough, run boxfork on Kubernetes, or put many machines behind one address. The SDKs, the CLI and the MCP server do not change.
Watch it in 84 seconds
Section titled “Watch it in 84 seconds”The GLM 5.4 tool calls in the film were recorded on 5 December 2026 and ran live on boxfork.
Start here
Section titled “Start here”boxfork is new, and the licence is Apache-2.0. The roadmap tells you what is built, what is proven, and what comes next.