Jasmine
BetaOpen SourceApache-2.053 starsApache-2.0 Firecracker sandbox runtime for AI agents: any OCI image is booted once into a memory snapshot, and every sandbox restores from it in about 100 ms, with pause, snapshot and copy-on-write copies started from a snapshot.
- Boot rank
- #48 / 119
- 60% of published starts are slower
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Memory + processes retained
- Resume: Create to first command 87 ms in the project's fairbench and about 100 ms on the website; pause and resume 420 ms in its published benchmark
Overview
Jasmine takes the snapshot-restore idea that hosted vendors keep behind their API and ships it as a daemon you run yourself. You give jasmined a Linux host with KVM, build a template from any OCI image once, and from then on creating a sandbox reflinks the template disk and maps its frozen memory copy-on-write, so nothing boots and create time does not depend on what the image does at startup. Commands, files and exit codes go over virtio-sock to a static agent that is PID 1, which is why the project reports single-digit millisecond exec. The feature set is deliberately narrow and matches the agent loop: pause keeps memory and running processes and resumes on the next call, a snapshot becomes a template you can start copies from, and preview URLs proxy any port back through the API. Two caveats belong in the entry. Its headline benchmarks are self-run through aisandboxbench's harness from a nested-virtualization CI runner, not a published listing, and the project says so itself. And it is early: the HTTP API and both zero-dependency SDKs work end to end, but a fork of a running sandbox, per-sandbox egress allowlists, a multi-host scheduler, GPU support, an MCP server and an E2B-compatible API are roadmap items, and running sandboxes are lost if the daemon restarts. Jasmine Cloud is in early access with the same binary behind it.
Key capabilities
- Firecracker microVM per sandbox restored from a memory snapshot, never booted
- Create to first command about 100 ms, exec in single-digit milliseconds (vendor figures)
- Pause keeps memory and processes; any call resumes it
- Snapshot a sandbox into a template and start copy-on-write copies
- Any OCI image becomes a template through
jasmined build - Cloud metadata, host services and east-west traffic blocked and tested on every push
- Preview URLs proxy any port inside the sandbox over vsock
- Zero-dependency TypeScript and standard-library Python SDKs plus a plain HTTP API
- Free Apache-2.0 self-hosting; Cloud early access from $0.03 per vCPU-hour
- Live fork, egress allowlists, MCP and multi-host scheduling are roadmap items
jasmine-quickstart.sh
# On a Linux host with /dev/kvm
curl -fsSL https://tryjasmine.dev/install | sudo sh
sudo jasmined build default python:3.12-slim # OCI image -> snapshot template
sudo systemctl enable --now jasmined # API on http://127.0.0.1:7171
curl -fsS http://127.0.0.1:7171/healthz
curl -fsS -X POST http://127.0.0.1:7171/v1/sandboxes \
-H 'Content-Type: application/json' \
-d '{"template":"default"}'Similar alternatives
Technical specifications
- Runtime architecture
- Firecracker MicroVM
- Runtime notes
- Firecracker microVM per sandbox, restored from a memory snapshot of a booted template
- Template disk is an XFS reflink copied on create and fork; snapshot memory is mapped MAP_PRIVATE and faulted in lazily
- Guest PID 1 is a static jasmine-agent: exec, files and sync travel as framed bytes over virtio-vsock
- One network namespace per sandbox with pre-built taps and NAT slots
- Cold-start boot time
- About 100 ms from create to first command; a restore never boots a kernel
- Max vCPU
- Chosen per template (--vcpus; published benchmarks used 2 and 4 vCPU)
- Max memory
- Chosen per template (--mem-mib; the SDK default is 1 GiB)
- Storage model
- An XFS reflink store of templates and snapshots; each sandbox disk is a copy-on-write reflink, so it costs only what it writes
- Network isolation
- Each sandbox has its own network namespace and pre-built NAT slot. The cloud metadata endpoint, the host's own services and other sandboxes are dropped by firewall rules, checked end to end on every push, while DNS, HTTPS and package installs work. There is no per-sandbox egress allowlist yet; it is on the roadmap, and the API is localhost-only until JASMINE_API_KEY is set and the daemon is put behind TLS.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Supported
- Instant forking
- Supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Not supported
- MCP protocol server
- Not supported
- REST API & SDKs
- Supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Memory + processes retained
- Resume latency
- Create to first command 87 ms in the project's fairbench and about 100 ms on the website; pause and resume 420 ms in its published benchmark
- Session limit
- No published cap. A paused sandbox bills only for snapshot storage on Cloud, and running sandboxes do not survive a jasmined restart
- SDKs
- TypeScript, Python
Pricing model
Official VerifiedRate read 24 Nov 2026.
The engine is Apache-2.0 and free to self-host on a Linux host with KVM; the bill is your machine. Cloud is in early access at $0.03 per vCPU-hour plus $0.008 per GiB-hour of memory billed per second, with $20 of usage free every month, paused sandboxes charged for storage only and snapshots at $0.08 per GiB-month. Enterprise is custom annual pricing with bring-your-own-cloud, dedicated hosts, SSO, audit logs and an uptime SLA. The Cloud waitlist is open and the first teams are admitted in batches.