Skip to main content

Prerequisites

  • Go 1.26+ (install Go)
  • A Linux server with KVM support (for microVM mode)

Build from Source

The binary is written to bin/athanor.

Cross-Compile for Linux

If you’re building on macOS for a Linux server:
Produces bin/athanor-linux-amd64 and bin/athanor-linux-arm64.

Deploy to a Server

Copy the binary to your server:

Server Requirements

Your server needs:

Automated Setup

The repo includes a setup script that installs all dependencies:
This installs:
  • cloud-hypervisor, the VMM
  • virtiofsd, the virtiofs daemon for workspace sharing
  • Go, for running workflows that need it
  • Network bridge + NAT for VM internet access
  • Rootfs image (Ubuntu 24.04 with Go, git, SSH)

Manual Setup

If you prefer to set things up yourself:
  1. Install cloud-hypervisor:
  1. Install virtiofsd:
  1. Set up the network bridge:
  1. Copy the host kernel for VMs:
  1. Build the rootfs:
  1. Generate an SSH key pair for VM access:

Systemd Service

Install the service file:
Create the config file at /etc/athanor/env:
Start the service:

Run Tests