Install
Homebrew
Section titled “Homebrew”brew install geoffbelknap/tap/microagentThis installs the microagent CLI on Linux and macOS. It also installs
microagent-supervisor as a host-specific symlink. On Linux, that symlink
targets the Firecracker supervisor; on macOS, it targets the Apple
Virtualization.framework supervisor.
From source
Section titled “From source”You need Go 1.26 or later. On macOS you also need a Swift toolchain to build the supervisor.
git clone https://github.com/geoffbelknap/microagent.gitcd microagentgo build ./cmd/microagent ./cmd/microagent-firecracker-supervisor # Linuxgo build ./cmd/microagent # macOSswift build --package-path supervisors/applevf --disable-sandbox # macOS onlyTo produce an ad-hoc signed supervisor (macOS):
make signed-supervisorVerify the host
Section titled “Verify the host”microagent doctordoctor checks for the right backend on the current host: Firecracker plus
/dev/kvm on Linux, Apple Virtualization.framework on macOS. It also reports
default kernel status. Run it outside sandboxed environments on Linux so KVM
visibility is honest.
- Try it from the CLI — run your first microVM, then run your first agent, then named workspaces for stop/resume.
- Build with the library — run microagent from a Go program.