CloudflareLuís DuarteAnnouncement
Kitesurf is now open source
Summary
Cloudflare has open-sourced Kitesurf, a stateless browser engine for AI agents that runs entirely on Cloudflare Workers. The engine parses HTML, applies CSS, executes JavaScript, and renders screenshots without a traditional browser container. It supports the Chrome DevTools Protocol, allowing clients such as Puppeteer to connect and control it programmatically. The repository is available on GitHub under the Apache 2.0 license and includes the engine, Rust core, DOM shims, renderer, and CLI as separate packages. Developers can run Kitesurf locally or deploy it to their own Cloudflare Workers account, though a Workers Paid plan is required for deployment.
Context
Cloudflare introduced Kitesurf, a stateless browser for AI agents that runs entirely on Workers, in August and added WebMCP support and new APIs in September. The team committed to open-sourcing it so developers could run their own browser engine on their own Cloudflare accounts.
Approach / What changed
Kitesurf is released as an open-source repository on GitHub under the Apache 2.0 license. Developers can clone the repository, install dependencies with pnpm, and run the engine locally via wrangler, or deploy it to their own Cloudflare Workers account using pnpm run deploy (requires a Workers Paid plan). The repository includes the engine, Rust core, DOM shims, renderer, and CLI as separate packages.
Takeaways
Kitesurf is a stateless browser engine for AI agents that runs entirely on Cloudflare Workers, parsing HTML, applying CSS, executing JavaScript, and rendering screenshots without a browser container.
The repository is open source under Apache 2.0 and includes the engine, Rust core, DOM shims, renderer, and CLI as separate packages in the packages directory.
Deploying Kitesurf to a Cloudflare account requires a Workers Paid plan because it uses Dynamic Workers to create isolated Workers for pages.
FAQ
How does Kitesurf work without a browser container?
Kitesurf parses HTML, applies CSS, executes page JavaScript, and renders screenshots without a browser container. It runs entirely on Cloudflare Workers and supports the Chrome DevTools Protocol (CDP), so clients like Puppeteer can connect to it.
Can I deploy Kitesurf to my own Cloudflare account?
Yes, you can deploy Kitesurf to your own Cloudflare account using pnpm run deploy from the repository root. A Workers Paid plan is required because Kitesurf uses Dynamic Workers to create isolated Workers for pages.
What open-source components does Kitesurf use?
Kitesurf builds on open-source Rust packages compiled to WebAssembly: Blitz for HTML parsing and layout, Stylo for CSS, Boa for JavaScript execution, Linebender libraries for text and 2D graphics, and Krilla for PDF output.
Source and freshness
- Source
- blog.cloudflare.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.