It's called a smol machine free and oss, https://github.com/smol-machines/smolvm
1,123 karma · joined October 1, 2019
It's called a smol machine free and oss, https://github.com/smol-machines/smolvm
Attention really is all you need.
About the same size as the docker image to be honest. Join the discord and I'm happy to give you a white glove experience with onboarding :)
It is on the roadmap, but frankly I haven't used Windows in a decade. I would love for a contributor to take that on as part of the free and open source spirit.
Sounds like it could be you? :)
will look into it
smolvm is a virtual machine with the ergonomics of containers like packaging and distributing, kernel is not shared. You'd run containers inside of smolvm.
Also, smolvm runs ontop of both kvm for linux and apple's hypervisor for macOS. So it's cross platform.
So directionally yes. But it relies on kvm. I focus on portability i.e. cross platform for local macOS and linux, so that is not top of mind for me right now.
It also has file copy from host to inside the guest: https://github.com/smol-machines/smolvm/blob/70c97930dda5a92...
smol machines is a virtual machine that has properties and ergonomics of containers. It's not an ai project, it's designed to run any software inside.
docker sandbox sounds like it's running ai stuff inside of a microvm.
So if you need to use a virtual machine - use smol machines.
If you need a to run coding agents, use smol machines still because agents are just software.
But smol machines are not an implementation of unikernel - it's basically just the linux kernel but slimmed down. So, more compatible with most software.
smolvm is a vm with some of the properties & ergonomics of containers - it's meant as a replacement for containers.
But should be easy for anyone to build their own integration with existing as well like nomad.
I'm trying to do away the model of cpu and memory tbh.
Virtio- balloon dynamically resizes based on memory consumed.
CPU is oversubscribed by default
Linux was built in the 90s. Hardware improved more than a 1000x. Linux virtual machine startup times stayed relatively the same.
Turns out we kept adding junk to the linux kernel + bootup operations.
So all I did was cut and remove unnecessary parts until it still worked.
This ended up also getting boot up times to under 1s. The kernel changes are the 10 commits I made, you can verify here: https://github.com/smol-machines/libkrunfw
There's probably more fat to cut to be honest.
You'll see that philosophy in this project as well (i hope).
freeBSD focuses on features, which is great too.
I build a virtual machine that is an alternative to firecracker and containers.
Got a lot of questions on how I spin up linux VM's so quickly
Explanation is pretty straight forward.
Linux was built in the 90s. Hardware improved more than a 1000x. Linux virtual machine startup times stayed relatively the same.
Turns out we kept adding junk to the linux kernel + bootup operations.
So all I did was cut and remove unnecessary parts until it still worked. This ended up also getting boot up times to under 1s.
Big part of it was systemd btw.
Not useful for things it hadn't been trained on before. But now I have the core functionality in place - it's been of great help.
Here's how my perspective:
smolvm operates on the same shared responsibility model as other virtual machines.
VM provides VM-level isolation.
If the user mounts a directory with the capability of symlinks or a host OS with a path for guest software that is designed to escape - that is the responsibility of the user rather than the VM.
Security is not guaranteed by using a specific piece of software, it's a process that requires different pieces for different situations. smolvm can be a part of that process.
I'm building a different virtual machine.
Electron ships your web app bundled with a browser.
Smol machines ship your software packaged with a linux vm. No need for dependency management or compatibility issues because it is baked in.
I think this is how Codex or Claude Code should be shipped by default, to avoid any isolation issues tbh