---
title: "Run Paperclip AI on a Sprite"
description: "Paperclip, an open-source orchestration platform for running teams of AI agents, can be hosted on a Fly.io Sprite with a single `npx paperclipai onboard -y` install using embedded PostgreSQL on port 3100."
url: "https://swe.quest/articles/run-paperclip-ai-on-a-sprite-5386b501005dcedc"
canonical: "https://fly.io/blog/paperclip-on-a-sprite/"
source: "Fly.io"
published: "2026-04-01"
difficulty: "medium"
kind: "How-to"
reading_minutes: 4
tags: ["ai-agents","sandboxing","cloud"]
---

# Run Paperclip AI on a Sprite

A post on [Fly.io](https://swe.quest/sources/flyio.md), published 2026-04-01, 4 min read, How-to. Original: [https://fly.io/blog/paperclip-on-a-sprite/](https://fly.io/blog/paperclip-on-a-sprite/)

## Summary

Paperclip, an open-source orchestration platform for running teams of AI agents, can be hosted on a Fly.io Sprite with a single \`npx paperclipai onboard -y\` install using embedded PostgreSQL on port 3100. To make it remotely reachable, switch the config to \`authenticated\` mode bound to 0.0.0.0, add the Sprite hostname to Paperclip's allowlist, and register it as a Sprite service, which also fixes the "hostname is not allowed" error. Sprites add checkpoint/restore for rolling back agent state, pause/resume billing when idle, hardware isolation, and a network policy file that blocks agent egress to unapproved domains via DNS REFUSED responses.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Linux command line ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))
- npm/npx

## Keywords

Paperclip, Fly.io Sprites, Fly.io, Node.js, PostgreSQL, Claude

## Related posts

- [Run OpenClaw (Formerly Moltbot and Clawdbot) in a Sprite](https://swe.quest/articles/run-openclaw-formerly-moltbot-and-clawdbot-in-a-sprite-e675a6ce4227de15.md): Fly.io · 2026-01-26 · Medium · 3 min read · AI agents, Sandboxing & isolation, Serverless
  OpenClaw, the open-source AI assistant formerly called Clawdbot and Moltbot, can run inside a Fly.io Sprite, a hardware-isolated, stateful Linux sandbox, so the agent can have broad permissions without a dedicated Mac Mini.
- [Agent Swarms on Sprites](https://swe.quest/articles/agent-swarms-on-sprites-839304324464381c.md): Fly.io · 2026-02-09 · Medium · 3 min read · AI agents, Sandboxing & isolation, AI for coding
  Running each coding agent in a swarm on its own Sprite (a Fly.io sandboxed machine) avoids the shared-filesystem, conflicting-dependency and blast-radius problems of co-located agents.
- [How to Run Untrusted Code Safely](https://swe.quest/articles/how-to-run-untrusted-code-safely-e25a4476701c9dc9.md): Fly.io · 2026-02-02 · Medium · 3 min read · Sandboxing & isolation, Virtualization, Security, AI agents
  Containers share the host kernel, so truly untrusted code such as AI-generated scripts or user submissions needs hardware isolation, allowlist-based network egress control enforced from outside the sandbox, rollback and multiple runtimes.
- [Building Agents that Don't Break Themselves](https://swe.quest/articles/building-agents-that-don-t-break-themselves-946af945ee4733ac.md): Fly.io · 2026-06-08 · Medium · 6 min read · AI agents, Sandboxing & isolation, Identity & auth, Virtualization
  Separate where an agent lives from where it executes code: keep the agent loop on a durable host and send every shell command to a disposable Sprite sandbox.
- [Slack Bots on Sprites: OAuth is Easy Now](https://swe.quest/articles/slack-bots-on-sprites-oauth-is-easy-now-b82e289ea1ba6759.md): Fly.io · 2026-01-27 · Medium · 2 min read · Serverless, Identity & auth, JavaScript
  Fly.io Sprites remove the usual hassle of hosting a Slack bot's OAuth flow by giving each bot a public URL, a persistent filesystem for storing tokens, and automatic hibernation and wake.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
