We have a Go-based AI agent platform that generates, compiles, and deploys agent binaries. The current architecture on Fly.io uses two distinct capabilities:
- Ephemeral builder —
DispatchBuildspins up a Fly Machine via the Machines API (api.machines.dev), it builds the Go binary, then the machine self-destructs - Persistent deploy — The compiled binary runs as a long-lived Fly app with
auto_stop_machines/auto_start_machines
This document evaluates Railway, Koyeb, and Northflank as alternative deployment targets.