News Agents

Cloudflare makes Kitesurf, its browser for AI agents, open source

Cloudflare released Kitesurf, a browser engine for AI agents that runs on Workers without a browser container, under the Apache 2.0 license.

Cloudflare has released the code for Kitesurf, a browser engine for AI agents that runs entirely on Cloudflare Workers without a browser container. Cloudflare says the project is now on GitHub under the Apache 2.0 license, and developers can read, change, and run it themselves.

Kitesurf parses HTML, applies CSS, runs page JavaScript, and renders screenshots. It supports the Chrome DevTools Protocol, a standard way for tools to control a browser, so clients such as Puppeteer can connect. Cloudflare says the aim is a browser that uses less CPU and memory than a full browser like Chromium and scales across its global Workers network.

The engine builds on open-source Rust packages compiled to WebAssembly, including Blitz for page layout, Stylo for CSS, and Boa for JavaScript. Boa serves as a last resort when JavaScript cannot run in Dynamic Workers. Kitesurf has three parts: an Engine that manages sessions, PageScript that runs the page, and PageRenderer that draws the result.

Developers can run it locally with pnpm, which starts a development server at a local address. They can also deploy it to their own Cloudflare account instead of using Browser Run, Cloudflare's managed service. That deployment requires a Workers Paid plan, because Kitesurf uses Dynamic Workers to isolate each page. Cloudflare describes the project as under heavy development, with work focused on compatibility, reliability, and efficiency.

Source: Kitesurf is now open source | Cloudflare Blog.