Cloudflare open-sources Kitesurf, its browser built for AI agents
The Rust-based browser engine that runs headless browsing inside Workers is now on GitHub under Apache 2.0, so you can inspect it, self-host it or run it locally.
Cloudflare has open-sourced Kitesurf, its experimental browser engine built for AI agents rather than people, under the Apache 2.0 licence. The code is on GitHub at cloudflare/kitesurf.
Kitesurf parses HTML, applies CSS and runs page JavaScript without a browser container, all inside Cloudflare Workers, which is how it avoids the memory and CPU cost of running Chromium per agent. Being open means you can run it locally with Wrangler, or deploy your own instance to your Cloudflare account, which needs Dynamic Workers on a Workers Paid plan. Clients connect over the Chrome DevTools Protocol, so existing Puppeteer code works against it.
Why it matters: if you’re building a coding agent or scraper that needs to click through a real page, Kitesurf is a lighter alternative to spinning up headless Chromium per request. Open sourcing it means you’re no longer limited to Cloudflare’s hosted beta, you can read the engine, fork it or self-host it on infrastructure you control.
The caveat: Cloudflare still calls it experimental and under heavy development, so expect gaps in web standards support and rendering fidelity.
git clone https://github.com/cloudflare/kitesurf
pnpm run dev