Cloudflare open-sources Kitesurf, a Workers-based headless browser for AI agents that supports CDP
Cloudflare has published the source code of Kitesurf, a browser for AI agents. It loads pages and runs their JavaScript on Cloudflare Workers without a full Chromium instance. This is a product and open-source release, not a vulnerability or an incident, and the article reports no threat. Developers can inspect, modify, run locally and deploy it to their own Cloudflare account.
Detalhes técnicos
- Kitesurf supports the Chrome DevTools Protocol (CDP), so clients such as Puppeteer can connect. It can also return screenshots.
- It has three components. The Engine handles sessions and connections, PageScript executes pages and scripts, and PageRenderer produces images.
- It uses Rust packages compiled to WebAssembly: Blitz, Stylo, Linebender libraries and Krilla. The Boa JavaScript engine runs only as a last resort, when scripts can't run in Dynamic Workers.
Remediação
No remediation applies. For deployment, pnpm run deploy requires a Workers Paid plan, because Kitesurf uses Dynamic Workers to isolate pages. A local copy runs with pnpm run dev, and Wrangler serves it at 127.0.0.1:8787.
Linha do tempo
-
Cloudflare open-sources Kitesurf, a Workers-based headless browser for AI agents that supports CDP
ler a análise desta fonte ocultar
Cloudflare has published the source code of Kitesurf, a browser for AI agents. It loads pages and runs their JavaScript on Cloudflare Workers without a full Chromium instance. This is a product and open-source release, not a vulnerability or an incident, and the article reports no threat. Developers can inspect, modify, run locally and deploy it to their own Cloudflare account.
Technical Details
- Kitesurf supports the Chrome DevTools Protocol (CDP), so clients such as Puppeteer can connect. It can also return screenshots.
- It has three components. The Engine handles sessions and connections, PageScript executes pages and scripts, and PageRenderer produces images.
- It uses Rust packages compiled to WebAssembly: Blitz, Stylo, Linebender libraries and Krilla. The Boa JavaScript engine runs only as a last resort, when scripts can't run in Dynamic Workers.
Remediation
No remediation applies. For deployment,
pnpm run deployrequires a Workers Paid plan, because Kitesurf uses Dynamic Workers to isolate pages. A local copy runs withpnpm run dev, and Wrangler serves it at 127.0.0.1:8787.