omar espinosa , index
ES , Read in Spanish

[ rust · microvms ]

Quoro

VMs and app deploys in one binary, built for agents to operate.

Rust, one microVM per app on Cloud Hypervisor, grants that expire and a hash-chained audit log.

source: github.com/OmarAlex24/quoro

primaryprimarycontrol planecontrol planechange logchange lognodes dial outnodenodeone microVM per appmicroVMs

A self-hosted hypervisor and deploy platform in one Rust binary. Quoro runs one microVM per app on Cloud Hypervisor and KVM, and deploys, exposes and observes those apps from the same interface: domains, TLS and logs included. It is built so an AI agent can operate it as an ordinary, audited operator, not as a script with root.

Two tools where there should be one

Self-hosting both virtual machines and app deploys today means stacking two tools: a hypervisor, then a VM inside it running a PaaS for the apps. Two dashboards, two mental models, two upgrade paths, and neither designed with agents in mind. The tools that cover both layers are Kubernetes-heavy and aimed at hosting providers, not at one person with a few machines.

Quoro is for that person: a homelab behind NAT that wants deploys without opening ports, a small team on its own VPS that wants a Railway-like experience on hardware it controls, and teams already running agents that want them to touch infrastructure with scoped permissions and a full audit trail.

One binary, three roles

The same quoro binary runs on every machine. A node runs microVMs; one node holds the primary status and runs the control plane (API, MCP server, scheduler, embedded panel, state). A witness only breaks ties and stores no data. An edge takes public traffic. Nodes always dial out to the primary over a long-lived WebSocket; nothing dials into a node, so the control plane can sit behind NAT and nodes work from networks that accept no inbound connections.

Humans and agents share one service layer
  1. Panel · API · CLI · MCP humans and agents
  2. Service layer unprivileged, signs desired state
  3. Change log hash-chained, one entry per change
  1. Node agent dials out
  2. Node agent reconciles locally
  3. Node agent restarts crashed VMs
  1. One microVM per app a VMM process each

Each node agent keeps its desired state locally, reconciles it continuously and restarts crashed VMs on its own, so apps keep running while the control plane is unreachable. The control plane runs as an unprivileged user that signs desired state and never touches a hypervisor, a bridge or a firewall; the node agent is the only privileged process.

State is a hash-chained log

Every state change is one numbered entry in a change log, appended in the same SQLite transaction that updates the tables. The tables are derived: they can be rebuilt by replaying the log. A replica asks for "everything after N" and verifies each hash before applying it, stopping at the first mismatch. One mechanism covers replication, tamper evidence and recovery from a bug in a table's logic: fix the code, replay the log.

Agents act through grants

Humans and agents are separate identities. An agent key authorizes nothing by itself; it is exchanged for a short-lived access token, and every request is checked against the agent's active grants at that moment, so revoking a grant locks the agent out on its next call. A grant is scopes, a resource selector, a TTL and optional max uses. Destructive scopes need a human approval in the panel; a handful of scopes (enrolling nodes, writing grants, deciding approvals) can never be granted to an agent at all, so an agent cannot widen its own power.

The loop that wakes an agent
  1. Health check fails app.down on a node
  2. Incident opens
  3. Signed webhook wakes the agent runner
  4. Incident grant only the affected app, expires with it
  5. Agent acts over MCP justification required
  6. Audit record refusals included

Every mutating MCP tool takes a required justification. The audit log is its own append-only hash chain and records who acted, on whose behalf, which event woke it, what it called, the result and its reason. Refusals are recorded too: a denied restart is as interesting as a granted one.

Decisions I care about

  • SQLite, not a database server. "One binary, one command" rules one out, and there is a single writer anyway.
  • A VMM process per microVM. Quoro never shares an address space with a guest, so a compromised app cannot reach its memory.
  • Uncertain is not expired. For high availability, a node that cannot reach the authority keeps running what it runs and starts nothing new; only a lease that actually expires makes it fence itself. Conflating the two means fencing on every network blip, or running a stateful app twice.
  • ADRs are law. Every accepted decision is a numbered ADR, and changing one takes a new one. The repo has more than 280.

Status

An experimental preview under AGPL-3.0. v0.3.0 shipped on 9 November 2026: a workspace of 12 crates, with contracts, deploys, the agent loop, the panel, stateless high availability and encrypted backups done and demoed. Witnesses, leases and warm replication are in progress. Each milestone closes with a demo on a lab and no performance figures are published yet, because the lab runs nested virtualization and is not valid for benchmarks.

Stack Rust · Tokio · Axum · SQLite (sqlx) · Cloud Hypervisor · KVM · WireGuard · nftables · rmcp · React · TanStack · rust-embed