Your computers, as a GitHub Actions runner fleet.
Baremetal turns the Linux, macOS and Windows machines you already own into an autoscaling pool of ephemeral self-hosted runners: several jobs at once per machine, scale to zero when idle, no Kubernetes.
Pre-release (v0.x). The end-to-end tests run against a fake GitHub service; behaviour against real GitHub is verified only by an opt-in procedure. Try it on a private test repository first.
What it does
Ephemeral runners
Every runner registers just-in-time, runs exactly one job and is removed. Nothing is reused.
Resource-aware
Hard per-runner CPU, memory and disk reservations. It never oversubscribes a machine; extra jobs wait in GitHub's queue.
Official parts
Built on the official actions/scaleset SDK and the official actions/runner, checksum-verified.
One binary
Standalone on one machine, or a controller with remote agents over mutual TLS that dial out (no inbound ports).
Several organizations
The same machines run the CI of several GitHub organizations or repositories. Capacity is shared fairly: a burst in one organization never starves the others.
Supported platforms
| Platform | Executors | Validation |
|---|---|---|
| Linux amd64 | native, user, container | CI native tests |
| Linux arm64 | native, user, container | CI native tests (arm64 runner) |
| macOS arm64 | native, user | Development machine, scheduled CI |
| macOS amd64 | native, user | Compiled only |
| Windows amd64 | native | CI native tests |
| Windows arm64 | native | Compiled only |
GitHub.com only. “Compiled only” means it cross-compiles; it has not been run there.
Install
The installers verify the SHA-256 checksum of the download and refuse to continue on a mismatch. They install to a directory you own and never start a service.
Linux and macOS
curl -fsSL https://baremetal.tools/install.sh | sh
Windows (PowerShell)
irm https://baremetal.tools/install.ps1 | iex
Read a script before piping it to a shell, and see exactly what changes on your system in the
installation guide.
Prefer a manual install? Download an archive and checksums.txt from
GitHub Releases.
Releases are not code-signed or notarized; the checksum published with each release is the integrity guarantee.
Quick start
# set up this machine for one repository (asks for a token, installs and starts a service)
baremetal init --github https://github.com/YOU/YOUR-REPO
# use the runs-on value it prints
# jobs:
# build:
# runs-on: baremetal-linux
# serve more organizations with the same machines
baremetal init --add --github https://github.com/OTHER-ORG
# watch it work
baremetal status
Add more machines to the fleet with a one-time token:
baremetal nodes invite on the controller, then baremetal join --token … on the new machine.
Walk-through with a Mac mini, a Linux box and a Windows box:
quick start guide.
Architecture
GitHub scale set ──messages──▶ controller ──schedule──▶ agent ──▶ ephemeral runner
(TotalAssignedJobs) (SQLite state) (per machine) (one job)
- The controller registers one scale set per pool (and per organization when it serves several) and listens to GitHub's message session.
TotalAssignedJobsis the demand signal. The scheduler places runners on nodes with enough free resources and reserves them atomically.- A just-in-time configuration is generated; the agent starts the official runner from a verified, private copy.
- When the runner exits its process tree is killed, its directory deleted, its resources released and its registration reconciled.
The same controller and agent code serves standalone and distributed modes; only the transport differs. Details in the architecture document.
Executors compared
| Executor | Platforms | Runs jobs as | Limits enforced | Security boundary |
|---|---|---|---|---|
| native | Linux, macOS, Windows | the agent's user | scheduling only | None |
| user | Linux, macOS | a dedicated unprivileged account | scheduling only | File permissions only |
| container | Linux | unprivileged user in a container | CPU, memory, processes | Shared-kernel container, not a VM |
| VM / microVM | - | - | - | Not implemented in V1 |
“Ephemeral runner” means ephemeral registration, not an ephemeral machine. See executors for macOS and Windows notes.
Security considerations
Do not run workflows from public repositories (pull requests from strangers) on native runners. Anyone who can open a pull request may be able to run code on your machine, with access to your LAN and your files.
- Native and user executors are not sandboxes; use them for trusted workloads.
- GitHub credentials stay on the controller; agents only receive a short-lived, single-use runner configuration.
- The controller binds to loopback by default; agents need no inbound ports.
- No remote shell: the controller can only start and stop runners.
Read the security policy for the threat model, platform risks and recommended GitHub settings.
Documentation
License
Baremetal is open source under the MIT License. Third-party notices are listed in THIRD_PARTY_NOTICES.