Skip to content

Guides

Guides

Conceptual and operational guides for building, securing, and operating mvm sandboxes.

Guides explain how a part of mvm works and what tradeoffs to make when you wire it into a real workflow. Use tutorials when you want a linear task walkthrough. Use guides when you need a durable operating model, policy decision, or troubleshooting path.

SectionBest forShape
TutorialsCompleting one workflow end to end.Step-by-step, task-focused, narrow scope.
GuidesUnderstanding and operating a capability.Concepts, policies, limits, and production decisions.
ReferenceLooking up exact commands, flags, paths, and constraints.Exhaustive facts, not narrative.
GuideUse it when
Builder VMYou need Linux builds from a secure builder boundary.
Machine use casesYou want to choose the right mvmctl machine workflow before reading internals.
Machine limitationsYou need the explicit limits for machine networking, volumes, macOS, GPU, and architecture support.
Building MicroVM ImagesYou need to turn a flake and manifest into a bootable image.
Nix and OCIYou need the Nix-first model plus OCI compatibility rules.
Policy ProfilesYou need repeatable security defaults for sandbox classes.
Secrets and CredentialsYou need to pass sensitive values without widening exposure.
Network Egress PolicyYou need explicit outbound network policy and auditability.
Persistent WorkspacesYou need state that survives across sandbox sessions.
Audit and ReceiptsYou need evidence for what built, ran, changed, and exited.

Start with AI Agent Integration for the system shape, then use Agent Tool Contract for the model-facing request and response boundary. Keep tool calls narrow: explicit files, explicit argv, explicit timeouts, explicit egress, and explicit retention.