Strong isolation
Each sandbox runs under gVisor. The system calls of the code go to a kernel that runs as a program, not to the kernel of your machine.
How boxfork works, in 84 seconds. The GLM 5.4 tool calls in it were recorded on 5 December 2026 and run live on boxfork.
An AI agent writes code, and then it must run that code. The code that a model writes can be incorrect, and a prompt from an attacker can make it hostile. boxfork gives the agent an isolated Linux sandbox for that code. One binary changes a Linux machine into a sandbox service. Your code and your data stay on your machine.
Strong isolation
Each sandbox runs under gVisor. The system calls of the code go to a kernel that runs as a program, not to the kernel of your machine.
Snapshot and fork
Prepare an environment one time, then copy it. An agent can try ten solutions in parallel from the same state.
CPU and GPU
gpu=1 gives a sandbox a whole NVIDIA GPU. The daemon makes sure that the sandbox sees its own GPU and no other GPU.
Any model
Agent apps connect through MCP. Models that call tools get JSON Schema tools. Models without tool calls send code blocks.
from boxfork import Sandbox
with Sandbox.create("python:3.12") as sbx: sbx.files.write("/work/hello.py", "print('hello')") print(sbx.run("python3 /work/hello.py").stdout) copies = sbx.fork(3) # three sandboxes with the same filesThe tutorial gives each step, from the first sandbox to a sandbox for an LLM. boxfork is new. The status tells you what is proven and what is not proven yet.