Every command your agent runs is a commit of the whole microVM, memory and disk. Fork any commit into a second machine, roll back to any step, and read back exactly what it printed.
> res = mrin.exec(br, "pytest -x").result()> alt = mrin.fork(res.commit_id)> b = mrin.restore(res.commit_id)> mrin.exec(b.id, "make test")> page = mrin.get_output(b.id)>
What mrin provides.
A Linux microVM per run, with a commit graph underneath it and an API over the top.
Point at a move, or pick one below.
Execution
Run any command in the sandbox and stream its output as it happens. Attach a live shell when you want to type. Retry with the same key and get the same result, not a second run.
State
The whole machine, memory and disk, is committed after every command. That history is a graph: fork any point into a new machine, or restore it as a branch of the same one.
Lifecycle
Spawn, suspend, resume, hibernate, release. Hot-add vCPUs and RAM to a running machine, up only. Sizes from 1 to 32 vCPUs and 2 to 64 GiB.
Observability
Everything a run printed is kept, in order, for as long as the branch lives. Read it back after the fact or tail it live, many branches on one socket. Webhooks fire on every commit, spawn, and fork.
Access
One CLI. SDKs for TypeScript, Python, and Go that behave identically, because one conformance suite checks all three. List, read, and write files inside any machine.
Isolation
Firecracker microVMs on Linux with KVM. Every run has its own kernel. The org is the tenant; API keys are scoped to it.
Computer useComing soon
A desktop inside the sandbox for agents that click, type, and read the screen, with the same commit graph underneath.
Built for :
Mrin provides the isolated Vms your agents can work within. Each scene is the actual sequence of calls a run makes.
sb-3f9a @ ap-south1 · self-hostedfork()
Coding agents that need to try ten fixes from the same state
BOOTED FROM COMMIT c0 · FORK < 20 MS · ONE HOST uptime 00:00:00
Fork. Restore. Replay. Suspend.
Fork at any step.
Every command lands as a commit of the whole machine, memory and disk. fork() turns any commit into a second sandbox at exactly that state, in under 20 ms on one Firecracker host. Ten ideas, ten forks, and none of them re-runs the prefix.
fork()
res = mrin.exec(br, "pytest -x").result()c = res.commit_id # memory + disk, committedalt = mrin.fork(c) # a second machine, same state
Roll back, don’t rebuild.
When a run breaks at step 40, steps 1 to 39 are still commits. restore() opens a new branch from any of them inside the same sandbox, so the retry starts from the step before the mistake, not from a fresh image.
restore()
log = mrin.get_commits(sb) # the DAG, root to headb = mrin.restore(log[-2].id) # branch from the step beforemrin.exec(b.id, "make test")
Read back what it printed.
Terminal output belongs to the branch, not to the call that produced it. Every byte is kept in order, so subscribing before or after a command yields the same bytes. Tail a run live, or read it back once it is over.
replay()
page = mrin.get_output(b.id)for f in page.items: ... # every frame, in sequencemrin.get_output(b.id, after_seq=page.head_seq)
Pause in place, or free the VM.
Agents spend most of a run waiting. suspend() pauses the vCPUs and keeps the VM resident, so resume is a few milliseconds. hibernate() commits the machine and frees it entirely; resume restores memory and disk from that commit.
suspend()
mrin.suspend(br) # vCPUs paused, VM residentmrin.resume(br)mrin.hibernate(br) # committed, VM freedmrin.resume(br) # restored from the commit
What is not here yet.
Here's what is not available in all honesty, what's built, and what isn't yet. We operate a small team, so we work the list in the order alpha customers ask for. If one gap is blocking a real workload, tell us on a call — we will make sure it goes to the top. This is one of the major reasons we're doing this privately.
Not available
Today
Status
Hosted mrin
No self-serve hosted. Self-host on your Linux + KVM host with our help, or ask for a per-customer hosted URL.
In progress
SOC 2, HIPAA
No audits, no certifications. On the roadmap after the alpha.
Post-alpha
Computer use
No desktop in the sandbox yet. Shell, files and output only.
Coming
Replay beyond terminal output
Output frames only today. Efficient filesystem diffs, syscall capture and network capture are in development.
In development
Scale down in place
vCPUs and RAM grow in place on a running machine. To go smaller, fork the commit into a new machine at the smaller size.
Not scheduled
Multi-agent primitives
None. Coordination is yours; fork gives each agent its own machine.
Not scheduled
GPU workloads
Experimental. Limited today by ACPI issues in the virtualisation driver and by what bare-metal providers make available.
Experimental
Hosts other than Linux + KVM
Built on Linux + KVM with Firecracker. Ports to Apple's Hypervisor framework and Windows Hyper-V are experimental and in development, paced by post-alpha maturity.
Experimental
What engineers ask first.
The questions that come up in the first ten minutes of every call, answered the same way here.
What exactly is a sandbox here?
A Firecracker microVM whose whole state, memory and disk, is committed after every command. The commits form a graph: fork any of them into a second machine, restore any of them as a new branch, read back the output of any branch.
What happens on suspend?
The vCPUs pause and the VM stays resident, so resume takes a few milliseconds. Hibernate goes further: it commits the machine and frees the VM, and resume restores memory and disk from that commit. Long waits cost storage, not compute.
What's underneath — containers or VMs?
Firecracker microVMs on Linux with KVM. Each run has its own kernel, not a shared one. The control plane is a single Rust process; the branch state machine inside it is a pure function, so a timer or a retry cannot race a commit.
Where does it run? Can I self-host?
Self-hosting is the preferred option in the private alpha: it runs on your Linux + KVM host and we help you deploy it. A hosted version is in progress and coming soon.
What does it cost?
Indicative alpha rates are on the pricing page — directional, not a quote. The model: pay for resident hours at the size you configured, with no base fee. Hibernated sandboxes bill nothing, and storage, forks and restores are free. Real numbers come out of a call.
How does mrin compare to X?
Most sandbox vendors offer a snapshot you take on purpose. mrin commits the whole machine on every command, so the history is already there when a run breaks, and fork, restore, and replay work from any point in it. The docs carry a comparison against the projects most worth benchmarking.
What's actually live today?
Everything on this page runs in the private alpha: the commit graph, fork and restore, suspend and hibernate, output replay, the CLI and the three SDKs. Hosted mrin is not live yet. Ask for a capability on the call and we'll demo it, or tell you it isn't there.
Bring a workload. We'll fork it, roll it back, and replay it live on a call.