SmolVM
SmolVM gives AI agents their own disposable computer. Each boots in milliseconds, runs any code or software you throw at it, persists files and state across sessions, and disappears when you’re done — built for scale in production.Sub-second boot
VMs ready in ~413 ms.
Hardware isolation
Stronger security than containers.
Network controls
Domain allowlists for network access control.
Browser sandbox
Full browser agents can see and control.
Host mounts
Give sandboxes access to local directories.
Snapshots
Save and restore VM state instantly.
Building with agent sandboxes? Get SmolVM release notes, implementation patterns, and early-access updates.Join the SmolVM interest list
Quickstart
Install SmolVM
CLI usage
Create and manage sandboxes from the terminal:Python SDK
Create and manage sandboxes from Python:Next steps
AI agent integration
Plug SmolVM into PydanticAI, OpenAI Agents, LangChain, and more
Port forwarding
Expose services running inside a sandbox to your host machine
Custom images
Build specialized images with your own tools pre-installed
API reference
Explore the complete SmolVM API
