2026-11-26 15:39 UTC

Cloudflare open-sources experimental Workers-based browser engine Kitesurf

state: significantheat: mediumuncertainty: mediumrelevance: highagentic-browser open-source browser-infrastructureCloudflare

What is this?

Cloudflare’s Kitesurf is an experimental, agent-oriented browser engine built from open-source Rust components and designed to run on Cloudflare Workers. Cloudflare first announced Kitesurf in August 2026 as a beta offering in Browser Run; its August blog said the source would be released later. By November 13–17, Cloudflare had made the repository public and published an open-source announcement. The repository describes an engine that parses HTML, applies CSS, runs page JavaScript and renders screenshots without Chrome or a browser container, while exposing a Chrome DevTools Protocol endpoint usable by clients such as Puppeteer. It is not a full Chrome implementation. Running it on Cloudflare requires a paid Workers plan and Dynamic Workers; the public repository also warns deployments need authentication. The supplied sources establish availability and intended capabilities, but do not provide independent performance, compatibility or adoption evidence.

Why it matters

Kitesurf makes a different trade-off from shipping a full desktop browser: a smaller, stateless browser substrate that can run near Cloudflare’s edge and be controlled through familiar CDP tooling. If it proves capable enough for agent tasks, it could lower the infrastructure burden of running browser automation at scale and give developers an inspectable, modifiable alternative to Chrome-based containers. The open-source release broadens access to the implementation, but deployment is tied to Cloudflare’s paid Workers infrastructure, and the project’s experimental status and limited Chrome compatibility constrain what can be inferred today.

Current assessment

New: Cloudflare has open-sourced Kitesurf, following its August 2026 announcement that Kitesurf was available in beta through Browser Run and its stated intention to open-source it later. The public GitHub repository is the primary release artifact; Cloudflare’s open-source blog post is reported in web results and a later HN item, while the supplied HN-linked repository text provides the implementation and usage details. Kitesurf uses Blitz for HTML/DOM/layout/painting, Stylo for CSS, and Boa for JavaScript, with Rust components compiled to WebAssembly. It exposes CDP for tools such as Puppeteer, and supports local builds as well as deployment on Workers. Cloudflare describes the design as agent-focused; search-result snippets for Cloudflare documentation say it trades human-oriented browser features and pixel-perfect rendering for priorities such as context, scalability, performance and cost. Those are design aims, not independently verified results. Important limits: the README calls the engine experimental and explicitly says it is not a full Chrome implementation; some DevTools features do not work yet. Cloudflare deployment requires Dynamic Workers on a paid plan, and an unauthenticated deployment could let anyone browse through the engine, make outbound requests using the account, and consume paid resources. No benchmarks, real-world adoption figures, or broad site-compatibility evidence are supplied. Track compatibility, operational costs and security practices before treating it as a general replacement for browser automation stacks.

Measured heat

