S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
2026-11-17 self-hosting, open-source, local-ai

Cloudflare Open-Sources Kitesurf, Its Chromium-Free Browser for AI Agents

Cloudflare has published the source code of Kitesurf, its browser engine built for AI agents, under the Apache 2.0 license. The announcement landed on the Cloudflare blog on November 13, and the public repository at github.com/cloudflare/kitesurf confirms the license via its project metadata. Independent coverage by Help Net Security on November 16 and Unite.AI corroborates the release date, the license, and the self-hosting details.

Kitesurf is not a new product. Cloudflare introduced it in August as the stateless browser behind its Browser Run service, then extended it in September with WebMCP support and new APIs. Open-sourcing was promised from the start, and this release delivers on that: developers can now read the code, run the engine locally, change it, and deploy their own copy instead of going through Cloudflare's managed APIs.

What Kitesurf actually is

Kitesurf is an experimental browser engine that runs on Cloudflare Workers, in the repository's own words. It parses HTML, applies CSS, runs page JavaScript, and renders screenshots with no Chrome process and no browser container. It speaks the Chrome DevTools Protocol, so existing automation clients such as Puppeteer connect to it like any other CDP endpoint.

The engine has three parts: an Engine that manages sessions and client connections, PageScript that runs the page and its JavaScript, and PageRenderer that draws the result. Underneath, it is assembled from open-source Rust crates compiled to WebAssembly: Blitz for HTML parsing and layout, Firefox's Stylo for CSS, Linebender libraries for text and 2D graphics, and Krilla for PDF output. Boa runs JavaScript inside WebAssembly, but only as a last resort when a page's scripts cannot run in Dynamic Workers. Cloudflare's stated goal is a browser that uses less CPU and memory than full Chromium for common agent tasks such as screenshots and HTML extraction — treat that as the vendor's claim, since no independent benchmark has reproduced it yet.

Running it yourself

Local development is straightforward but has real prerequisites, listed in the repository README: Bazelisk installed as bazel, Node.js 22 or newer, and pnpm 9.15.4. From a clone, pnpm install --frozen-lockfile followed by pnpm run dev builds the WebAssembly modules and starts the engine at http://127.0.0.1:8787, where a Puppeteer script can attach via the ws://127.0.0.1:8787/devtools/browser endpoint or an agent harness can point at the same CDP port. The first build compiles the Rust core and vendored crates, so expect a wait; later builds reuse the cache.

Deploying your own copy to Cloudflare is where the catch sits: Kitesurf needs Dynamic Workers to isolate each page, and Dynamic Workers are part of the Workers Paid plan, so pnpm run deploy requires a paid account. The README also carries a security consequence worth reading twice: the engine ships with no authentication of its own, so a deployed copy on a public address is open to anyone with the URL unless you put Cloudflare Access or another auth layer in front of it.

Why it matters on a homelab

For anyone running AI agent harnesses on their own hardware, Kitesurf is now auditable infrastructure instead of a black-box API. You can inspect exactly what the browser does with your pages and credentials, run a copy on your own machines for testing, and keep Puppeteer-based tooling pointed at a CDP endpoint you control. It also fits the self-hosting pattern of moving agent workloads off rented endpoints and onto hardware you own — with the honest caveat that production deployment still rents Cloudflare's platform rather than your own rack.

Keep expectations in check: the repository calls itself experimental, Cloudflare says it is under heavy development with compatibility, reliability, and efficiency as the focus areas, and outside contributions require opening an issue and being vouched for by a maintainer before a pull request. The repo is active — project metadata shows commits landing as recently as November 16 — but this is infrastructure to watch and test, not a drop-in Chromium replacement. If you do not run agent automation, there is nothing to do here; if you do, the local-dev setup costs nothing to try.

Comments (0)

No comments yet — start the thread.

Log in to comment.