#502 · Primary category: AI Agents & Automation

forkd

ai-agents copy-on-write kvm microvm rust sandbox snapshot

Fork() for AI agent microVMs. Spawn 100 children in ~100ms from a warm parent; BRANCH a live VM in ~150ms. KVM-isolated, snapshot CoW.

Project last updated:08/22/26

GitHub Stars

2.8K

Forks

207

Contributors

9

License

Apache-2.0

Why we included this project

Most agent workloads hit a wall when you try to scale them: each VM cold boot is slow and heavy, but sharing processes sacrifices isolation. forkd sidesteps that by building on Firecracker. A parent microVM boots once with your runtime loaded, pauses to disk, and then children fork from it, sharing memory copy-on-write. That gives you KVM isolation per child with startup costs close to a process fork. If you are running parallel agents or tool-execution pipelines that need to be isolated from each other, this changes the math. The branch mode also lets you snapshot a running VM, which is handy for checkpointing state.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category