Cloudflare Launches Moltworker for Self-Hosted AI Agents
- •Cloudflare introduces Moltworker to run self-hosted AI agents on its global edge platform
- •Integrates Sandbox SDK, R2 storage, and Browser Rendering to replace dedicated local hardware
- •Renamed OpenClaw, the system automates tasks like web browsing and complex file processing
Cloudflare recently unveiled Moltworker, an innovative middleware solution designed to host personal AI agents directly on their global developer platform. This release comes as a strategic response to the growing "Mac mini" trend, where enthusiasts purchase dedicated local hardware to run OpenClaw (formerly Moltbot), an open-source assistant that manages everything from financial planning to social media automation. By porting these agents to the edge, Cloudflare eliminates the need for physical home servers while maintaining the privacy and control of a self-hosted environment.
The architecture leverages several sophisticated components of the Cloudflare ecosystem to achieve persistence and reliability. At its core, the system utilizes the Sandbox SDK to create isolated environments—essentially secure digital boxes—where untrusted code can execute without risking the broader system. For persistent memory, it utilizes R2 (object storage) to ensure that agent conversations and session data aren't lost when an ephemeral container resets. Furthermore, it employs Browser Rendering to allow the AI to navigate the web and fill out forms using headless browser instances.
Security and cost efficiency are managed through the Cloudflare AI Gateway, which acts as an intelligent intermediary (proxy) for Large Language Model (LLM) requests. This allows developers to swap models or providers—such as switching between different versions of Claude—without the need for complex code redeployments. By utilizing Zero Trust Access, the platform ensures that these autonomous assistants remain under the user's exclusive control, protected by rigorous identity verification and encrypted communication channels.