now 0 pts/hpeak 11 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 306h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-13 21:25 (minted)⭐ origin echo-reconstructedThe HN post points directly to Cloudflare’s newly public source repository, which is the primary artifact announcing the open-source release
Cloudflare on github (echo) · attributed from hn.story.50489689 · published time unknown
—
11-13 21:10first on hacker news · published · lag ?Kitesurf now open source – Cloudflare's agentic browser on Dioxus Blitz
satvikpendem
—
11-13 21:10amplified on hacker newshn.story.50489689
satvikpendem
peak 2 · 0 comments · 26% of case engagement
11-16 15:17amplified on hacker news 👑hn.story.50518495
drodio
peak 6 · 0 comments · 75% of case engagement
11-13 21:21our radar first saw it · lag ?discovery anchor: hn.story.50489689—
pace: p29 vs 2096 stories at the 168h mark (now 306h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind abmaze-protein-fitness-agent-benchmark (0.7x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnKitesurf now open source – Cloudflare's agentic browser on Dioxus Blitz
Retrieved article excerpt

Open article · Retrieved 2026-11-13T21:22:25.569455+00:00

[Kitesurf logo](https://github.com/cloudflare/kitesurf/blob/main/.github/assets/kitesurf_logo.png)

# Kitesurf

Kitesurf is an experimental browser engine that runs on Cloudflare Workers. It
parses HTML, applies CSS, runs page JavaScript, and renders screenshots without
Chrome or a browser container.

Kitesurf speaks the [Chrome DevTools Protocol (CDP)](https://chromedevtools.github.io/devtools-protocol/),
so you can use it with CDP clients such as Puppeteer.

Important

Kitesurf requires Cloudflare Dynamic Workers to create isolated workers for
pages. Dynamic Workers are part of the [Workers Paid plan](https://developers.cloudflare.com/dynamic-workers/pricing/).
Local development uses `wrangler dev`. A Cloudflare Workers Paid plan is
required to run Kitesurf on Cloudflare.

## Requirements

- [Bazelisk](https://github.com/bazelbuild/bazelisk), installed as `bazel`.
  Bazel builds everything. It downloads the pinned Bazel, Rust toolchains,
  wasm-bindgen, and binaryen itself.
- Node.js 22 or newer
- pnpm 9.15.4, which the repository pins in `package.json`
- On macOS, GNU tar (`brew install gnu-tar`)
- Rust through [rustup](https://rustup.rs/), only for editing the vendored
  crate patches. `rust-toolchain.toml` pins the same nightly that Bazel uses.

Install pnpm separately if it is not already available:

```
npm install --global [email protected]
```

## Build and run locally

Clone the repository and install its dependencies:

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

Build and start the local engine:

```
pnpm run dev
```

The engine listens on `http://127.0.0.1:8787`. Visit
`http://127.0.0.1:8787/health` to confirm that it is running.

The root URL shows the landing page. It has a form to open a URL in Chrome
DevTools, example pages, and the CDP endpoints for agents and other clients.
See [Use Chrome DevTools](https://github.com/cloudflare/kitesurf#use-chrome-devtools).

`pnpm run dev` builds the WebAssembly modules and the page and renderer bundles
with Bazel, then starts `wrangler dev`. The first build compiles the Rust core
and its vendored crates, which takes a while; later builds reuse Bazel's cache.

Set `KITESURF_PORT` when port `8787` is already in use:

```
KITESURF_PORT=8799 pnpm run dev
```

## Connect with Puppeteer

Install `puppeteer-core` in the project that will control Kitesurf. Then connect
to the browser WebSocket endpoint:

```
import puppeteer from "puppeteer-core";

const browser = await puppeteer.connect({
  browserWSEndpoint: "ws://127.0.0.1:8787/devtools/browser",
});

const page = await browser.newPage();
await page.goto("https://example.com/");
await page.screenshot({ path: "page.png" });

await browser.disconnect();
```

Use the port from `KITESURF_PORT` if you selected a different port. HTTP
discovery is available at `http://127.0.0.1:8787/json/version`.

## Use Chrome DevTools

With `pnpm run dev`, open `http://127.0.0.1:8787/` in Chrome. Enter a URL to
inspect, or select one of the example pages. DevTools opens in the tab on that
page. To go to DevTools directly, open
`http://127.0.0.1:8787/?url=https://example.com`, or
`http://127.0.0.1:8787/?inspect=1` for a blank page.

If you built the bundled frontend, `pnpm run dev` serves it from the engine's
own origin. See
[Use the bundled DevTools frontend](https://github.com/cloudflare/kitesurf#use-the-bundled-devtools-frontend).
Otherwise, the DevTools frontend comes from
`chrome-devtools-frontend.appspot.com`, the build that Google hosts for Chrome.
The hosted frontend has these limits:

- The first time it connects, Chrome asks whether
  `chrome-devtools-frontend.appspot.com` can access apps on this device. Select
  **Allow**.
- If you block this access, DevTools says that the WebSocket disconnected. To
  allow it again, click the site information icon to the left of the address.
  Then allow the access and reconnect DevTools.
- The frontend can connect only to `127.0.0.1`. Thus it does not work with a
  deployed engine.

You can also use `chrome://inspect`:

1. Open `chrome://inspect/#devices` in Chrome. Type or paste it into the address
   bar because web pages cannot link to it.
2. Select **Discover network targets**.
3. Select **Configure...** and add `127.0.0.1:8787`.
4. Under **Remote Target**, select **inspect** next to **kitesurf**.
5. Enter a page URL in the address bar above the screencast.

Use the port from `KITESURF_PORT` when you select a different local port. Chrome
discovers targets with plain HTTP and WebSocket connections. The `chrome://inspect`
workflow cannot reach an HTTPS engine. Use it with a local engine instead.

Kitesurf provides a CDP endpoint, not a full Chrome implementation. Some Chrome
DevTools features do not work yet. We are working to add more support over time.
Puppeteer and other CDP clients can connect to
`ws://127.0.0.1:8787/devtools/browser`.

### Use the bundled DevTools frontend

Kitesurf can serve the Chrome DevTools frontend from its own origin. Then
DevTools works without the hosted frontend, its permission prompt and the
`127.0.0.1` limit. A deployed engine always uses this copy. The frontend is the
prebuilt build that Google publishes for Chromium. The default build does not
include it.

#### Build the frontend

The `--config=devtools` Bazel option adds the frontend to the build. The first
build with it downloads the frontend (about 250 MB). Bazel keeps the download
in its cache for later builds.

To build the frontend once, run this command from the repository root:

```
bazel run --config=devtools //packages/engine:dev_build
```

To include the frontend in every local build, add the option to
`.bazelrc.user`. Git ignores this file. Then `pnpm run build` and
`pnpm run dev` include the frontend.

```
echo 'common --config=devtools' >> .bazelrc.user
```

The build copies the frontend to `packages/engine/public/inspector/`. Git
ignores this directory. A build without the option removes it. To turn the
frontend off, remove the line from `.bazelrc.user`.

#### Run the frontend locally

1. Build the frontend as described above.
2. Start the engine with `pnpm run dev`. The engine serves the bundled frontend
   when the build includes it, and the hosted frontend when it does not.
3. Open `http://127.0.0.1:8787/` in Chrome. Enter a URL to inspect, or select
   one of the example pages. DevTools opens in the tab on that page.

To start on a page, open `http://127.0.0.1:8787/?url=https://example.com`.

#### Rebuild the frontend

Use the smallest step that fixes the problem:

- To copy the frontend files again, delete the copy and build again:

  ```
  rm -rf packages/engine/public/inspector
  bazel run --config=devtools //packages/engine:dev_build
  ```
- To extract the archive again, for example after you change
  `bazel/devtools_frontend.BUILD`, fetch it again and then build:

  ```
  bazel fetch --force --repo=@devtools_frontend --config=devtools
  bazel run --config=devtools //packages/engine:dev_build
  ```

  Bazel extracts the archive from its cache. To download the archive again
  from Google, add `--repository_cache=` to the `bazel fetch` command.

Do not use `bazel clean --expunge` for this. It also removes the WebAssembly
build and the rest of the Bazel cache.

#### Update the frontend version

Two pins select the frontend version:

- `DEVTOOLS_FRONTEND_REV` and the values after it in `MODULE.bazel` select the
  bundled frontend. The comment above them tells you how to select a new
  snapshot.
- `KITESURF_INSPECTOR_FALLBACK_URL` in the `local` environment of
  `packages/engine/wrangler.jsonc` selects the hosted frontend. Use the
  Chrome commit that
  `https://chromiumdash.appspot.com/fetch_version?version=<chrome-version>`
  returns in `hashes.chromium`.

Keep the two pins on the same Chrome version. After you change
`MODULE.bazel`, the next build downloads the new archive.

## Build and test

The pnpm scripts are front ends to Bazel:

```
pnpm run build                    # bazel run //packages/engine:dev_build
pnpm run check                    # type checks, bundles, and repository checks
pnpm run test:unit                # engine vitest and Rust host tests
pnpm run test:e2e <file-substring>
pnpm run format:check             # oxfmt; pnpm run format rewrites the same files
pnpm run format:rust              # format Rust with Bazel's pinned rustfmt
pnpm run lint                     # oxlint, the custom lint rules, and Rust lint
```

The Rust formatter rewrites tracked and non-ignored untracked files, excluding
paths in `.oxfmtrc.json`.

`pnpm run build` copies the Bazel-built WebAssembly, bundles, and RBI files into
the source tree, where `wrangler dev` reads them. Other targets run directly,
for example `bazel test //tests/e2e:gate` for the full e2e suite. Another Bazel
workspace can depend on this repository as a module.

## Technology stack

Kitesurf combines several open-source Rust projects:

- [Blitz](https://github.com/DioxusLabs/blitz) provides HTML parsing, the DOM,
  layout, and painting. It is licensed under `MIT OR Apache-2.0`.
- [Stylo](https://github.com/servo/stylo) provides CSS parsing, cascading, and
  computed styles. It is licensed under `MPL-2.0`.
- [Boa](https://github.com/boa-dev/boa) runs page JavaScript inside WebAssembly.
  It is licensed under `Unlicense OR MIT`.
- [Linebender](https://linebender.org/) libraries provide text layout and 2D
  graphics, including [Parley](https://github.com/linebender/parley),
  [Vello](https://github.com/linebender/vello),
  [Kurbo](https://github.com/linebender/kurbo), and
  [Peniko](https://github.com/linebender/peniko). These libraries are licensed
  under `Apache-2.0 OR MIT`.
- [Krilla](https://github.com/LaurenzV/krilla) generates PDF output. It is
  licensed under `MIT OR Apache-2.0`.

Kitesurf patches its Rust dependencies. The patch series are in
[`scripts/patches/`](https://github.com/cloudflare/kitesurf/blob/main/scripts/patches), and Bazel applies them itself.

## Cloudflare deployment

Warning

Do not deploy Kitesurf without authentication in front of it. Use
[Cloudflare Access](https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#manage-access-to-workersdev)
(Cloudflare Zero Trust) or another authentication layer. The engine has no
authentication of its own. A person who has the URL can:

- Open DevTools and browse the web through your engine.
- Connect Puppeteer and other CDP clients to it.
- Send outbound requests that come from your Cloudflare account.
- Use CPU time and Dynamic Workers that your account pays for.

The `workers.dev` URL is public by default. Its name follows a predictable
pattern: `kitesurf.<your-subdomain>.workers.dev`.

To deploy the engine as a Worker on your Cloudflare account:

1. Deploy the engine. Run the command from the repository root. In a package
   directory, use `pnpm -w run deploy`.

   ```
   pnpm run deploy
   ```
2. Protect the Worker URL with Cloudflare Access immediately. Follow
   [Manage access to `workers.dev`](https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#manage-access-to-workersdev).
   For a custom domain or route, protect it with a
   [self-hosted Access application](https://developers.cloudflare.com/cloudflare-one/applications/configure-apps/self-hosted-public-app/).
3. Open the Worker URL in Chrome. Access asks you to sign in. Then the landing
   page opens. Enter a URL to open it in DevTools.

Between steps 1 and 2, the engine is public. To prevent this gap, turn on Access
for all Workers in the account before you deploy. The `workers.dev` page in
step 2 tells you how.

The command builds the engine with Bazel and uploads it with Wrangler. Wrangler
uses the account of `wrangler login`, or `CLOUDFLARE_ACCOUNT_ID` and
`CLOUDFLARE_API_TOKEN`. The command sends other arguments to `wrangler deploy`,
for example `--name <worker-name>`. Without `--name`, the Worker name is
`kitesurf`.

To build the deploy without an u
satvikpendem20
🟧 echo.github ⭐The HN post points directly to Cloudflare’s newly public source repository, which is the primary artifact announcing the open-source releaseCloudflare——
🟧 hnKitesurf, Cloudflare's browser engine for AI agents, is now open sourcedrodio60

Interpretation history

Decision trace