Loading…

Fly.io
Global application platform enabling developers to deploy and scale applications with edge computing capabilities.
- 215 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
Holding the Door for Agents
Agent use is surging, with 55% of Fly.io deployments now performed by agents and Cursor’s agent users outnumbering autocomplete users 2:1. Fly.io is adapting by making its platform agent-friendly, starting with support for auth.md, an open spec that lets agents sign up without human UI interaction. Agents can also pay for resources via account top-up over the Machine Payments Protocol or through a Link connector that issues single-use virtual cards. A unified MCP server gives agents access to apps, Machines, volumes, secrets, and Managed Postgres, while the entire documentation is optimized for agent consumption. The company sees this as enabling both non-technical users and experienced engineers to build with greater autonomy.
Petsem: Sometimes Dead Is Better
Fly.io replaced HashiCorp Vault with a custom secrets manager called Petsem to address performance and reliability issues at scale. Vault’s Raft-based cluster required low-latency connections, causing a p99 of 10 seconds for app secrets reads during boot and a hard dependency on the IAD region. Petsem uses a write master in IAD with read replicas across regions, dropping p99 from 10 seconds to 300ms. It enforces scoped access via macaroons: a worker must present its credential and a third-party discharge token verifying it hosts that app. Petsem also supports Fly KMS for encrypt, decrypt, sign, and verify operations that never expose the secret to the app.
Throwing Out The Phonebook
Fly.io rebuilt 6PN, the private network between Fly Machines, by replacing a per-host eBPF phonebook of hundreds of thousands of migrated-Machine entries with a lazy-lookup design. The old system required every host to hold a real-time copy of every Machine’s location, leading to synchronization failures and undebuggable address translation. The new design uses VXLAN on top of WireGuard: when a host encounters an unknown 6PN address, VXLAN emits a netlink event, and s6pnforwarderd queries local Corrosion SQLite to write a single route. The routing table now holds 100–200 entries per host instead of hundreds of thousands. The first packet to a new destination incurs a lookup delay of under 100ms, but subsequent packets use the cached route. The rollout ran both systems in parallel, with asymmetric routing, until every host was upgraded.
Slack Bots on Sprites: OAuth is Easy Now
Building a Slack bot with OAuth usually requires setting up a server with a public URL, handling callbacks, storing tokens, and maintaining them across restarts. Sprites simplifies this by providing an internet-accessible environment with a persistent filesystem, eliminating the need for Ngrok or separate hosting. To create the bot, users initialize npm, install @slack/bolt and express, and build an OAuth handler for Slack’s callback that stores tokens to the filesystem. The bot is registered as a Sprite service with sprite-env services create , which enables auto-start on HTTP requests, automatic request routing to port 8080, and persistent registration across hibernations. When idle, the Sprite hibernates to save costs and wakes in under a second, and users can create a checkpoint snapshot for easy restoration.
Run Paperclip AI on a Sprite
Paperclip is an open-source orchestration platform for creating teams of AI agents that operate like a company with goals and autonomous execution. This guide shows how to run it on a Sprite, a hardware-isolated Linux environment with 100GB storage, a TLS URL, and a pause/resume lifecycle that charges only for compute in use. Setup requires creating a Sprite, running npx paperclipai onboard -y to accept defaults like embedded PostgreSQL and local storage, then editing the config to bind to 0.0.0.0 in authenticated mode. The Sprite’s hostname must be added to Paperclip’s allowlist with npx paperclipai allowed-hostname to avoid an error, and the service registered via sprite-env services create before accessing the dashboard through the Sprite’s URL. Sprites provide checkpoints for rollback, automatic pausing when idle, hardware isolation to contain agent actions, and network policy to restrict HTTP access to allowed domains.
Run OpenClaw (Formerly Moltbot and Clawdbot) in a Sprite
OpenClaw is an open-source AI assistant that connects to messaging platforms like WhatsApp and Telegram. Running it with generous permissions is risky, so the post describes deploying it inside a Sprite, a hardware-isolated Linux computer that sleeps when idle and wakes on request. The tutorial walks through creating a Sprite using the Sprites CLI, installing OpenClaw with its install script, registering the Gateway as a Sprite service that auto-starts on HTTP requests, and approving device pairing from the console. After pairing, users access the dashboard via the Sprite URL and token, where they can start chatting with OpenClaw and ask it to set up integrations. As a bonus, the post instructs OpenClaw to create a Sprite skill by reading documentation files, enabling it to manage services, checkpoints, and network policy.
Run Claude Code From Your Phone With Sprites
Sprites are on-demand, hardware-isolated Linux computers that start in under a second, persist code, packages, and state between sessions, and let you checkpoint the entire environment at any time. The sprite-mobile tool provides a chat UI for issuing commands to Claude Code in YOLO mode from a phone over Tailscale, enabling unrestricted and aggressive experimentation. Setup requires one command to create a Sprite and a one-line script that configures Claude CLI, GitHub CLI, Fly.io CLI, Sprites CLI, and Tailscale, sets up HTTPS via Tailscale Serve, and starts Tailnet Gate for waking suspended Sprites. After setup, obtain the public URL with sprite url update –auth public -s cheese_sandwich and open it in a Tailscale-connected phone’s browser. Sprites automatically sleep after 30 seconds of inactivity, wake in under a second, and incur no charges when idle.
Context Engineering Is Just Writing Things Down
Context engineering is the practice of managing agent memory through curated files on disk, using hybrid search (BM25 and vector search with 70/30 weighting and diversity re-ranking) backed by local SQLite. The post argues work quality depends more on project context than model capability, advocating four mechanisms in Sprite: CLAUDE.md, Skills, Hooks, and Checkpoints. Daily logs are append-only and decay over time, while MEMORY.md only changes when deliberately promoted, representing a stream versus curated memory. The post illustrates context engineering with an Alibi excuse-as-a-service API built on Bun, Hono, and Postgres, where CLAUDE.md defines stack, commands, naming schemes, error format, logging, and test locations. Therefore, an agent can correctly fix a bug by sampling without replacement and write a regression test using bun test because the persistent context provides project knowledge.
How to Run Untrusted Code Safely
Running untrusted code requires stronger isolation than containers offer because containers share the host kernel and remain vulnerable to escapes, a threat classified by NIST SP 800-190 as critical and by MITRE ATT&CK as T1611. Network egress control must be allowlist-based rather than denylist-based, as code without filesystem access can still exfiltrate data or download payloads to attacker servers. Sprites provide hardware-isolated sandboxes with network policies enforced through an external API that code cannot modify, even with root access. They support checkpoint-based rollback, pre-installed runtimes for Python, Node, Ruby, Rust, Go, Java, Elixir, Bun, and Deno, and automatically sleep when idle. The post demonstrates creating a code-runner Sprite, applying a deny-all network policy, executing code via subprocess, and optionally permitting specific domains like api.openai.com while blocking all others.
Agent Swarms on Sprites
Running multiple AI agents in a swarm on a traditional single machine creates conflicts over dependencies, file systems, and network access. Sprites addresses this by giving each agent its own fully isolated virtual machine with independent filesystems and network policies. Checkpointing allows any agent’s environment to be rolled back to an earlier state in seconds, making speculative execution practical. Each Sprite has configurable network policies that deny access to unauthorized domains at the DNS level, preventing data leaks. Environments pause when idle and resume on demand, so the entire swarm survives closing the laptop; the orchestrator creates workers, assigns tasks, and collects results through HTTP endpoints, shared databases, or direct file reads from each worker’s console.
Closing the Loop: The Missing Ingredient in Agentic Development
AI code agents that require constant permission prompts create a new form of friction similar to old copy-paste workflows. The Sprite environment solves this by giving agents unrestricted access to a fully isolated computer where they can install dependencies, start servers, and test endpoints without human intervention. Preinstalled tools such as test runners, service logs at known paths, and checkpoint-based rollback enable agents to write code, run it, observe failures, and fix issues autonomously. Additional tools like curl, jq, sqlite3, and network debugging utilities support API testing, database inspection, and network troubleshooting. The result is a tight closed loop where the agent can build, test, and ship without prompting the developer, turning the developer into the idea person rather than middleware.
Run a Local LLM on a CPU With BitNet and a Sprite
Microsoft’s BitNet uses 1.58-bit quantization and ternary weights to run a 2.4 billion parameter model on a CPU, fitting in 1.1GB of RAM and achieving 50 tokens per second. The author deploys this model on a Sprite, a hardware-isolated compute unit that provides a URL with TLS, sleeps when idle, and wakes on request with a 1.2-second model load time. A Python HTTP server wraps llama-cli as a subprocess, exposing an OpenAI-compatible API at /v1/chat/completions, a status page, and a self-addressed client at /client.py. Checkpoints capture the entire environment atomically, allowing safe rollback when experimenting with different models, kernel parameters, or prompt formats. The Sprite registers as a service on port 8080, making the inference endpoint available to any other Sprite in the account without infrastructure changes.
Make Computers Make Computers
Sprites are isolated virtual computers that can create and manage other Sprites via an API, and Claude can use that API when authorized by a token from sprites.dev/account. This enables automated workflows like central OAuth token management, where an Auth Sprite handles token refresh and storage for other Sprites. For CI, an orchestrator Sprite spins up a worker for each test file, locks its network to only pypi and github, runs the test, collects results, and destroys the worker. Preview environments are created per pull request, with each PR getting its own Sprite that is redeployed on updates and destroyed on merge. Additional use cases include agent delegation with network-policy-locked workers, running untrusted code in a deny-all network Sprite, and team provisioning via a provisioner Sprite that creates and configures new Sprites with checkpoints enabling fast restoration.
I Build Everything In Sprites Now
The author recounts the chaos of local development across multiple projects, where version managers (asdf, nvm), separate databases (Postgres, MySQL), and conflicting environment variables cause constant friction. To solve this, they use Sprites, a Fly.io product that provides each project its own persistent, hardware-isolated Linux computer with 100 GB storage, incurring cost only when active. Each Sprite has dedicated versions, services, env vars, and ports, waking from sleep in seconds and avoiding all collisions. Sprites expose real public URLs with automatic TLS, eliminating the need for ngrok or tunneling for OAuth callbacks and webhooks. The author also values checkpoint snapshots for safe experimentation and the ability to maintain specialist coding agents per project, each with its own claude.md and skills, without context pollution.
Well, That Wasn't Fun: October 16 '26
Fly.io responded to CVE-2026-99999, a Linux kernel bug in IPv4 checksum-offload metadata validation, by patching and rebooting its entire fleet over 10 hours on October 16, 2026. The bug allowed a guest to rewrite two bytes of an IPv4 header after the host applied routing and firewall rules, enabling firewall bypass and an out-of-bounds read of up to 32 bytes of host memory. The team split each region into waves so no Managed Postgres cluster had both nodes rebooted simultaneously, with the largest region requiring 17 waves. Some hosts failed to return cleanly, including a chassis in gru that lost its power supply, delaying recovery for those machines until October 20. The post-mortem led to a new Incident Communications Plan that shifts communication decisions from incident responders to the exec team.
Feng Shui for Robots: The Fly MCP Server
In October 2023 AI agents created 0.1% of databases on Neon; by October 2025 they created 80%, and at Fly.io agents have overtaken humans as the most common customer species. Fly.io built mcp.fly.io, an MCP server that connects agents to Sprites for sandboxed development and to Fly Machines for production, providing a path from prototype to scalable deployment. Sprites are real Linux machines with persistent disk, service management, HTTPS URLs, and filesystem checkpoints that allow agents to install packages, run servers, and roll back after failures, and they sleep when idle. When a project needs always-on availability, the agent can migrate it from a Sprite to a Fly Machine using the same MCP server, creating the Machine, volume, and secrets in the same conversation. The MCP server is authorized per app and organization with no API token, and Fly.io is investigating adding MPG skills for database management.
Your Agent Speaks MCP. Give It a Computer.
Sprites are presented as disposable cloud computers for running coding agents and as tools agents can create for testing, debugging, benchmarking, and multi-service work. The post describes MCP as the transport and authorization layer, while progressive disclosure comes from plugins and skills that reveal capabilities only when needed; CLI, REST, and machine-readable /.sprite/llm.txt remain available. The hosted MCP server returns file reads as MCP resources and attaches safety annotations, marking read-only and destructive operations and flagging exec and service_start as crossing the Sprite boundary. Agents connect through sprites.dev/mcp and authenticate to a specific Fly.io organization, with configurable scoping, a default five-Sprite cap, and an mcp- name prefix. The design emphasizes durable filesystems, real networks, and near-zero idle cost instead of stateless sandboxes, while the post argues these properties make disposable computers practical for agent workflows.
Shared Nothing Architecture
Shared-nothing architecture is presented as a scaling model for Showcase, a Ruby on Rails ballroom-competition application that began on a Mac Mini and grew to cloud VMs serving events in multiple regions. Because each event has few geographically concentrated users, a roughly one-megabyte SQLite database, about one transaction per second, and typical response times of 100ms or less, the design keeps state separate rather than sharing databases and Redis across events. The implementation runs an event’s services on one Fly.io VM, repeats that unit across machines or regions, and can place multiple event instances on one server with Phusion Passenger, NGINX, volumes, and a shared Action Cable process. It specifies 1GB machines with 2G swap after observing about 220MB idle and 450MB active RAM, and recommends WireGuard; the conclusion is that local state and fewer network calls suit this workload and can improve throughput and reliability.
Turn And Face The Strange
Fly.io announces a strategic shift toward Sprites, its “computers for agents,” after concluding that AI-driven software development changes the needs its public-cloud platform should serve. The company says coding agents increasingly run in cloud-hosted workstations because laptops stop when closed, while conventional cloud resources impose too much commitment for semi-disposable agent workloads. Sprites are designed to be created rapidly in large numbers, retain 100GB durable disks, use metered utility billing that pauses during inactivity, and host Internet-accessible applications. The post says a new iteration adds scaling and orchestration work plus the Sprite Block Device, while Fly Machines and platform-as-a-service features will continue. Fly.io also announces new funding and Scott Johnston as CEO, with the founder moving to an advisor role.
Building Agents that Don't Break Themselves
Agents that call shell commands can damage their host, so the post separates the agent’s durable home from the environment where untrusted code executes. It presents Sprites as disposable, isolated sandboxes, with one Sprite per session for the multi-user SpriteDoc and one persistent Sprite per task for Hermes Agent. SpriteDoc injects each user’s flyctl credential only for the command that needs it, avoiding token storage while preserving the user’s permissions; Hermes can omit approval prompts because the sandbox protects the host. The same separation applies when Hermes itself runs inside a Sprite: its commands are dispatched to another Sprite with a different identity and boot. Copy-on-write checkpoints provide an undo path, restoring deleted files and tools in about nine seconds.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.