Code interpreters
Let your assistant analyse uploaded CSVs, draw charts and return files, with a fresh sandbox for each conversation.
Atoll runs AI-generated code in isolated microVMs that boot in milliseconds. Your agents can install packages, write files and open a browser, while your infrastructure stays out of reach.
pip install atollAn atoll is a lagoon protected by land and reef. Each Atoll sandbox is built the same way, with a separate boundary for the network, the machine and the workspace.
Outbound traffic is denied by default. Allow the domains a task needs, like a package index or one API, and every other request is dropped and logged.
Every sandbox gets its own lightweight virtual machine with fixed CPU, memory and disk. A runaway loop or a rm -rf / stays on its island.
A full Linux filesystem, a shell, a headless browser and root inside the VM. Agents work the way a developer would, with no tool wrappers to learn.
from atoll import Sandbox with Sandbox(template="python-3.12", egress=["pypi.org"]) as sbx: sbx.files.write("agent.py", code_from_llm) sbx.run("pip install pandas") result = sbx.run("python agent.py", timeout=30) # the VM is gone once the block exits print(result.stdout)
import { Sandbox } from "@atoll/sdk"; await using sbx = await Sandbox.create({ template: "node-22", egress: ["registry.npmjs.org"], }); await sbx.files.write("agent.ts", codeFromLlm); const result = await sbx.run("npx tsx agent.ts"); // disposed automatically at end of scope console.log(result.stdout);
If a model wrote it, a user pasted it, or a test generated it, run it in Atoll first.
Let your assistant analyse uploaded CSVs, draw charts and return files, with a fresh sandbox for each conversation.
A headless browser inside the VM, so logins, downloads and pop-ups never touch your own network.
Snapshot a prepared environment once, then fork hundreds of identical copies for rollouts and grading.
Clone the repo, install dependencies and run the test suite before a generated patch ever reaches a pull request.
create()BootA VM starts from a template in about 150 ms.run()WorkThe agent runs commands, edits files and browses.snapshot()FreezeMemory and disk are saved at any moment.fork()BranchCopies resume from the snapshot to try other paths.kill()SinkThe VM and its disk are wiped. Logs are kept.Atoll is in private beta. We are onboarding teams that run agent-written code in production.