logoalt Hacker News

Show HN: Local-First Linux MicroVMs for macOS

72 pointsby harshdoesdevtoday at 6:50 PM21 commentsview on HN

Shuru is a lightweight sandbox that spins up Linux VMs on macOS using Apple's Virtualization.framework. Boots in about a second on Apple Silicon, and everything is ephemeral by default. There's a checkpoint system for when you do want to persist state, and sandboxes run without network access unless you explicitly allow it. Single Rust binary, no dependencies. Built it for sandboxing AI agent code execution, but it works well for anything where you need a disposable Linux environment.


Comments

josephgtoday at 8:24 PM

What does local first mean in this context? Does it just mean local? Like, the software runs locally?

show 2 replies
7777777philtoday at 8:12 PM

The agent stack is splitting into specialized layers and sandboxing is clearly becoming its own thing. Shuru, E2B, Modal, Firecracker wrappers.

Earlier this month I wrote about how these layers have very different defensibility profiles and why going monolithic is the wrong call: https://philippdubach.com/posts/dont-go-monolithic-the-agent...

EDIT: Spelling

rishabhaiovertoday at 9:09 PM

I've noticed claude forks parallel agents on an assigned task. How would they communicate in isolated sandboxes like these? Would it be cleaner and more effective for a harness to orchestrate swarms of agents in a single clean linux environment like OrbStack?

show 1 reply
xrdtoday at 7:59 PM

What is the benefit of this over lima, for example?

show 1 reply
tobyhinloopentoday at 9:34 PM

Neat! I was looking for something like this

show 1 reply
Krissotoday at 8:34 PM

Why was using straigt containers not enough?

show 1 reply
conradevtoday at 8:46 PM

Use OrbStack. It’s faster than Virtualization.framework because it has its own hypervisor.

show 3 replies
okayokay123today at 9:47 PM

[dead]