Run your own browser for AI agents: the full Kitesurf source is on GitHub under Apache 2.0, free to read, change and run.
Kitesurf is the stateless browser Cloudflare built for agents. It loads pages, runs their JavaScript and returns screenshots on Cloudflare Workers, with no Chrome and no browser container. Cloudflare introduced it in August, added WebMCP support in September, and published the code on November 13, 2026.
What is inside
- Three parts: the Engine (sessions and client connections), PageScript (runs the page and its JavaScript) and PageRenderer (draws the result).
- Open-source Rust crates compiled to WebAssembly: Blitz for HTML, DOM and layout, Stylo for CSS, Linebender for text and 2D graphics, Krilla for PDF output. Boa runs JavaScript only as a last resort.
- Chrome DevTools Protocol support, so Puppeteer and agent harnesses connect as they would to Chrome.
What it means for you
Local runs cost nothing: clone the repo, run pnpm install --frozen-lockfile and pnpm run dev, and Wrangler serves the engine at 127.0.0.1:8787. Point Puppeteer at ws://127.0.0.1:8787/devtools/browser. The first build compiles the Rust core, so expect a wait. It suits developers who want a light, scriptable browser for agents and scrapers, or who want to see how one is built.
The catch: deploying your own copy needs a Workers Paid plan, because Kitesurf creates isolated Dynamic Workers for pages, and the engine has no login of its own, so put authentication in front of it. Cloudflare also calls it under heavy development, so expect gaps in site compatibility.
How to try it: 1) Meet the repo's build requirements → 2) clone and pnpm run dev → 3) connect Puppeteer or your agent to the local CDP port → 4) pnpm run deploy to put it on your account.
Deadline: Ongoing.
Link: Kitesurf on GitHub