Enki

Cloudflare open-sources Kitesurf, its browser for AI agents, under Apache 2.0

By

Published

Reporting from InfoQ AI

Cloudflare says Kitesurf uses a third to a seventh of Chromium's CPU and memory, but it ships with no login and cannot yet clear bot challenges.

What it means for founders

Enki's arithmetic, on Cloudflare's own median: at 380 ms of CPU per screenshot, the 30 million included milliseconds cover roughly 79,000 screenshots a month, and a million screenshots would add about $7 in CPU charges. That leaves out Dynamic Worker charges. Each navigation starts a new isolate, the README says; if every page counts as a new Dynamic Worker, those charges would dwarf the CPU cost. Cloudflare has not said how Kitesurf is counted.

Try Kitesurf if your agents run bursty, one-shot jobs on ordinary pages: pulling HTML, taking screenshots, printing PDFs. Start with the managed version in Browser Run, which launched free in beta: add browser=kitesurf to an existing endpoint and compare output against Chromium on your own URLs. Self-host only if you need to change the engine.

Wait if your agents hold long logged-in sessions or face bot challenges that check TLS fingerprints. Cloudflare says Kitesurf is not yet the right option for those.

Weigh the lock-in. The licence is open, but the deployment target is Workers; the one Hacker News comment InfoQ found said the technology "traps you into their ecosystem." The Docker image does run on workerd, the open-source Workers runtime, without a Cloudflare account, but the README warns it is not a hardened sandbox. For an engine that runs on any server, Lightpanda, an open-source headless browser, claims 16 times less memory and 9 times the speed of headless Chrome in its own benchmark. For an agent library that drives a browser, see Enki's Browser Use listing.

A lighter engine does not change who lets agents in, as Amazon barring more than 60 AI agents by name shows. Plan for being blocked.

What we don't know yet

Cloudflare has not said whether the managed Kitesurf is still free; its Browser Run pricing page now says Kitesurf runs follow separate Kitesurf pricing, which Enki could not find published. Nor has it given a date for calling Kitesurf production-ready.

The story

Cloudflare has published the code of Kitesurf, the browser engine it built for AI agents, with an Apache 2.0 licence. Cloudflare announced the open-source release in a blog post on 13 November, three months after it promised one. InfoQ covered the release on 2 December with the first reactions from agent builders.

Because Kitesurf talks the Chrome DevTools Protocol, existing Puppeteer or Playwright clients can connect to it, though Kitesurf supports only part of the protocol. Cloudflare says it uses a third to a seventh of Chromium's CPU and memory when taking screenshots or extracting HTML. If that holds on your pages, giving every agent its own browser gets cheaper. Two catches: a deployment on Cloudflare needs the Workers Paid plan, and the engine ships with no login of any kind.

A browser that drops what only humans need

Cloudflare introduced Kitesurf on 6 August as an opt-in engine inside Browser Run, its hosted browser automation product, free while in beta. It is built from open-source Rust projects compiled to WebAssembly, including Blitz for layout, Firefox's Stylo for CSS and the Boa JavaScript interpreter.

The efficiency figures are Cloudflare's: medians of five runs over a 14-URL corpus. A screenshot used 380 ms of CPU against 1,173 ms for a warm Chromium pool, and 57.8 MiB of memory against 271.0 MiB. On the clock Kitesurf was slower, 1,148 ms against 637 ms. Enki found no independent reproduction.

The documented limits have not moved since the summer: Kitesurf plays no video, renders no WebGL, holds no long logged-in sessions with persistent state, and cannot pass bot challenges that check for a real TLS fingerprint. For those jobs Cloudflare tells users to stay on its Chromium browser.

What Enki found in the repository

The Kitesurf README is blunt about security. A deployed engine's workers.dev address is public by default under a predictable name, `kitesurf.your-subdomain.workers.dev`. Anyone who finds it can browse through your engine on CPU you pay for, so Cloudflare says to put Cloudflare Access in front before the first deploy.

The Docker image needs no Cloudflare account and starts in under a second, which suits CI tests. One trap: the image runs CDP evaluate calls and page eval on V8 and lets pages compile WebAssembly at run time. On Cloudflare, evaluation runs on the slower Boa and run-time WebAssembly is blocked, so a test can pass in the image and fail once deployed.

On bot detection, the question Reddit users raised in InfoQ's report, Kitesurf's network layer injects browser-shaped headers, the August post says, and the engine's configuration carries settings for Web Bot Auth, Cloudflare's scheme for bots to sign requests cryptographically, left empty by default, which disables signing. Enki's read: an operator can make Kitesurf sign its requests, but out of the box it does not.

Self-hosting runs on Workers pricing: a $5 monthly minimum per account. Dynamic Workers include 1,000 unique workers a month, then cost $0.002 a day for each additional one. CPU beyond 30 million included milliseconds costs $0.02 per million. For comparison, Browser Run on Chromium charges $0.09 per browser hour after 10 included hours, and $2 per concurrent browser above 10. Browserbase, a hosted agent browser, lists paid plans at $20 and $99 a month.

Sources

More in Products & Launches

How Enki covers newsCorrectionsReport an error