Cloudflare Open-Sources Its Kitesurf Browser Engine for AI Agents
Cloudflare open-sourced Kitesurf under Apache 2.0, a Rust-and-WebAssembly AI-agent browser engine that exposes Chrome DevTools Protocol on Workers Paid.
By Dillip Chowdary • Dec 02, 2026 • Source: InfoQ

At a glance
- Product
- Kitesurf browser engine for AI agents
- License
- Apache 2.0, published on GitHub
- Local endpoint
- CDP on ws://127.0.0.1:8787 via Wrangler
- Deployment
- Cloudflare Workers Paid plan required
- Auth
- None built-in; must be added before deployment
- Limits
- No video, no WebGL, no TLS-fingerprint bot challenges
In this post
Cloudflare has open-sourced Kitesurf, the browser engine the company built for AI agents, publishing the full repository to GitHub under the Apache 2.0 license. The release fulfills a commitment the engineering team made in August 2026, when it introduced the project as a lightweight Chromium alternative for automated workloads built from the Blitz HTML layout engine and the Stylo CSS cascade library, with each page running in its own Dynamic Worker on Cloudflare's infrastructure.
InfoQ's report covers the full component inventory, the CDP connection sequence, deployment requirements, and community debate over bot-detection limits. It is the primary reference for agent developers and browser-automation teams evaluating Kitesurf against a managed Chromium deployment.
01Blitz, Stylo, Boa, and the rasterizer stack
The GitHub repository ships a Rust core compiled to WebAssembly, a CDP server and Worker, a page runtime and DOM shim, a scene rasterizer, and a terminal client. Every rendering component draws from an existing library in the Rust ecosystem rather than custom Cloudflare code.
| Library | Role |
|---|---|
| Blitz | HTML parsing, DOM, layout, painting |
| Stylo | CSS cascade |
| Boa | JavaScript engine |
| Linebender libraries | Text and 2D graphics |
| Krilla | PDF output |
Cloudflare's stated goal is an engine that loads pages, runs their JavaScript, and interacts with them using less CPU and memory than a full browser like Chromium. Celso Martinho, Rui Figueira, Bernardo Pereira, and Luís Duarte authored the August introduction; at the time, commenters asked whether the company would release the source. The December open-source publication answers that question.
02CDP WebSocket, isolates, and the JPEG frame loop
Each navigation follows a fixed sequence documented in a diagram published to the Cloudflare blog. The Engine receives a Page.navigate call over the CDP WebSocket and spins up an isolate for the PageScript, which parses the page and runs its JavaScript inside Blitz. When Page.startScreencast fires, the PageRenderer rasters each frame to JPEG and returns it to the Engine.
Every page runs in its own Dynamic Worker rather than a shared Chromium container. That per-page isolation is what allows the engine to operate on Cloudflare Workers, where long-lived processes and shared address spaces are not available. The design is stateless at the page boundary: each Dynamic Worker handles exactly one page session.
The Chrome DevTools Protocol surface means any client already fluent in CDP — Puppeteer, Playwright with a custom endpoint, or a bespoke agent harness — can connect without modification. Teams switching from a managed Chromium provider swap only the WebSocket endpoint.
03Wrangler local server on port 8787
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
A local build compiles the Rust core first, then Wrangler serves a CDP endpoint on port 8787. The README's example connects an unmodified Puppeteer client over that WebSocket:
```javascript
import puppeteer from "puppeteer-core";The same code targets Cloudflare's hosted Browser Run service by switching the WebSocket endpoint. The Browser Run documentation now shows how to select Kitesurf in place of the managed Chromium instance. Kitesurf's web standards coverage is tracked on a public Web Platform Tests page that the team updates as the engine evolves.
04Workers Paid plan and the authentication gap
Deploying Kitesurf to Cloudflare requires a Workers Paid subscription, because each page gets its own isolated Dynamic Worker. The engine ships with no authentication layer of its own, and the README carries an explicit warning: "Do not deploy Kitesurf without authentication in front of it." Any team deploying a self-hosted instance must implement auth separately before exposing the CDP endpoint.
Note: Cloudflare describes the project as under heavy development. Web standards support and rendering fidelity are still in progress; teams running production browser-automation workloads are advised to keep Kitesurf experiments separate until standards coverage matures.
The same limits present at the August introduction remain in place: no video playback, no WebGL, no bot-challenge handshakes that require a real TLS fingerprint, and no long-lived authenticated sessions.
05Reddit bot-detection debate and the Hacker News ecosystem question
Discussion on Reddit emerged within the Hermes agent framework community, centering on the question the August launch first raised. The most-upvoted comment: "If it can get around bot detection, then great, if not then I'm not sure it's more useful than any other." A direct reply argued that since Cloudflare actively fights unauthorized scraping, circumventing bot detection is unlikely to be a design goal. A later commenter noted that because the source is now open, any built-in limitation can be read in the code and confirmed rather than assumed.
On Hacker News the release drew minimal engagement, with the one visible comment arguing that the Workers dependency "traps you into their ecosystem." Jay Simons, a design professional who posted the release on LinkedIn, drew a practical line for teams already running browser automation: keep the Kitesurf experiment separate from production jobs until web standards support and rendering fidelity improve, and add an authentication layer before any self-hosted deployment.
Cloudflare says the engine will continue evolving through its blog and changelog. Contributors who want to open a pull request must file an issue first and be vouched for by a maintainer before the PR will be accepted.
Frequently asked questions
What is Cloudflare Kitesurf?
Kitesurf is a Rust-and-WebAssembly browser engine for AI agents that runs on Cloudflare Workers, exposes the Chrome DevTools Protocol, and uses less CPU and memory than Chromium by building on the Blitz, Stylo, and Boa libraries.
How do I run Kitesurf locally?
Compile the Rust core, then run Wrangler to serve a CDP endpoint on port 8787. Any Puppeteer or CDP-compatible client can connect to ws://127.0.0.1:8787/devtools/browser without modification.
Does Kitesurf have authentication built in?
No. The engine ships without any authentication layer, and the README explicitly warns users to add one before deploying. Teams running a self-hosted instance are responsible for securing the CDP endpoint.
Can Kitesurf bypass bot detection?
No. The engine does not support bot-challenge handshakes that require a real TLS fingerprint, and Cloudflare has confirmed that circumventing bot detection is not a project goal.
What Cloudflare plan does Kitesurf require?
Kitesurf requires the Workers Paid plan because each page session runs in its own isolated Dynamic Worker rather than a shared container.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement