AI Agent News/stories/cloudflare-open-sources-kitesurf-its-stateless-browser-for-ai-agents.md

Browsers

Cloudflare open-sources Kitesurf, its stateless browser for AI agents

Cloudflare has released Kitesurf, its stateless browser for AI agents that runs on Workers, as open source under the Apache 2.0 license on GitHub. Developers can now read the code, run it locally, change it, and deploy their own instance to their Cloudflare account.

Source: blog.cloudflare.com/kitesurf-open-source

Kitesurf runs entirely on Cloudflare Workers, parsing HTML, applying CSS, executing page JavaScript and rendering screenshots without a browser container. It supports the Chrome DevTools Protocol, so clients such as Puppeteer can connect to it. Cloudflare says the goal is a lighter browser than Chromium that uses less CPU and memory and scales on demand across its global Workers network.

The codebase builds on Rust packages compiled to WebAssembly, including Blitz for HTML and layout, Stylo for CSS, and Boa for JavaScript, which runs only as a last resort when code cannot run in Dynamic Workers. The engine is split into three parts: the Engine, which manages sessions and client connections, PageScript, which runs the page, and PageRenderer, which draws the result.

To run it locally, developers clone the repository, install dependencies with pnpm and start the engine with pnpm run dev, which serves a development server at 127.0.0.1:8787. Deploying to a Cloudflare account requires a Workers Paid plan, because Kitesurf uses Dynamic Workers to isolate pages. Cloudflare says Kitesurf is under heavy development and asks contributors to open an issue and get a maintainer's approval before submitting a pull request.

Why it matters if you build agents

Agent developers can now self-host Kitesurf on their own Cloudflare account instead of relying only on the Browser Run managed APIs.

Self-hosting requires a Workers Paid plan, and the project is under active development, so expect changes to compatibility and behavior.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe