TAU-HOME.COM
LOADING

Cloudflare Open-Sources Kitesurf: A Stateless Browser for AI Agents

Cloudflare has open-sourced Kitesurf under the Apache 2.0 license, providing a stateless browser engine designed specifically for AI agents that runs directly o

tau · November 21, 2026

#Cloudflare #Kitesurf #AIAgent #WebAssembly #OpenSource

Cloudflare Open-Sources Kitesurf: A Stateless Browser for AI Agents

On November 13, 2026, Cloudflare officially open-sourced 'Kitesurf'—a stateless browser engine built exclusively for artificial intelligence (AI) agents—on GitHub under the Apache 2.0 license.

Cloudflare Kitesurf browser engine architecture and integration workflow overview

Image source: Cloudflare

Image Credit: Cloudflare

This release fulfills Cloudflare's prior commitment made during its initial introduction in August and subsequent updates featuring WebMCP support in September. Developers can now inspect the source code, run and modify it locally, and deploy their own instances directly to their Cloudflare accounts.

A Lightweight, Stateless Browser Built for AI Agents

Unlike traditional setups that run heavy Chromium-based browser containers, Kitesurf operates entirely on top of Cloudflare Workers, Cloudflare's serverless computing platform.

  • Core Mechanics: It parses HTML, applies CSS, executes page JavaScript, and renders screenshots directly without requiring a browser container.
  • Resource Efficiency: It consumes significantly less CPU and memory than a full-sized browser while scaling on demand across Cloudflare's global edge network.
  • Protocol Support: It supports the Chrome DevTools Protocol (CDP), allowing developers to connect existing automation tools and AI agent harnesses such as Puppeteer seamlessly.

Powered by a Rust and WebAssembly Ecosystem

Kitesurf’s internal architecture combines Cloudflare's developer platform APIs with an ecosystem of open-source Rust packages compiled to WebAssembly (Wasm).

  • Blitz: Provides HTML parsing, the Document Object Model (DOM), layout, and painting.
  • Stylo: Handles CSS parsing, cascading, and computed styles.
  • Boa: Runs JavaScript inside WebAssembly as a fallback mechanism when JavaScript cannot execute directly in Dynamic Workers.
  • Linebender & Krilla: Manage text layout, 2D graphics, and PDF output generation.

The repository is structured around three primary components: the Engine managing browser sessions and client connections, PageScript running page execution and JavaScript, and PageRenderer drawing the visual output.

Local Execution and Deployment Requirements

Developers can clone the repository, install dependencies, and run the engine locally. After compiling the Rust core dependencies, a local development server starts up, allowing interaction via Chrome DevTools or programmatic Node.js scripts.

git clone https://github.com/cloudflare/kitesurf.git
cd kitesurf
pnpm install --frozen-lockfile
pnpm run dev

Once running, developers can connect via http://127.0.0.1:8787 to test browser automation or script interactions using Puppeteer. To deploy the engine to a personal Cloudflare account after local testing, users can run pnpm run deploy from the repository root.

Note that deploying to a personal account requires a Workers Paid plan because Kitesurf utilizes Dynamic Workers to create isolated worker instances for individual pages.

Sources

Impact-Site-Verification: 9b3ebd10-6c45-44cf-a014-5b8c19b7b285