Roadmap
boxfork runs sandboxes for AI agents on one Linux machine: CPU and GPU, snapshot and fork, one binary. This page says what is built, what is not proven, and what comes next.
Each open item on this page is an issue on GitHub. The number after an item is the number of its issue. The issue gives the goal, the reason, the place in the code and the condition for “done”. The project board “boxfork roadmap” shows the same items with their status.
If you want to work on an item, write a comment on its issue first. See CONTRIBUTING.md.
The stages
Section titled “The stages”| Stage | Goal | State |
|---|---|---|
| Version 1 | A GPU sandbox that works on one machine | Built. The proof on real hardware is not complete. |
| Proof of version 1 | Run version 1 on real hardware and real cloud accounts, and measure it | Open |
| Version 2 | Faster and complete | Started. The speed work is built. |
| Version 3 | Clusters: Kubernetes, and more than one cluster or cloud | Built. All 5 steps are done and pass their live proofs. Step 3 ran on real machines with k3s. Not proven: GPU nodes on Kubernetes, a managed cloud cluster. |
| Later | A microVM backend, a hosted service, CI/CD | Not started |
Version 1: a GPU sandbox that works on one machine
Section titled “Version 1: a GPU sandbox that works on one machine”All six steps are written. Each step has tests, and each step ran on a real engine.
| Step | Content | State |
|---|---|---|
| 1 | Daemon, CPU and GPU sandboxes, commands, files, timeouts, pause and resume | Built |
| 2 | Snapshot and fork (files only) | Built |
| 3 | Python SDK, CLI, MCP server (local), tool kit for all models | Built |
| 4 | GPU check at creation, GPU health, idle suspend and wake | Built |
| 5 | Volumes and a shared read-only model cache | Built |
| 6 | Installer, first-boot script, container image, guides for AWS and Google Cloud | Built |
Proven on a real machine: Docker with gVisor on Ubuntu 24.04 (arm64, a nested virtual machine), and Podman on macOS.
Proof of version 1
Section titled “Proof of version 1”These items need hardware or accounts that the project does not have. Nothing in this list needs new features. If you have the hardware or the account, you can do the item with the procedure in its issue.
| Item | What it needs |
|---|---|
| Prove the GPU path on a machine with an NVIDIA GPU (#1) | Done on 6 December 2026: an NVIDIA L4 on Google Cloud. gcp.md gives the record. |
| Prove the daemon and the installer on x86_64 (#2) | A Linux machine with an x86_64 processor |
| Run the AWS guide on a real AWS account (#3) | An AWS account |
| Run the Google Cloud guide on a real project (#4) | A Google Cloud project |
| Prove the block of the metadata service on Docker with nftables (#5) | A Linux machine, Docker set to nftables |
Prove the installer on a system without apt (#6) |
Fedora or RHEL |
| Run the tool kit with a live model (#7) | An API key for a model |
| Measure the pool and the kept connection on real hardware (#8) | A Linux server that is not a nested virtual machine |
| Measure how many sandboxes one machine holds (#58) | A Linux server that is not a nested virtual machine |
The GPU path ran on one machine with one NVIDIA L4. Machines with more than one GPU, other GPU models and other drivers are not proven.
Version 2: faster and complete
Section titled “Version 2: faster and complete”The order comes from measurements. See docs/performance.md.
1. Speed
Section titled “1. Speed”| Item | State |
|---|---|
| Pool: the daemon keeps sandboxes started and hands them out at once | Built. A create took a median of 1.5 ms from a pool and 139 ms without a pool, on the test machine. |
| Kept connection: one open connection for the commands of a sandbox | Built. A command after the first took a median of 4 ms, and 13 ms without the kept connection, on the test machine. |
| Send file operations through the kept connection (#9) | Open |
| Open the kept connection of a waiting sandbox before the hand-out (#10) | Open |
| Measure a fork again and decrease its time (#11) | Open |
| Decrease the engine calls of a create (#12) | Open |
| Do not hold the lock of the manager while the state file goes to disk (#44) | Open. Measure first. |
| Measure and tune the settings of gVisor (#56) | Open. Measure first. |
| Pull the default image before the first create (#57) | Open |
2. Kit for reinforcement learning (Python)
Section titled “2. Kit for reinforcement learning (Python)”Many environments run at the same time, and each episode starts from the same state.
| Item | State |
|---|---|
| Reset a sandbox to a snapshot (#13) | Built on a daemon. Not built on Kubernetes: the API service refuses it. Not proven with a GPU. See internals/reset.md. |
| Async Python SDK (#14) | Built. AsyncSandbox has each call of Sandbox. 100 sandboxes from one thread took 7 to 12 s on a laptop, the same as 100 threads; the start of the containers is the limit. The tool kit stays sync only. See decision 22 in decisions.md. |
Environment wrapper with reset() and step() (#15) |
Open |
| A “trusted” isolation level for your own code, which the administrator must permit (#16) | Open |
| Shared-GPU mode for trusted sandboxes (#17) | Open |
| Prove a simulator that uses the GPU, under gVisor and under the trusted level (#59) | Open. Needs a GPU machine and a choice of simulator. |
3. Product layers
Section titled “3. Product layers”| Item | State |
|---|---|
| Code interpreter: run Python step by step and keep the state (#18) | Open |
| Named templates (#19) | Open |
| Preview URLs for a port in a sandbox (#20) | Open |
| Dashboard in the binary (#21) | Open |
| Snapshots that agents make through MCP are never deleted (#49) | Open. Needs a design. |
| Limit the GPUs that one MCP session can take (#60) | Open |
| Decide if an MCP session can see and use the sandboxes of other sessions (#61) | Open. Needs a decision. |
4. Reach
Section titled “4. Reach”| Item | State |
|---|---|
| Remote MCP endpoint (#22) | Open |
| Persistent desktop template (#23) | Open |
| More cloud guides: Azure, Hetzner, a GPU cloud (#24) | Open |
| Terraform templates for AWS and Google Cloud (#25) | Open |
| TypeScript SDK: bring it level with the Python SDK (#55) | Open. It does not have the pool calls and a reference page. |
| HTTPS with a certificate that the daemon gets by itself (#63) | Open. Needs a decision about a first dependency. |
| Decide what the TypeScript SDK does under Bun when a proxy is set (#64) | Open. Needs a decision. |
| Examples: a short agent loop for each kind of model API (#65) | Open. Needs API keys for the models. |
Health of the project
Section titled “Health of the project”These items make the project easy to contribute to and safe to publish.
| Item | State |
|---|---|
| CI: run the tests and the documentation check for each pull request (#26) | Open |
| Publish releases: where the archives live, and how a user verifies them (#27) | Built, not published. A tag gives a GitHub Release, the images on GHCR and Sigstore attestations (decision 23, docs/releasing.md). No release is published yet. |
| Choose the final name of the project (#28) | Done. The name is boxfork (decision 16 in docs/decisions.md). |
| Make the repository public (#29) | Done on 5 December 2026. The project board is also public. |
| Keep the lists of break-it checks in the repository (#30) | Open |
| Decide the future of the TypeScript SDK (#31) | Decided on 5 December 2026: it stays, and #55 brings it level with the Python SDK. |
| Turn on private vulnerability reporting before the repository is public (#54) | Done on 5 December 2026. |
Known limits that have an item
Section titled “Known limits that have an item”| Item | State |
|---|---|
| Refuse a second daemon on the same engine (#32) | Open |
| A sandbox can reach services that listen on the Docker host (#33) | Open |
| Give a volume a size limit (#34) | Open |
| Let a model make and mount a volume through the tools (#35) | Open |
| Decide if idle suspend is on by default for GPU sandboxes (#36) | Open. Needs a decision. |
| Check the version of the state file when the daemon starts (#43) | Open |
| Decide what happens when the state file cannot be saved (#45) | Open. Needs a decision. |
| A failed GPU check answers 500 internal (#46) | Open |
| A fork of a GPU sandbox asks only for the GPU count, not the model or the memory (#47) | Open |
The MCP session cannot make its own sandbox on a host with --max-timeout under 30 minutes (#48) |
Open |
| CLI: add a command to change the timeout of a sandbox (#50) | Open. Good first issue. |
| At a restart, a sandbox whose GPU another sandbox has in the state is removed with its files (#51) | Open. Needs a decision. |
| The trial container for gVisor does not hide the GPUs (#52) | Open. The last check needs a GPU machine. |
| Tool output: the count of the text left out is in bytes, but the text says characters (#53) | Open. Good first issue. |
| Decide if the saved files of a suspended sandbox show in the list of snapshots (#62) | Open. Needs a decision. |
Version 3: clusters and Kubernetes
Section titled “Version 3: clusters and Kubernetes”Versions 1 and 2 run on one machine. Steps 1 to 5 of version 3 are built: internals/kubernetes.md describes it. k3s.md runs it on a few plain Linux machines. Version 3 runs boxfork on Kubernetes, and joins more than one cluster or cloud. The mode with one machine stays as it is: one binary, no database, no Kubernetes. Decision 17 gives the design.
| Step | Item | State |
|---|---|---|
| 1 | The operator and the Sandbox resource: each sandbox is a gVisor pod with CPU and GPUs (#71) |
Built. An independent review found 10 defects. All are fixed, each with a test. 38 live checks pass on one kind cluster with gVisor. GPUs on a real node are not proven. |
| 2 | Snapshots, forks and pools on Kubernetes: SandboxSnapshot and a node agent; pools stay in the manager (#74) |
Built. An independent review found 9 defects. All are fixed, each with a test. 56 live checks pass on a kind cluster with two worker nodes. Not proven: a real or cloud cluster, large snapshots, network plugins other than kindnet. |
| 3 | A guide for a few plain machines with k3s (#75) | Written: docs/k3s.md. On 6 December 2026, all its steps ran on 3 Google Cloud VMs with k3s 1.37, and 46 live checks passed: gVisor on each node, the network policies of kube-router, a fork onto 3 nodes, and a drain that moved 2 sandboxes with their files. The run found two defects, both fixed: the network check took a rejected connection for a reached one, and flannel sends the pulls of the registry from tunnel addresses. Not proven: a run by a person other than the author, GPU nodes, arm64 nodes, other network plugins. |
| 4 | More than one cluster or cloud under one control service, with one SQLite file (#38) | Built: boxfork-control, the join of a daemon or of the API service of a Kubernetes cluster, placement (docs/clusters.md). An independent review of the part for daemons found 8 defects, and a review of the join of a cluster found 5. All are fixed, each with a test. 21 checks pass with test servers. 32 checks pass with two kind clusters and a test server, all on one computer. Not proven: two machines, a real network, a cloud cluster, GPUs. The API service of a cluster reports no GPUs. |
| 5 | The operator keeps sandboxes safe through node drains, upgrades and changes to GPU node pools (#76) | Built: a budget for each sandbox, and the operator moves the sandboxes of a cordoned node with their files (decision 20). Two independent reviews found 13 defects. All are fixed, each with a test. 60 live checks pass on a kind cluster with two worker nodes: kubectl drain moved 4 sandboxes in 15 seconds, and no write that the client saw succeed was lost. Not proven: a cloud cluster, the cluster autoscaler, Karpenter, GPU nodes, volumes, large sandboxes. |
None of these has a date. Some are a stage of their own. Each of the others waits for an item that the table names.
| Item | Why it is later |
|---|---|
| MicroVM backend behind the same API (#37) | Stronger isolation, snapshots that keep processes, Docker in a sandbox. It needs KVM. |
| Hosted service: more than one API key, limits and records of use for each key, sign-up, billing (#39) | It comes after the self-hosted version is proven. |
| CI/CD: a job layer with a queue, stored logs, artifacts and secrets (#40) | It was put aside to keep the first versions small. |
| SDKs for other languages (#41) | The HTTP API and the MCP server serve other languages now. |
| A proxy that gives a code interpreter to an OpenAI-style model endpoint (#42) | An idea. It is not in the plan. |
| Memory snapshots: a snapshot and a fork that keep the running processes (#66) | It needs the microVM backend. |
| Docker inside a sandbox (#67) | It needs the microVM backend. |
| A backend that starts sandboxes with the runtime directly, without Docker (#68) | Measure the cost of the engine API first (#12). |
| Machine images and marketplace listings for the clouds (#69) | It needs releases (#27). |
| A command that creates the machine in the user’s own cloud account (#70) | The guides and Terraform templates come first. |
| A gate on what leaves a persistent desktop (#72) | It comes with the persistent desktop (#23) and the microVM backend. |
| Adapters for agent frameworks (#73) | The tool kit already works with any framework through plain tool definitions. |
| An engine for clouds that rent only containers, such as Runpod Pods: one sandbox is one container of the cloud (#78) | On such clouds boxfork cannot make namespaces, so gVisor cannot start (test in #1). The design stays: a VM or bare metal with gVisor. |
| A trusted mode: sandboxes as plain processes with Landlock and seccomp (#79) | Only for code that you trust. It is never the default. |
Limits of the current build
Section titled “Limits of the current build”- Run one daemon for one engine. A second daemon removes the sandboxes of the first when it starts.
- A sandbox can reach services that listen on the Docker host.
- The design assumes that the machine has no local users that you do not trust.
- A snapshot keeps files. It does not keep processes or memory.
- One API key: each client that has the key controls all sandboxes.
- A sandbox cannot run Docker.
How this page stays correct
Section titled “How this page stays correct”- When you complete an item, change its state on this page in the same pull request.
- Close the issue of the item with the pull request.
- When you add an item, create its issue first. Then add the item and the number of the issue to this page.
- When a measurement changes a plan, record the measurement in docs/performance.md.