swarmbox
BetaApache-2.01 starsSandbox platform for agentic RL rollouts and evals: each trial gets a World of containers, an agent workspace plus the task's services on one private network, started and torn down together, with images mounted instead of pulled.
- Boot rank
- #76 / 119
- 36% of published starts are slower
- Idle billing
- Not published
- Vendor does not sell idle time; runs on your hardware
- State kept on pause
- Not published
- Resume latency not published
Overview
swarmbox answers a failure mode that eval and RL teams live with: a trial whose database never came up still produces a score, and nothing says the score is wrong. The unit is a World, a group of containers created in one call, placed on one node, given a private network and torn down together. One Sandbox holds the agent's workspace and one holds each service the task needs, and they find each other by name or alias from the first instruction. If any part cannot be delivered, the create fails as an infrastructure error instead of producing a half-built trial, and the Harbor provider treats that as a trial with no score. The engineering is openly modelled on DeepSeek's DSec paper and rebuilt for rented Azure VMs: stateless API servers that route by an id embedding the node name, node agents that own worlds end to end, no Kubernetes, and images converted to EROFS layers that nodes mount instead of pulling, which the vendor measures at half a second for a 3.9 GB image against 48 seconds for a full pull. Isolation is deliberately unglamorous and documented as such: containers share the node's kernel unless gVisor is switched on per user, there are no microVMs, GPUs, snapshots, pause or resume, and root inside a Sandbox is an unprivileged user in its own namespace on the node. Egress is per Sandbox and binary, none or public, with per-host allowlists still planned. The hosted test bed is invite-only and beta, and the platform itself is closed while the Python SDK, Harbor provider and docs are Apache-2.0, so treat this as the reference implementation of a rollout-shaped sandbox API rather than as a self-hostable runtime.
Key capabilities
- A World per trial: workspace plus task services on one private network
- Worlds are created and destroyed as one unit, and a failed World produces no score
- Images built from the task's Dockerfile, no Docker or registry on your side
- Lazy EROFS image mounting, measured at 0.5 s for a 3.9 GB image against 48 s to pull
- containerd with runc, seccomp, user namespaces and a process limit by default
- gVisor available per User as an opt-in stronger boundary
- Egress is per Sandbox, none or public, with private and metadata addresses always blocked
- Python SDK with create_world, exec, upload and download
- Harbor environment provider: one trial becomes one World
- HTTP API with Worlds, exec, file archive and image builds
- TTL per World, at most 24 hours
swarmbox-world.py
import asyncio
import swarmbox_sdk
async def main():
# Reads SWARMBOX_URL and SWARMBOX_TOKEN.
async with swarmbox_sdk.Client() as client:
world = await client.create_world(
[
swarmbox_sdk.Sandbox(
name="env",
image="docker.io/library/python:3.12-slim",
command=["python", "-m", "http.server", "8080"],
aliases=["svc.internal"],
),
swarmbox_sdk.Sandbox(
name="main",
image="docker.io/library/python:3.12-slim",
command=["sleep", "infinity"],
),
],
ttl="5m",
)
result = await world.exec("main", "getent hosts svc.internal")
print(result.exit_code, result.stdout)
await world.stop()
asyncio.run(main())Similar alternatives
Technical specifications
- Runtime architecture
- Each Sandbox is an OCI container driven by containerd; the default runtime is runc with seccomp, user namespaces, a process limit and no new privileges
- Runtime notes
- gVisor can be switched on per User, at a measured cost of about 40% longer end to end on the vendor's 220-task sample
- Sandboxes of one World share a private network and resolve each other by name and alias; Worlds never reach each other
- Image layers are converted once to EROFS files and mounted lazily, so a node fetches only the blocks a task reads
- Cold-start boot time
- A World on a 3.9 GB image is ready in 0.5 s when the image is mounted, against 48.4 s for a full pull, and a Harbor environment starts in a median 0.25 s (vendor measurements through the public endpoint, November 2026)
- Max vCPU
- Not published: each Sandbox declares its own cpus value, and the hosted test bed sets no per-User cap
- Max memory
- Not published: each Sandbox declares memory_mb, and the hosted test bed sets no per-User cap
- Storage model
- 20 GiB of writable layer per Sandbox, enforced by the node's file system; one command's output stream is capped at 16 MiB
- Network isolation
- Every Sandbox declares egress none or public. None reaches only the other Sandboxes of its World and has no external DNS; public adds the internet but never private ranges, cloud metadata endpoints, other Worlds or the node. A World belongs to the token that created it, and another token gets a 404. Per-host allowlists are listed as planned.
Lifecycle & capabilities
- Filesystem persistence
- Not supported
- Memory / disk snapshot
- Not supported
- Instant forking
- Unknown
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Unknown
- Mobile / cloud phone
- Unknown
- Browser automation
- Unknown
- Network egress control
- Supported
- Pause / auto-sleep
- Not supported
- MCP protocol server
- Unknown
- REST API & SDKs
- Supported
- Idle billing
- Not published
- State kept on pause
- Not published
- Session limit
- A World requires a ttl of more than zero and at most 24 hours, and the hosted test bed stops a trial's World when the trial ends
- SDKs
- Python
Pricing model
Pending AuditRate read 27 Nov 2026.
No rate card is published. The hosted test bed is invite-only: access is requested through a waitlist and a personal API token follows by email, and the site sells no plan or price. The Python SDK and the Harbor provider are Apache-2.0 and free to use, but they only call a swarmbox deployment, which the vendor does not sell publicly. Pricing is Pending audit.