Cloudflare open-sources Kitesurf, a Workers-based browser for agents
- Source
- blog.cloudflare.com
- Author
- Cloudflare
- Date
Cloudflare open-sourced Kitesurf, the stateless browser engine it built for agents, under the Apache 2.0 license. Kitesurf parses HTML, runs JavaScript and renders screenshots using Rust components compiled to WebAssembly, and it runs on Cloudflare Workers. It speaks the Chrome DevTools Protocol, so tools such as Puppeteer can drive it. Developers can run it locally or deploy it to their own Cloudflare account. Most agent browsing today runs a full Chromium instance in a container for each session, which is the main CPU and memory cost of letting an agent read the web. Kitesurf replaces that with a lighter engine on a serverless runtime, which lowers the resources each page needs. Cloudflare notes the project is still under heavy development, so it is an option to evaluate rather than a drop-in replacement today.

- Kitesurf parses HTML, applies CSS, runs page JavaScript and renders screenshots entirely on Cloudflare Workers, with no browser container, and speaks the Chrome DevTools Protocol so clients such as Puppeteer can connect to it.
- The engine is assembled from open-source Rust packages compiled to WebAssembly: Blitz for the DOM, layout and painting, Stylo for CSS, Linebender for text and 2D graphics, Krilla for PDF output, and Boa for JavaScript only when Dynamic Workers cannot run it.
- Cloudflare splits Kitesurf into three parts: the Engine manages browser sessions and client connections, PageScript runs the page and its JavaScript, and PageRenderer draws the result.
- Running it locally starts a wrangler server with a CDP endpoint that harnesses can drive, but deploying to your own account needs a Workers Paid plan because Kitesurf creates an isolated Dynamic Worker for each page.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Checking sign-in…
Loading comments…






