Lessons from running DeepSeek's DSec sandbox design on public cloud A sandbox platform called swarmbox, built by Vibrant Labs to follow DeepSeek's DSec paper on ordinary Azure VMs, ran 220 Harbor agent-eval tasks 32 at a time on two sandbox nodes with images pre-built and finished in under 4 minutes with 219 passes and 0 infrastructure errors — the single failure being a task whose reference solution is wrong. The same 220 tasks with nothing built yet produced 205 passes and 14 timeouts waiting on image builds, while a World on a 3.9 GB image was ready in 0.5 seconds when mounted versus 48.4 seconds when pulled. Vibrant Labs is opening the hosted test bed to invited users and releasing the Python SDK and Harbor provider as open source, with the platform's premise that a trial missing a database or sidecar must fail as an infrastructure error rather than silently produce a wrong score. If a task's database never came up, or a sidecar died halfway through, an agent trial still produces a score. That score is wrong, and nothing tells you. Run a few thousand trials a day and those failures end up in your eval numbers and your training data. swarmbox is the sandbox platform we built to catch those failures. Every trial gets a fresh World : a container for the agent's workspace and one for each service the task needs, on a private network, started and torn down together. If the platform can't deliver the whole World, the trial fails as an infrastructure error and gets no score. On two sandbox nodes, 220 Harbor https://github.com/harbor-framework/harbor tasks Harbor is an agent eval framework , run 32 at a time with images already built, finish in under 4 minutes with no infrastructure errors. A World on a 3.9 GB image is ready in half a second. Pulling that image the usual way takes 48 seconds. The design follows DeepSeek's DSec paper, rebuilt to run on ordinary Azure VMs. Today we're also opening the hosted test bed to invited users and releasing the Python SDK and Harbor provider as open source. What you get - A task with an agent box, a mock API and a database is one request. The containers find each other by name. Most sandbox services hand you one sandbox at a time, and the World is what we add. - All you need is a token. No Docker on your machine and no registry to push to: swarmbox builds the image from your task's Dockerfile and runs it. With Harbor, that is the Dockerfile already in the task's environment folder. - Big images start fast, because nodes mount them instead of downloading them. - Harbor tasks and agents stay as they are. You change the environment flag. Using it Here is a World with two Sandboxes. One serves HTTP and the other looks it up by name. create world returns once every Sandbox is ready, or raises WorldFailed if the platform couldn't deliver it. After that you have exec , upload and download on any Sandbox by name. Every World has a time limit, so a crashed client can't leave one running. A Harbor trial Each Harbor trial becomes one World, and each service in the task's compose file becomes one Sandbox in it. Here tasks/ holds the eight tasks the walkthrough https://swarmbox.vibrantlabs.com downloads from the public validated-tasks https://huggingface.co/datasets/FWeindel/validated-tasks dataset. For each trial, the provider hashes the task's environment files and asks swarmbox for that image. If it exists, the trial starts at once. If it doesn't, the provider uploads the files and swarmbox builds it, and other trials of the same task wait on that one build. On those eight tasks, the first run takes about three minutes, almost all of it image builds. The second takes under 10 seconds. The provider accepts these compose keys: image , build , command , environment , volumes , expose , networks , healthcheck and depends on . A task that uses anything else fails before it starts, with an error naming the key. Numbers Measured through the public endpoint with only a token, on two sandbox nodes, unless a row says otherwise. | What | Result | |---|---| | 220 Harbor tasks, 32 at a time, images already built | 219 passed, 0 errors, under 4 minutes. The one failure is a task whose reference solution is wrong | | The same 220 tasks, nothing built yet | 205 passed; 14 trials timed out waiting for their image build | | Harbor environment start, median | 0.25 s | | World ready on a 3.9 GB image | 0.5 s mounted, 48.4 s pulled | | Create, exec, stop on a single node an earlier build | 20 to 23 cycles a second with 32, 128 and 256 running at once, no failures in 2,750 cycles | Every task in these runs has one container. Worlds with several Sandboxes are what the API is built around and what our tests cover, but we haven't measured them at this scale yet. Architecture - API servers check your token, pick a node and forward the request. They hold no state. We run two behind a load balancer and can lose one. - Node agents , one per sandbox node, own their Worlds end to end: networking, containers, readiness, time limits and cleanup. - The builder runs on its own VM and turns your Dockerfile into an image. - The image store holds built images as layers every node can mount. What we took from DSec, and what we swapped swarmbox is modeled on DeepSeek Elastic Compute DSec https://arxiv.org/abs/2609.22978 , DeepSeek's system for running RL rollouts at large scale. We kept three of its ideas: 1. Placement is stateless and the node is the source of truth. There is no central database of sandboxes to fall behind when thousands start and stop. 2. Images load lazily. A node mounts an image from shared storage and fetches only the blocks a task reads. 3. The client is a small async library, so one rollout loop can hold hundreds of Sandboxes open. DSec's design leans on infrastructure you can't rent: 3FS DeepSeek's own filesystem, on dedicated storage servers and a patched Docker daemon. We run on ordinary cloud VMs, so those parts differ, and we made a few choices of our own. | DSec | swarmbox | |---|---| | 3FS on dedicated storage servers | JuiceFS https://juicefs.com : data in Azure Blob Storage, metadata in Azure Managed Redis, a block cache on each node's local NVMe | | Patched dockerd | Stock containerd, driven directly by our node agent | | Sandbox as the unit | World as the unit: Sandboxes with one network and one lifecycle | | Function calls, containers, microVMs, full VMs | Containers, with gVisor as an option | One request A World's ID looks like