Cloudflare open-sources Kitesurf browser engine for AI agents
Tech

Cloudflare open-sources Kitesurf browser engine for AI agents

TechNews Editorial
TechNews EditorialDec 2, 2026 · 2 min read
Share

Why it matters

Teams can inspect and run Kitesurf for browser automation, while accounting for its developing standards support and deployment requirements.

The facts

  • Cloudflare open-sourced its Kitesurf browser engine for AI agents under the Apache 2.0 license.
  • Kitesurf runs locally with Wrangler or on Cloudflare Workers, where deployment requires a Workers Paid plan.
  • Cloudflare says standards support is still developing; self-hosted deployments need authentication.

Advertisement

Cloudflare has open-sourced Kitesurf, its browser engine for AI agents, on GitHub under the Apache 2.0 license. It runs on Cloudflare Workers rather than in a Chromium container, exposes the Chrome DevTools Protocol (CDP), and can be built and run locally with Wrangler.

Cloudflare introduced Kitesurf in August as a lightweight option for automated workloads. It uses the Blitz and Stylo engines and runs each page in its own Dynamic Worker. Celso Martinho, Rui Figueira, Bernardo Pereira and Luís Duarte announced the source release after commenters asked whether Cloudflare would make the code available.

The engine splits pages across Workers

The repository includes the Worker and CDP server, a page runtime and DOM shim, a Rust core compiled to WebAssembly, a scene rasterizer and a terminal client. Blitz handles HTML parsing, the DOM, layout and painting. Stylo handles the CSS cascade, Boa runs JavaScript, Linebender libraries provide text and 2D graphics, and Krilla produces PDF output. Cloudflare’s stated goal is to load and interact with pages while using less CPU and memory than a full browser such as Chromium.

For a navigation request, the Engine receives Page.navigate over a CDP WebSocket and starts an isolate for PageScript. PageScript parses the page and runs its JavaScript. When a client sends Page.startScreencast, PageRenderer turns frames into JPEG images for the Engine to return.

A local build compiles the Rust core before Wrangler serves a CDP endpoint on port 8787. An unmodified Puppeteer client or an agent harness can connect to that endpoint. Deployment on Cloudflare requires a Workers Paid plan because each page uses an isolated Dynamic Worker.

A standalone experimental server module with amber status lights and twin cable connectors sits isolated on a dark mounting surface.
Illustration: AI & Tech News

Standards support is still developing

Cloudflare calls Kitesurf a project under heavy development and publishes a Web Platform Tests page for its standards coverage. Its current limits include no video, WebGL, bot-challenge handshakes requiring a real TLS fingerprint, or long-lived authenticated sessions. Jay Simons, a design professional who shared the release on LinkedIn, advised keeping experiments separate from production browser jobs while standards support and rendering fidelity improve.

Self-hosted deployments also need an authentication layer. The repository README warns: “Do not deploy Kitesurf without authentication in front of it.” That requirement and the Workers Paid plan are practical considerations for teams evaluating the engine for browser automation.

Discussion among users of the Hermes agent framework on Reddit focused on bot detection, while a Hacker News commenter raised concern about dependence on Cloudflare’s ecosystem. Cloudflare’s Browser Run documentation now explains how to select Kitesurf instead of managed Chromium. The company says it will publish further changes through its blog and changelog.

What this means

Cloudflare introduced Kitesurf in August as an automated workload engine using Blitz for HTML layout, Stylo for CSS cascade, Boa for JavaScript, and Krilla for PDF output. Its architecture relies on a Rust core compiled to WebAssembly, routing Page.navigate commands over a CDP WebSocket while serving a local endpoint on port 8787 for Puppeteer clients and agent harnesses. On December 1, 2026, OpenAI added browser and desktop control to Codex Cloud to test web applications and investigate bugs. Cloudflare's Browser Run documentation now outlines selecting Kitesurf instead of managed Chromium, while specific technical limits include an absence of video support, WebGL, and long-lived authenticated sessions.

Newsletter

Get the best AI & tech news daily

A concise daily digest. Unsubscribe anytime.

We use your email only to send this newsletter.

Keep reading