AI agent sandbox benchmark study 2026: 74 ms restore, 100 forks in 2.5 s, 192/192 refused
How fast can an AI agent get a sandbox with its own kernel, and does tenant isolation hold under load? On one AMD Ryzen 7 7700 server on 3 November 2026, kosa8 restored a microVM from a snapshot in 74 ms at the median, forked 100 live copies of a running sandbox in 2.5 s with none lost, created a s

Posted on Dec 3 • Originally published at kosa8.com
How fast can an AI agent get a sandbox with its own kernel, and does tenant isolation hold under load? On one AMD Ryzen 7 7700 server on 3 November 2026, kosa8 restored a microVM from a snapshot in 74 ms at the median, forked 100 live copies of a running sandbox in 2.5 s with none lost, created a sandbox from its warm pool in 1.9 ms, and refused 192 of 192 cross-organisation access attempts with 64 clients running. These are kosa8's own measurements of kosa8, on one machine per test. The method, the limits and the full dataset (CSV and JSON) are below.
Linux engine, one AMD Ryzen 7 7700 server, sandboxes of 1 vCPU and 256 MiB, 2026-11-03.
Per-task virtual machines are fast enough for interactive agents. A sandbox with its own kernel was ready in 1.9 ms from a warm pool and in 74 ms from a snapshot, against 287 ms for a cold boot. Start-up is no longer a reason to share a kernel between tasks.
Forking a running machine is cheap in time and disk, not in memory. A hundred live copies took 2,471 ms and wrote 28 MB to disk, because reflink shares the rest, but held 26 GB of host RAM, about 260 MB each.
Isolation held under load. Every attempt by one organisation to run a command in another's sandbox was refused: 80 of 80 at 20 clients and 192 of 192 at 64 clients, with no errors and no leaked VMs.
One 8-core host saturates at about 26 operations a second. Past that, extra clients add queueing, not work. When the pool drained under load, a create fell back to a restore that took 2.6 s at the median instead of 74 ms, so pool depth has to follow demand.
Shared folders are the slow path. On a Mac, a virtiofs bind mount reached 30% of host-native throughput, below the VM's own disk at 52%. Heavy I/O belongs on the sandbox's own disk.
A fork copies a running sandbox, with its memory and processes, into live copies. Every clone ran a container afterwards.
Each client loops: create, exec, have another organisation try to exec (it must be refused), delete, call a function.
Held at once: 150 sandboxes running simultaneously from 10 orgs, created in 2.8 s at 16 in parallel, each answering correctly while all were up. A refused cross-org attempt is a request with one organisation's token for another organisation's sandbox; the host API must answer it with 404 (not found).
The pool sizes itself from the recent claim rate, the measured refill time and the largest recent burst, and gives memory back after a quiet minute.
Below saturation the pool absorbs the load. At saturation no pool depth helps, because refills cannot keep up; that is host capacity, and the answer is more hosts.
2026-09-20. Apple M-series, macOS 26.0.1, the local engine on Apple's Virtualization.framework. One target is missed, and it is listed.
The VM's own block device reached 52% of host native on the same run, so no shared-folder mechanism can reach the 70% target on this platform; a workspace on the sandbox's own disk runs at that ceiling instead.
Every figure on this page, one row per measurement, with its unit, statistic, sample size where recorded, load, sandbox size, host and date.
Cite as: kosa8, AI agent sandbox benchmark study 2026, kosa8.com/research/ai-agent-sandbox-benchmarks-2026/, measurements of 20 September and 3 November 2026. The data is licensed under CC BY 4.0: reuse it with credit to kosa8 and a link to this page. The live benchmark page, with later end-to-end runs against kosa8 Cloud, is kosa8 benchmarks.
The common objection to giving every agent task its own virtual machine was start-up time. On this hardware, a microVM with its own kernel was ready in 74 ms from a snapshot and in under 2 ms from a pool. The costs that remain are memory per instance and host capacity under load, and both are planning problems rather than reasons to share a kernel. The trade-offs between containers, gVisor and microVMs are set out in MicroVM vs container isolation for LLM code execution, and the wider design in Secure sandbox infrastructure for AI agent tool execution.
kosa8 is Zero Trust cybersecurity infrastructure for AI agents. Each agent runs in its own microVM with its own kernel; network egress goes to an allow-list enforced on the host; secrets stay outside the sandbox; risky steps can wait for a person; and every action goes to a hash-chained, signed audit log. It runs on your computer, on kosa8 Cloud (us-ash1, Dallas, Texas), on your own servers or air-gapped. SOC 2 Type II is in progress; there is no SOC 2 report and no external penetration test yet.
Try free with no account at kosa8.com/try. Starter is free with no card; plans from \$29 a month.
In this study, on one AMD Ryzen 7 7700 server with sandboxes of 1 vCPU and 256 MiB, a cold boot took 287 ms at the median, a restore from a memory snapshot 74 ms, and a claim from a pool of paused, pre-restored microVMs 1.9 ms.
A hundred live copies of one running 256 MiB sandbox used 26 GB of host RAM, about 260 MB each, but wrote only 28 MB to disk because reflink shares the unchanged blocks. Memory, not CPU, set how many sandboxes fit on the host.
A load tester ran clients for several organisations at once. Each client created a sandbox and then had another organisation try to run a command in it. All 80 attempts at 20 clients and all 192 attempts at 64 clients were refused, with no errors and no leaked VMs.
Name kosa8's AI agent sandbox benchmark study 2026 and link this page. The CSV and JSON files carry every figure with its unit, statistic, load, host and date. They are kosa8's own measurements on one machine per test, not a comparison with other products.
This article was written with AI assistance and reviewed by the kosa8 team. It was first published at kosa8.com.