Show HN: Local-First Linux MicroVMs for macOS

shuru.run

83 points by harshdoesdev 4 hours ago


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.

runako - a minute ago

How does this compare to Apple container[1]?

I am excited by the innovation happening in the space!

1 - https://github.com/apple/container

BrandiATMuhkuh - 2 minutes ago

Very cool. Was looking for something like this for a new project of mine. (I'm working on a project that is like a marriage of retool+OpenClaw. It's used by SME to quickly build inhouse apps)

Xlab - 30 minutes ago

I will steal this to make a local-first version of https://microterm.dev for macOS :)

My idea is to have unified environment across all targets, so the only thing that changes is speed and amount of RAM.

josephg - 3 hours ago

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

7777777phil - 3 hours ago

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

rishabhaiover - 2 hours ago

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?

xrd - 3 hours ago

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

tobyhinloopen - an hour ago

Neat! I was looking for something like this

Krisso - 2 hours ago

Why was using straigt containers not enough?

okayokay123 - an hour ago

[dead]

conradev - 2 hours ago

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