Cloudflare Makes Kitesurf AI Agent Browser Engine Open Source
Cloudflare has announced that Kitesurf, its experimental browser engine designed for AI agents, is now open source under the Apache 2.0 license.
2 min read
What Happened
Cloudflare has announced that Kitesurf, an experimental browser engine built for AI agents, is now open source [1, 2]. The project is available on GitHub under the Apache 2.0 license [1, 2]. Kitesurf is a stateless browser that runs entirely on Cloudflare Workers [1]. It is designed to be a lightweight and efficient alternative to full browsers like Chromium, using less CPU and memory while scaling across Cloudflare’s global network [1].
Key technical details include:
- The engine parses HTML, applies CSS, executes page JavaScript, and renders screenshots without needing a browser container [1, 2].
- It supports the Chrome DevTools Protocol (CDP), allowing users to connect clients like Puppeteer [1, 2].
- The system consists of three main parts: the Engine for managing sessions and connections, PageScript for running JavaScript, and PageRenderer for drawing results [1].
- It uses an ecosystem of open-source Rust packages compiled to WebAssembly [1].
Cloudflare previously introduced Kitesurf in August and added WebMCP support and new APIs in September [1]. The engine is currently under heavy development, with the team focusing on improving reliability, performance, and compatibility with web standards [1, 2].
Who Is Affected
This update is primarily for developers and those building AI agents [1]. Because Kitesurf uses Dynamic Workers to create isolated environments for different pages, users who wish to deploy their own instance on Cloudflare must have a Workers Paid plan [1, 2]. The software does not include built-in authentication, so developers are advised to protect their deployments using Cloudflare Access or other authentication layers [2].
What to Do Next
Developers can interact with Kitesurf in several ways:
- Inspect and modify: Users can read the code, change it, and contribute to the project via GitHub [1].
- Run locally: To run Kitesurf on a local machine, developers must follow the repository’s build requirements, clone the repository, install dependencies, and start the engine [1]. Using the command
pnpm run devwith Wrangler can build the engine and start a local development server at [1, 2]. - Programmatic use: Users can point an AI harness at the local CDP port or use a NodeJS script with Puppeteer [1].
- Deploy: Once testing is complete locally, the engine can be deployed to a personal Cloudflare account [1].
- Contribute: The team welcomes contributions including code fixes, documentation corrections, or providing small pages that reproduce rendering bugs [1].
About the author
Ali Raza, Founder
Sources
- Kitesurf is now open source — The Cloudflare Blog Official source
- Kitesurf is now open source · Changelog — developers.cloudflare.com Official source
Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes
Questions or something to add?
Ask below. We read every comment and reply when we can.