Cloudflare opened the source code of Kitesurf, their browser engine for AI agents, on GitHub under the Apache 2.0 license on December 2, 2026. The engine runs on Cloudflare Workers instead of Chromium and exposes the Chrome DevTools Protocol for automation.

Cloudflare introduced Kitesurf in August as a lightweight alternative to Chromium for automation. Celso Martinho, Rui Figueira, Bernardo Pereira and Luís Duarte wrote the announcement post. The company built the engine off of the Blitz and Stylo engines and runs each page in its own Dynamic Worker.

The repository includes worker and CDP servers, page runtimes and DOM shims, a Rust core compiled to WebAssembly for layout and painting, a scene rasterizer, and a terminal client. Blitz handles HTML parsing, DOM, layout and painting. Stylo manages the CSS cascade. Boa provides the JavaScript engine. Linebender libraries handle text and 2D graphics, while Krilla produces PDF output.

Cloudflare's goal is to create a browser that loads pages, executes their JavaScript, and interacts with pages using less CPU and memory than a full-fledged browser like Chromium.

When Engine receives Page.navigate via CDP WebSocket, navigation starts. Engine implements an isolate for PageScript, which parses the page and executes its JavaScript in Blitz. When Page.startScreencast is invoked, the PageRenderer rasterizes each frame to a JPEG, which the Engine returns.

The local build first compiles the Rust core. Wrangler then launches a CDP endpoint on port 8787. Puppeteer or an agent harness connects to that endpoint:

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 requires a Workers Paid plan to deploy, as a separate Dynamic Worker is assigned to each page. The README warns: "Do not deploy Kitesurf without authentication up front." Self-hosted deployments also require an authentication layer, as Kitesurf itself does not provide one.

Cloudflare describes the project as being under extensive development. A public Web Platform Tests page shows the progress of standards support. Contributors should open an issue and get a recommendation from a maintainer before sending a pull request. The Browser Run documentation shows how to choose Kitesurf instead of managed Chromium. Video or WebGL are not currently supported. The engine also lacks bot-challenge handshakes that require real TLS fingerprints and long-lasting authenticated sessions.

For now, teams should keep testing separate from production browser work, said design professional Jay Simons, who posted the release on LinkedIn. Reddit users of the Hermes Agent Framework have debated how effective the engine is at detecting bots. If it can avoid bot detection, great, said one commenter; If not, it is no more effective than other tools. Another noted that since the engine is open source, anyone can test its built-in limitations, but wait for the results before using it. A commenter on Hacker News argued for platform-dependency, saying Cloudflare's platform locks users into their ecosystem.