Cloudflare announced on 13 November that Kitesurf, the browser engine it built for AI agents, is now open source on GitHub under the Apache 2.0 licence. Kitesurf parses HTML, applies CSS, runs a page's JavaScript and renders screenshots inside Cloudflare Workers, without Chromium or a browser container. For teams that run agents which read or act on websites, it is a cheaper way to load pages at scale, with real limits that matter before you switch.
Why AI agents need a browser at all
An agent that books a meeting, fills a form or reads a dashboard has to see the page the way a person does. Many modern pages only fill in after their JavaScript runs, so fetching the raw HTML is often not enough. Until now the standard answer has been headless Chrome, driven by tools such as Puppeteer or Playwright, either on your own servers or through a hosted service such as Browserbase or Cloudflare's own Browser Run.
Cloudflare's argument, set out in its August launch post, is that Chromium was built for humans. Agents do not need tabs, themes or extensions, and they can cope when styling is slightly off. What they care about is cost, speed, scale and the size of what lands in the model's context window. Cloudflare wrote that giving every agent its own Chromium is "prohibitively expensive".
What Kitesurf is and how it is built
Kitesurf launched on 6 August as an opt-in inside Browser Run, the service Cloudflare previously called Browser Rendering. Developers add browser=kitesurf to a Browser Run request, and the service has offered it free during the beta. A 28 September update added WebMCP, a draft browser standard that lets a page offer tools directly to an agent. The open-source release lets anyone read the code, run it locally or deploy their own copy.
The engine is assembled from existing open-source parts. Blitz handles HTML parsing, the DOM, layout and painting. Stylo, the CSS engine from Firefox, works out styles. Page JavaScript runs in isolated Dynamic Workers, with the Boa engine compiled to WebAssembly used as a fallback. TechCrunch reported in August that Cloudflare had decided to build Kitesurf only 12 weeks earlier, and that its first proof of concept was a port of the Obscura project to Workers. Kitesurf speaks the Chrome DevTools Protocol, so Puppeteer can connect to it, although the project's README says it "provides a CDP endpoint, not a full Chrome implementation".
How it compares with Chrome
Cloudflare publishes its own benchmark. The latest run, dated 17 November, covers 38 pages and compares Kitesurf with a fresh Chrome started for each render. These are Cloudflare's numbers, not an independent test.
- Memory for a screenshot was a median of 50 MiB on Kitesurf against 330 MiB on Chrome, about a sixth.
- CPU time for a screenshot was 668 milliseconds against 778 milliseconds.
- Wall time was slower, a median of 1.80 seconds against 1.01 seconds for a screenshot.
- Against Browser Run's default Chrome, which reuses a running browser, the wall time gap was smaller, 1.80 against 1.66 seconds, while that Chrome used 393 MiB of memory.
- Some pages were far slower. The El Mundo news site took 14.0 seconds against 2.66 seconds, and one page failed to render.
The page also notes that each site was run only five times, so treat the medians as indicative.
The August launch post told the same story on a smaller test of 14 pages, with three to seven times less CPU and memory and roughly 1.7 to 1.8 times slower wall time. Cloudflare wrote plainly that "Chromium wins the stopwatch".
The limits
Cloudflare says Kitesurf cannot yet play video, render WebGL, pass bot checks that need real TLS fingerprints, or keep a long logged-in session with saved state. For those jobs it recommends Browser Run's default Chromium browser. The project calls itself experimental, and the August post said it was not yet production ready.
Self-hosting carries its own warnings. The README says the engine has no authentication of its own, so anyone with the URL could browse through it on your account, and it should never be deployed without a login layer such as Cloudflare Access. Deploying needs a Workers Paid plan, because each page runs in its own Dynamic Worker. Local runs execute page JavaScript in a runtime the README says is not a hardened sandbox, so you should not open untrusted sites on your laptop.
What it means for website owners
Lighter browsers make it cheaper to send agents to websites, so we expect more of that traffic. Cloudflare's documentation says requests from Browser Run carry fixed headers and Web Bot Auth signatures, a cryptographic way for a site to confirm that a request came from Browser Run, and that the user agent string is not a reliable way to identify it. Cloudflare's Kitesurf posts do not say how a self-hosted copy identifies itself, so traffic from someone else's deployment may look like any other visitor.
We think Kitesurf is a good fit for high-volume reading and screenshots, while Chromium remains the safer choice for logins, payments and complex web apps.
What to do this week
- Developers on Browser Run can add browser=kitesurf to one existing call and compare the output and timing with Chrome.
- Run 20 of your real target pages through both engines, including your heaviest ones, before you move any workload.
- If you self-host, put a login layer such as Cloudflare Access in front of it from day one.
- Marketers and site owners can ask their developer to check logs for Browser Run's signed requests, and decide which agent traffic to allow.
To learn how agents use tools like browsers, start with our AI courses, or see how teams combine tools on the stacks page.