AHVM

Give your agents a machine of their own.

AHVM runs Linux microVMs on a server you control. Each one keeps its disk, its shell sessions and, when it stops, its memory. Point a coding agent at it, close your laptop, and come back to the same machine.

curl -fsSL https://ahvm.app/install.sh | bash

Client for macOS and Linux. Your server needs Linux x86_64 with KVM. Read the docs

Opening an Omarchy desktop VM with ahvm desktop omarchy, then back to the CLI. Screen recording, played at 2× speed.

It’s a CLI, and an HTTP API behind it.

These are the commands you’ll use most. Scripts get plain output and exit codes; people get a shell.

ahvm create dev
Makes a new machine from the Ubuntu development image and opens Bash inside it, as the ahvm user in /workspace. Add --cpus and --memory to size it.
ahvm shell dev
Attaches to a persistent terminal. Ctrl ] detaches and leaves everything running, including an agent halfway through a task.
ahvm exec dev -- …
Runs one command and returns its output and exit code, ready for scripts and CI.
ahvm files put / get
Streams files in and out with no fixed size cap. An upload replaces the file in the guest only once it has fully arrived.
ahvm snapshot create
Saves disk and memory before you try something risky. Restore it later as a new machine.
ahvm desktop omarchy
Opens a full desktop VM in a native viewer, like the recording above. Pick a resolution with --resolution 1080p.
ahvm use home
Switches between your own servers and AHVM Cloud. Machine names belong to their connection and are never looked up anywhere else.

Each machine starts with Ubuntu, Node.js LTS, Bun, Python, Git, build tools, Claude Code, Codex, OpenCode and Pi. Sign in with your own provider account or API key.

What happens when nobody is typing

Idle machines hand their resources back on their own. Nothing is deleted unless you delete it.

After 30 seconds of quietThe machine pauses. RAM and disk stay resident, and the next command resumes it automatically.
After an hour idleIt stops. RAM is released; the disk and a memory checkpoint are kept. ahvm start dev brings it back where it was.
While a shell is connectedIt stays awake, even if the agent inside hasn’t printed anything for a while.

These are the defaults; operators can change them. Local snapshots are not off-host backups. Servers set up for replicated storage can keep disks durable elsewhere.

Install

The client needs curl, gzip and Python 3. Or use Homebrew: brew install mariobm/ahvm/ahvm.

The server needs Linux x86_64 with KVM, enabled Landlock ABI 6 (Linux 6.12+), systemd 254+, cgroup v2 and glibc 2.35+. There’s no domain or open port to set up; the client talks to it over SSH and the admin token stays on the server.

# On your Mac or Linux machine
curl -fsSL https://ahvm.app/install.sh | bash
# Install the server on a Linux box you can SSH into
ahvm host add home --ssh root@YOUR_IP --install
# Make a machine; Bash opens inside it
ahvm create dev --cpus 2 --memory 4096

Pricing

Run it yourself, wait for us to host it, or have us set it up for your team.

Self-hosted

€0

The software, on your own hardware.

  • CLI and HTTP API
  • Ubuntu workspaces ready for coding agents
  • Persistent sessions and snapshots

MIT licensed. No revenue cap. License terms. Hosting and AI usage are separate.

Install AHVM

AHVM Cloud

Not yet

Our servers, your CLI. In an invitation-only pilot.

  • Linux workspaces hosted by AHVM
  • The same CLI and AI tools
  • Bring your own AI provider

Pricing and allowances will be announced before launch.

Join the waitlist

Team pilot

€299 a month, from

A dedicated host, set up with you.

  • Host setup and configuration
  • Onboarding for your first workflow
  • Updates and direct email support

Management fee only. Infrastructure, AI usage and taxes are extra. Three places.

Email about a pilot
License and pilot details

Self-hosted. You manage hosting, updates and backups. The software is MIT licensed, including for commercial use. Read the full license terms.

Team pilot. Scope, capacity, onboarding costs and duration are agreed before you start. Fees cover services; the software remains MIT licensed.

Cloud. Pricing, resource allowances and availability will be announced before launch. AI model usage is separate and billed by your provider.

AHVM Cloud waitlist

One email when it opens. Nothing else.

Something else in mind? sales@ahvm.app

Questions

Is this a hosted service?

AHVM is available to self-host today. AHVM Cloud is our upcoming hosted service for developers who want to use our infrastructure, with an invitation-only pilot underway. Pricing and resource allowances will be announced before launch. Teams can also discuss a separate paid pilot for dedicated host setup and hands-on support.

Can I run my coding agent inside?

Yes. New sandboxes include Ubuntu, Node.js LTS, Bun, Python, Git, Claude Code, Codex, OpenCode and Pi. Sign in with your own provider account or API key.

What happens when a sandbox stops?

A normal stop saves a local disk and memory snapshot for the next start. Idle-stop is automatic; starting again is explicit. Worker recovery uses the latest saved checkpoint, not unsaved RAM. Local snapshots are not off-host backups.

Does AHVM support Firecracker or macOS?

The current runtime uses libkrucible, our libkrun fork. The qualified server bundle is Linux x86_64/KVM. Standalone clients are available for Apple Silicon Macs and Linux x86_64. A macOS server package and a Firecracker backend are not included.

Is it ready for production?

This is an early release for evaluation on your own hardware. We’re improving the development experience before the first stable release. It is not a production security sign-off for hostile multi-tenant workloads.