AI Agents: Please read AGENTS.md and GEMINI.md for core security mandates and architectural patterns before making changes.
Microvisor is a high-density, ultra-low latency private cloud orchestration plane. It treats standard Linux hosts as programmable hardware multiplexers, providing hardware-enforced isolation with "Layer 1" performance for ephemeral workloads.
The goal is to deliver a bare-metal orchestrator that leverages Firecracker, KVM, and native Linux kernel primitives to achieve deterministic performance and strict multi-tenant isolation.
- Cold Boot: < 200 ms
- Snapshot Resume: < 10 ms
- vCPU KVM_RUN Re-entry: < 5 µs
- eBPF NAT Overhead: < 200 ns
- Hypervisor: Firecracker (KVM) launched via the
jailer. - Control Plane: Asynchronous Rust daemon built on
tokio, interacting directly with/dev/kvmandioctlboundaries. - Compute Isolation: 1:1 mapping of guest vCPUs to physical physical cores using cgroups v2 (
cpuset). - Networking: Zero-shared-state routing via Point-to-Point TAPs and stateless eBPF NAT rewrites (
tchooks). No host bridges. - Storage: Device Mapper Thin Provisioning (
dm-thin) for instant CoW snapshots, opened withO_DIRECTand submitted viaio_uring.
control-plane/: The Rust orchestrator implementation.specs/: Rust-specific technical specifications (Authoritative).src/: Core logic for VMM management, storage, networking, and observability.
docs/: Strategic project documentation.001-prd.md: Product Requirements & Operator Stories.002-tad.md: Technical Architecture & Kernel Primitives.003-expert-review.md: SME architectural audit findings.
constraints/: Formal security and resource-fencing rules.ADRs/: Architecture Decision Records capturing key design trade-offs.captains-log/: Session-by-session history of technical decisions and progress.scripts/: Retired bash prototypes (hermes,steel) retained for reference.diagrams/: Mermaid-based architecture and state machine visualizations.tests/: End-to-end and integration tests (e.g., browser verification).
- Language: Rust
- Runtime:
tokio - Virtualization: Firecracker, KVM
- Kernel Primitives: eBPF (
libbpf-rs), cgroups v2, Device Mapper,io_uring, NUMA. - Guest OS: Modular (Debian, Alpine, Wolfi).
- Review the Product Requirements (PRD) for the "Why".
- Read the Technical Architecture (TAD) for the "How".
- Consult the Control Plane Specs for implementation details.
- Check AGENTS.md if you are an AI assistant.