· AI dev tools
Cloudflare releases Kitesurf browser engine for AI agents on GitHub Apache 2.0
The engine, built using Rust and WebAssembly, which powers Cloudflare's Kitesurf browser for AI agents, is now publicly available on GitHub under the Apache 2.0 license.
This release fulfills a commitment Cloudflare made back in August, when they initially unveiled Kitesurf as a lightweight substitute for Chromium, intended for automated tasks. Instead of operating within a Chromium container, this engine utilizes Cloudflare Workers, exposes the Chrome DevTools Protocol, and allows for local execution via Wrangler. The project’s architecture incorporates the Blitz and Stylo engines, processing each web page within its own dedicated Dynamic Worker.
The contributing authors—Celso Martinho, Rui Figueira, Bernardo Pereira, and Luís Duarte—confirmed that their earlier promise regarding the source code is now a reality, meaning developers can examine, modify, and deploy their own versions to Cloudflare Workers. The repository contains several components, including the Worker and CDP server, the DOM shim and page runtime, a Rust core compiled to WebAssembly responsible for layout, painting, and JavaScript execution, a scene rasterizer, and a terminal client. Specifically, Blitz handles HTML parsing, the Document Object Model, layout, and painting; Stylo manages the CSS cascade; Boa serves as the JavaScript engine; Linebender libraries manage text and 2D graphics; and Krilla is responsible for PDF output.
Cloudflare's stated objective for this browser is to load web pages, execute their associated JavaScript, and interact with the content while consuming less CPU and memory compared to a full-featured browser like Chromium. A diagram provided in the announcement illustrates the workflow: the Engine receives a `Page.navigate` command over the CDP WebSocket, which prompts the creation of an isolate for the `PageScript`. This script then parses the page and runs its JavaScript within Blitz. When `Page.startScreencast` is invoked, the `PageRenderer` renders every frame as a JPEG for the Engine to relay.
For local development, the process begins by compiling the Rust core, after which Wrangler launches a CDP endpoint on port 8787, allowing tools like Puppeteer or an agent harness to connect to it. Deploying this to Cloudflare necessitates a Workers Paid plan because each page requires an isolated Dynamic Worker. Furthermore, the README issues a stern caution: "Do not deploy Kitesurf without authentication in front of it." A sample local connection using Puppeteer demonstrates this: `import puppeteer from "puppeteer-core"; const browser = await puppeteer.connect({ browserWSEndpoint: "ws://127.0.0.1:8787/devtools/browser", }); try { const page = await browser.newPage(); await page.goto("https://example.com/"); await page.screenshot({ path: "page.png" }); } finally { await browser.disconnect(); }`.
Cloudflare characterizes the project as being in a phase of intense development, directing interested parties to a public Web Platform Tests page to review its standards compliance. They encourage contributors to submit an issue and secure endorsement from a maintainer before submitting a pull request. Jay Simons, a design professional who shared the release on LinkedIn, advised teams already utilizing browser automation to keep this new tool separate from their production browser jobs for the time being.
The company also noted that support for web standards and the accuracy of rendering are still under active development. Since Kitesurf lacks built-in security, any self-hosted setup must implement its own authentication layer, and running it on Cloudflare requires the Workers Paid tier.
The initial questions raised by the August launch resurfaced in discussions among users of the Hermes agent framework on Reddit. The most highly regarded comment and its subsequent reply presented both sides of the argument: "If it can get around bot detection, then great, if not then I'm not sure it's more useful than any other." Cloudflare has been very clear about its opposition to agents scraping data without proper authorization, suggesting this is unlikely to be their intended purpose. A subsequent commenter added that because the engine is open source, any inherent limitations can be scrutinized, though they planned to wait for further results before adopting it.
On Hacker News, the announcement garnered minimal attention, with one comment raising the concern that Cloudflare's technology could "trap you into their ecosystem." Cloudflare maintains that the engine will continue to evolve via its official blog and changelog. The Browser Run documentation has been updated to show how to select Kitesurf over the managed Chromium option, retaining the limitations established in August: specifically, no support for video, WebGL, bot-challenge handshakes requiring a real TLS fingerprint, or long-lived authenticated sessions.
Why it matters
This release provides developers with a lightweight, open-source alternative to heavy browser instances for automated workloads. Teams looking to build AI agents can now inspect and modify the engine's core functionality directly. Users should note that self-hosted or Cloudflare deployments require adding authentication layers.




