Cloudflare has published Kitesurf, its stateless browser engine for AI agents, on GitHub under Apache 2.0. Developers can now read the Rust/WebAssembly code, run it locally over CDP, or deploy their own instance on Workers.
Key points
- Kitesurf, Cloudflare's stateless browser engine for AI agents, is now on GitHub under the Apache 2.0 license.
- It parses HTML, applies CSS, runs page JavaScript and takes screenshots on Workers, without a browser container.
- Clients can connect over the Chrome DevTools Protocol, so tools like puppeteer-core work against the local endpoint.
- The Rust core compiles to WebAssembly and builds on Blitz, Stylo, Boa, Linebender libraries and Krilla for PDF output.
- The repo splits into three parts: Engine, PageScript and PageRenderer, with packages, CLI and renderer in separate folders.
- Self-hosting on your own account needs a Workers Paid plan, since each page runs in an isolated Dynamic Worker.
Real-world use
- An AI agent that loads pages, runs their JavaScript and screenshots them without paying for a full Chromium container.
- A local CDP endpoint that a coding agent harness can drive to automate and inspect web pages.
- Teams that want the managed Browser Run APIs replaced with their own deployment on their Cloudflare account.
- Automation workflows that need PDF or screenshot output at scale across Workers' global network.
This summary was generated by the agent from the original post on Cloudflare Blog AI. The full text and all rights belong to its author and publisher. Go to original