Mitos Cookbook
Recipes for giving every AI agent its own forkable computer
AI sandboxes, agents, code execution, reinforcement learning environments, infrastructure
Isolated, forkable computers for your AI agents.
Millisecond microVM sandbox forking on Kubernetes.
Website · GitHub · Quickstart · Discord
import mitos
sb = mitos.create("python") # Ready microVM sandbox (~27 ms warm-claim)
print(sb.exec("echo hello").stdout) # hello
# Fork into independent siblings to try two approaches at once.
a, b = sb.fork(2)
a.exec("echo conservative > /workspace/plan.txt")
b.exec("echo aggressive > /workspace/plan.txt")
sb.terminate()
pip install mitos-run(the import staysimport mitos), setMITOS_API_KEYfrom mitos.run, and the SDK talks to the hosted endpoint. No Kubernetes required. The same code runs on your own cluster by settingMITOS_BASE_URL.
Why Mitos
bench/husk-activate-latency.sh.
Full methodology in BENCHMARKS.md.Building agents on Hugging Face? Whether you use smolagents, LangGraph, or your own harness: give every agent its own computer, and fork it into parallel attempts in milliseconds. Start with the Mitos cookbook.
→ Get an API key at mitos.run and start building with a $5 credit.
⭐ Star on GitHub · Cookbook · Join the Discord
Apache-2.0 · Mitos™ · trademarks