Skip to content

nexus

MicroVM sandboxes for agentic parallel development — each task gets its own isolated Linux kernel.

nexus runs workloads in microVM sandboxes: real Linux VMs with their own kernel, disk image, network namespace, and an in-guest agent reachable over vsock. The CLI and the MCP server expose the same primitives, so an orchestrator drives nexus the same way you do.

nexus run --memory 2048 nexus-base:20260807 -- go test ./...

Capabilities

QuickstartFirst sandbox in minutes
AI agentsMCP server and per-task sandbox orchestration
Sandbox modelLifecycle states and primitives
Snapshots and forkCoW branching from a running VM
Execution substrateHow the in-guest agent works
Building imagesIn-VM image builds with buildkitd
Docker in sandboxCompose stacks inside a sandbox
Parallel dev flowN sandboxes in parallel, worktree-per-task
Egress and perimeterMITM proxy and host allowlists
Resource lifecycleReaping stale sandboxes
Accepted risksKnown gaps and threat model
CLI referenceAll commands and flags

Why nexus

  • Hardware isolation. A sandbox is a VM, not a namespace on the host kernel. A compromised agent is inside a different machine.
  • Fork and restore. fork and restore produce running children from a copy-on-write snapshot — each copy pays disk deltas rather than a full boot.
  • Your real working tree. Mount a host path into the sandbox as a named disk at create time — dirty files, untracked files, and unpushed commits included — without a clean-clone step. not built
  • Credentials stay on the host. Egress is default-deny; the credential broker swaps a placeholder for the real secret at the perimeter — no real token is ever present inside a guest.
  • Local and self-contained. No daemon, no hosted control plane, no account. Linux with KVM. macOS backlogged — the driver seam exists; the second implementation does not.

How to read this site

These pages describe the nexus we are building — the target — not a report of what is currently working. Where the implementation has not caught up, the text says so inline with a marker:

MarkerMeaning
not builtIn the target design. No implementation exists yet.
partialImplemented, but diverges from what this page describes.
backloggedDeliberately deferred.

No marker means built and matching this description. The marked set is the reconciliation worklist: agree the target first, then close the markers.

CLI surface reference

These pages introduce the design and do not document every flag. The exact current surface is generated from source with scripts/docs/extract-surface.sh, which reads the code and cannot go stale.