Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Fly.io 3 min read How-to mediumAdept

Run OpenClaw (Formerly Moltbot and Clawdbot) in a Sprite

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. The walkthrough installs the Sprites CLI and OpenClaw, notes that the systemd and health-check errors during onboarding are expected, and registers the OpenClaw Gateway as a Sprite service on port 18789. That service lets the Sprite sleep when idle and wake on HTTP requests. Remaining steps cover making the URL public, approving device pairing, checkpointing the configuration for restore, and optionally having OpenClaw write its own Sprite management skill.

Related posts

  • Run OpenClaw Securely in Docker Sandboxes

    Docker mediumAdept

    OpenClaw, an open-source AI coding agent, can run inside Docker Sandboxes (isolated microVMs) against local models served by Docker Model Runner, with no API keys or cloud costs. The sandbox restricts file access to the workspace, and its network proxy can deny arbitrary hosts and inject cloud API keys so the agent never sees them. Because Node.js ignores HTTP_PROXY, a ~20-line Node bridge on localhost:54321 forwards requests through the sandbox proxy (host.docker.internal:3128) to Model Runner on the host's localhost:12434. Full steps cover installing OpenClaw, writing the bridge, merging a Model Runner provider into OpenClaw's config, and saving the sandbox as a shareable image.

  • Run Paperclip AI on a Sprite

    Fly.io mediumAdept

    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.

  • Running NanoClaw in a Docker Shell Sandbox

    Docker mediumAdept

    Docker Sandboxes' new `shell` sandbox type provides a minimal Ubuntu microVM with Node.js, Python and git, letting you run agents that aren't built in, such as NanoClaw, a Claude-powered WhatsApp assistant. The workspace mount is the only host directory visible, and API keys stay outside the sandbox: Claude Code's `apiKeyHelper` returns a sentinel value that Docker's network proxy swaps for the real Anthropic key on outgoing requests. The walkthrough covers creating and connecting to the sandbox, installing Claude Code, cloning NanoClaw, running its `/setup` flow and managing sandbox lifecycle. The same create, install, configure-proxy-credentials, run pattern applies to any Linux-based AI agent or bot.

  • Claw Patrol: an open-source security firewall for agents

    Deno easyNovice

    Claw Patrol is an MIT-licensed, alpha-stage gateway that sits outside AI agents and enforces policy on their production access. Agent traffic flows through a WireGuard or Tailscale tunnel to a gateway that terminates TLS, parses the inner protocol (HTTP, Postgres SQL, Kubernetes API), injects credentials the agent never holds, and evaluates each request against HCL rules. Rules can match on facets such as SQL verb and tables or Kubernetes resource and namespace. Verdicts can allow, deny, or route through chained LLM-judge and Slack human approvers. The gateway can also tunnel onward into otherwise unreachable networks, such as an Aurora database behind an EKS apiserver, a case HTTP-only proxies and sandboxes can't cover.

  • Agent Swarms on Sprites

    Fly.io mediumAdept

    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. An orchestrator Sprite running Claude Code creates worker Sprites via the API and hands them tasks. Workers can checkpoint and restore their whole environment in about three seconds, which makes speculative parallel attempts practical. Per-agent DNS-level network policies restrict egress, results can flow back over HTTP endpoints, a shared Postgres Sprite or orchestrator file reads, and idle Sprites pause and persist.

The quest for software engineering knowledge.

Look:
Layout: