Fleet (anvia)
BetaOpen SourceApache-2.0Apache-2.0 Rust microVM runtime for coding agents on one Mac or Linux host: each task gets its own libkrun or Firecracker VM with copy-on-write workspace forks, snapshots, host-side credential proxying and deny-by-default egress, driven by a CLI, MCP server and HTTP API.
- Boot rank
- #24 / 119
- 81% of published starts are slower
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Nothing survives
- Resume: There is no pause or resume command: a snapshot or fork is how work is resumed. Warm pools are documented to target under 20 ms checkout on hot snapshots, with cold boot claimed under 100 ms, and Firecracker snapshots include live memory so a fork resumes mid-process; the figures are the vendor's own and are not independently benchmarked.
Overview
Fleet is a compact Rust runtime that tries to give a local coding agent the isolation of a VM with the ergonomics of a container. Every sandbox is a real microVM: libkrun on Apple Hypervisor.framework on Apple Silicon, and Firecracker or libkrun on Linux KVM, with no root and no always-on daemon. The workspace is the part agents feel: each sandbox gets a copy-on-write branch of the project, so several agents can edit at once and nothing lands on the host until it is reviewed with fleet diff. On top of that sit content-addressed snapshots, forks, warm pools, streaming exec, an interactive PTY, file sync, per-sandbox CPU, memory, disk and TTL limits, and a reaper that enforces them. The security model is documented as invariants rather than marketing: secrets never enter the guest, egress is deny-by-default after host-side DNS resolution with SSRF checks, and the host workspace is never mounted read-write by default. Interfaces cover a CLI with --json and NDJSON on every command, an MCP server, an HTTP/SSE/WebSocket API with an OpenAPI 3.1 spec, and the embeddable fleet-engine crate. The caveats start with maturity and a sharp edge: the project is v0.1, four releases were published on the day this entry was added, the default backend is a mock that boots no VMs until FLEET_DRIVER is set, and the README warns that interfaces may change. It is explicitly a single-host runtime, not a multi-tenant scheduler, and Windows hosts are unsupported. Treat it as a promising local boundary with an unusually clear security contract.
Key capabilities
- One hardware-isolated microVM per agent task
- libkrun on macOS and Firecracker or libkrun on Linux KVM
- Copy-on-write workspace forks, so parallel agents never touch the host repo
- Instant snapshots and fan-out forks; Firecracker snapshots keep live memory
- Secrets never enter the VM: placeholders are swapped host-side
- Deny-by-default egress with post-DNS SSRF and metadata blocking
- Streaming exec, interactive PTY and file read/write/sync
- CLI with --json and NDJSON, plus an MCP server and HTTP API
- Per-sandbox CPU, memory, disk, TTL and idle-time limits with a reaper
- Embeddable Rust fleet-engine crate
- Known limits: v0.1, mock backend by default, single host, no Windows
fleet-quickstart.sh
# Install the CLI, then select a real backend (macOS example)
curl -fsSL https://raw.githubusercontent.com/anvia-hq/fleet/main/scripts/install.sh | sh
export FLEET_DRIVER=libkrun
fleet image pull alpine:3.20
# Give an agent its own copy of the project and run a command
fleet create --id agent-1 --workspace-dir . --image alpine:3.20
fleet exec agent-1 -- make test
# Snapshot, branch and compare before anything lands
fleet snapshot create agent-1 --id before-refactor
fleet fork before-refactor --id agent-2
fleet diff agent-2Similar alternatives
Technical specifications
- Runtime architecture
- Firecracker MicroVM
- Runtime notes
- libkrun on Apple Hypervisor.framework on Apple Silicon macOS, with APFS clonefile copy-on-write
- Firecracker or libkrun on Linux KVM, with reflink or overlayfs copy-on-write
- Each sandbox runs in its own fleet-shim process with no root and no system daemon
- The default backend is a mock that does not boot VMs until FLEET_DRIVER selects libkrun or firecracker
- Cold-start boot time
- Under 100 ms cold boot claimed by the project, with warm pools targeting under 20 ms checkout; not independently benchmarked.
- Max vCPU
- Not published as a ceiling; fleet create takes --cpu and each sandbox is a whole microVM sized by the host.
- Max memory
- Not published as a ceiling; fleet create takes --mem (2,048 in the starter-image example) and each sandbox is a whole microVM.
- Storage model
- Workspace branches are copy-on-write on APFS clonefile or Linux reflink/overlayfs; OCI images are cached in FLEET_HOME and snapshots are stored content-addressed in the same root.
- Network isolation
- Egress is deny-by-default with an explicit domain allowlist. DNS is resolved on the host inside fleet-net, and connections are rejected when the resolved address falls in loopback, RFC 1918 private ranges, link-local or cloud metadata, or CGNAT unless an operator override is configured; the check runs at connection time to defeat DNS rebinding. The guest only ever sees opaque placeholders, and real credentials are substituted host-side by the proxy for allowlisted destinations. Each microVM runs in its own fleet-shim process with seccomp and Landlock applied on Linux.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Supported
- Instant forking
- Supported
- GPU acceleration
- Not supported
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Not supported
- MCP protocol server
- Supported
- REST API & SDKs
- Supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Nothing survives
- Resume latency
- There is no pause or resume command: a snapshot or fork is how work is resumed. Warm pools are documented to target under 20 ms checkout on hot snapshots, with cold boot claimed under 100 ms, and Firecracker snapshots include live memory so a fork resumes mid-process; the figures are the vendor's own and are not independently benchmarked.
- Session limit
- Every ephemeral sandbox gets a default TTL and idle timeout in SQLite, which the operator can extend up to a year, after which the reaper stops and removes it; snapshots and workspace forks persist until deleted.
- SDKs
- Rust
Pricing model
Pending AuditRate read 29 Nov 2026.
Apache-2.0 with no account, subscription or hosted tier: release archives and the installer put the CLI, shim, server and MCP binaries on a Mac or Linux machine you own, so a sandbox costs the hardware it runs on. The Firecracker binary, kernel and rootfs are separate prerequisites. No plan, rate card or paid edition is published, so the absence of a vendor charge is Pending audit rather than a published commitment.