Mitos

Mitos

Isolated, forkable computers for your AI agents.
Millisecond microVM sandbox forking on Kubernetes.

Website  ·  GitHub  ·  Quickstart  ·  Discord

Mitos SDK: create a microVM sandbox, run code, and fork it into isolated parallel attempts

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 stays import mitos), set MITOS_API_KEY from mitos.run, and the SDK talks to the hosted endpoint. No Kubernetes required. The same code runs on your own cluster by setting MITOS_BASE_URL.

Why Mitos

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