Cloudflare has introduced Moltworker, an open-source implementation that enables running Moltbot—a self-hosted personal AI agent—on Cloudflare’s Developer Platform, removing the need for dedicated local hardware. Moltbot, recently renamed from Clawdbot, is designed to operate as a personal assistant through chat applications, integrating with AI models, browsers, and third-party tools while remaining user-controlled.
Moltworker adapts Moltbot to Cloudflare Workers by combining an entrypoint Worker with isolated Sandbox containers. The Worker acts as an API router and administration layer, while the Moltbot runtime and its integrations execute inside Sandboxes. Persistent state, including conversation memory and session data, is stored in Cloudflare R2, addressing the ephemeral nature of containers.
The implementation leverages recent enhancements in Node.js compatibility within Cloudflare Workers. Cloudflare notes that improved native support for Node APIs reduces the need for workarounds, allowing more npm packages to run unmodified. While Moltbot mainly operates in containers, Cloudflare believes that this greater compatibility will enable more agent logic to move closer to the edge in future designs.
Moltworker integrates several Cloudflare services to replicate and extend the local Moltbot experience. AI requests are routed through Cloudflare AI Gateway, which supports multiple model providers, centralized observability, and options. Browser automation tasks are handled via Cloudflare Browser Rendering, allowing Moltbot to control headless Chromium instances for navigation, form filling, and content capture without running a browser directly in the container. Authentication for APIs and the Admin UI is enforced using Cloudflare Zero Trust Access.
Source: Cloudflare Blog
The project has drawn mixed reactions from early users. Some see the Cloudflare-hosted approach as lowering the barrier to entry. Commenting on the announcement, Peter Choi noted that running Moltbot on Cloudflare could significantly broaden adoption, but questioned whether the shift alters the project’s original appeal, which emphasized full local control.
Others highlighted operational benefits. One user wrote:
I’ve been self-hosting on a VPS, which works fine, but managing the box is a chore. This looks like the ‘set it and forget it’ version. Curious how state persistence works across worker invocations.
Cloudflare has open-sourced Moltworker on GitHub and positions it as a proof of concept rather than a supported product. The company describes the project as a demonstration of how its Developer Platform—combining Workers, Sandboxes, AI Gateway, Browser Rendering, and storage services—can be used to run AI agents securely and at scale on the edge.
