← Back to Discover

cloudflare/moltworker

Experimental open-source project that runs the OpenClaw personal AI assistant in a Cloudflare Sandbox container on Cloudflare Workers, with an admin UI, device pairing and optional R2 persistence.

General assistantsAutonomous agents

What it does

Moltworker packages OpenClaw, a personal AI assistant, to run in a Cloudflare Sandbox container on Cloudflare Workers, so there is no separate server to manage. OpenClaw brings a web Control UI, chat connections to Telegram, Discord and Slack, persistent conversations and an extensible agent runtime with skills. Setup uses Wrangler: set an Anthropic API key or Cloudflare AI Gateway credentials, create a gateway token, deploy, then protect the admin UI with Cloudflare Access and approve your device at /_admin/. Optional extras include R2 storage so paired devices and chat history survive restarts, a Chrome DevTools Protocol shim for browser automation, and other models through AI Gateway. The README calls this a proof of concept that is not officially supported and may break without notice. It needs a Workers Paid plan, and keeping the container running continuously adds compute cost.

Capabilities

  • Runs OpenClaw in a Cloudflare Sandbox container on Workers
  • Web Control UI plus Telegram, Discord and Slack chat channels
  • Admin UI protected by Cloudflare Access, with device pairing
  • Optional R2 backup of configuration and chat history
  • Optional browser automation through a CDP shim and model routing through AI Gateway

When to use it

  • You want to try an always-on OpenClaw assistant on Cloudflare without running your own server
  • You already use Cloudflare and want to experiment with Sandbox containers and AI Gateway
  • You are comfortable with an unsupported proof of concept