Cloudflare open-sources Kitesurf under Apache 2.0: a browser for AI agents that runs on Workers with no browser container
The lightweight browser for agents can now be self-deployed. What it does, which open-source pieces it is built from, and what deployment requires.
// Key points
- Kitesurf runs entirely on Cloudflare Workers: it parses HTML, applies CSS, executes page JavaScript and renders screenshots without a browser container, and supports the Chrome DevTools Protocol so clients like Puppeteer can connect.
- It is built from open-source Rust packages compiled to WebAssembly: Blitz (DOM, layout, painting), Stylo (CSS), Boa (JavaScript, only as a last resort when Dynamic Workers can't run it), Linebender (text and 2D graphics) and Krilla (PDF output).
- It has three parts, Engine (sessions and connections), PageScript (running the page) and PageRenderer (drawing); it runs locally or deploys to your own account, which requires a Workers Paid plan.
Builder's takeMost agent browsing is reading content and taking a screenshot, and full Chromium is heavy for that. I would move tasks like reading pages or checking layout after publishing to Kitesurf first and keep complex interaction on Chromium; being open source also means no lock-in to one hosted service.
// Background · from #AI agents
Full timeline →- Nov 14 OpenAI introduces ChatGPT Wallet: agents in ChatGPT Work, Codex and dots can complete purchases with user approval
- Nov 14 Cloudflare: requests from AI penetration testing orchestrators are up 30x since October 1, with 50+ framework families scanning its customers in three days
- Nov 14 Amazon Cognito supports OAuth 2.0 token exchange (RFC 8693): agents acting for a user swap to a narrower token for each downstream service