|

Cloudflare Introduces Kitesurf: An Agent-First Web Browser That Runs Entirely in V8 Isolates on Cloudflare Workers

Cloudflare has launched Kitesurf, a stateless net browser constructed particularly for AI brokers. It runs completely in V8 isolates on Cloudflare Workers, with no Chromium beneath. Browser engines like Chromium have been constructed for people, and their reminiscence and compute overhead makes one-browser-per-agent prohibitively costly. Agents don’t want tabs, extensions, or pixel-perfect 60-fps rendering. They want machine-readable content material, low token overhead, scalability, and isolation in opposition to threats like immediate injection. Kitesurf drops the human-facing elements and retains what fashions use. It already passes 215,000+ Web Platform Tests and is accessible now, free whereas in beta, by way of Browser Run.

Is It Deployable

Yes, as a free beta in Browser Run, behind per-account limits. Treat it as production-adjacent: sturdy for appropriate websites and one-shot duties, with Chromium because the fallback for complicated pages. Adoption price is minimal — current Puppeteer, Playwright, and MCP purchasers work by including a single browser=kitesurf parameter.

  • Company ranges: Startups and indie agent builders profit most from the three–7× decrease CPU and reminiscence footprint. Mid-market SaaS and enterprises already on Cloudflare Workers can swap chosen workloads with one parameter.
  • Industries: AI agent platforms, net knowledge extraction, SaaS automation, aggressive monitoring, PDF/doc era, and search/RAG ingestion pipelines.
  • Applications: Agent net searching, screenshots, HTML extraction, PDF rendering, and bursty one-shot Quick Actions.
  • Potential prospects: AI engineers constructing browser-using brokers, platform engineers scaling automation fleets, knowledge engineers and knowledge scientists operating extraction jobs, and technical founders monitoring per-session infrastructure prices.
  • Not but: Video, WebGL, TLS-fingerprint bot challenges, and lengthy authenticated stateful periods — preserve these on the Chromium default.

Architecture: Engine, PageScript, PageRenderer

Kitesurf splits the browser into remoted Workers parts. The Engine is the one public-facing piece. It speaks the Chrome DevTools Protocol (CDP) over WebSocket plus HTTP REST, and shops every session’s state. Every different part is stateless and disposable.

PageScript is constructed on Dynamic Workers. Each web page or out-of-process iframe will get its personal long-lived isolate with a clear globalThis and DOM. HTML and CSS parsing use Blitz, a modular Rust rendering engine, and Stylo, Firefox’s CSS parser. Because Workers doesn’t help native eval, occasional eval calls run by way of Boa JS, a Rust ECMAScript engine, a runtime on high of a runtime.

PageRenderer rasterizes the computed scene into JPEG/PNG or PDF utilizing blitz-paint and Parley for textual content shaping. A devoted SandboxOutbound employee is the one part allowed to the touch the community. It enforces CORS, injects browser-shaped headers, retains per-page cookie jars, and returns a 403 for something violating coverage.

Benchmarks: 3–7× Cheaper, ~1.7–1.8× Slower

WPT protection grows by a whole bunch of passing assessments weekly. On Cloudflare’s 14-URL corpus (medians of 5 Quick Action runs), Kitesurf used 380 ms CPU per screenshot vs 1,173 ms for Chromium (3.1× much less) and 229 ms vs 877 ms for HTML extraction (3.8× much less). Memory dropped from 271.0 MiB to 57.8 MiB for screenshots (4.7×) and from 273.7 MiB to 39.4 MiB for extraction (7.0×). Chromium stays quicker on wall time: Kitesurf is 1.8× slower on screenshots and 1.7× slower on extraction, largely in rasterization and picture encoding. Since reminiscence and CPU drive the invoice, the commerce favors bursty agent workloads. It additionally runs Doom.



How to Use It, and Current Limits

Existing Puppeteer, Playwright, chrome-remote-interface, and MCP purchasers work unchanged. Add browser=kitesurf to the Browser Run CDP endpoint or Quick Actions API. A public playground with injected Chrome DevTools exhibits DOM, console, community, and per-isolate WebMeeting reminiscence. Kitesurf already renders TodoMVC (vanilla, React, Vue, Angular, Preact), Wikipedia, and Hacker News. Cloudflare plans to open supply Kitesurf so prospects can deploy their very own situations.

Key Takeaways

  • Kitesurf is Cloudflare’s agent-first browser operating absolutely in V8 isolates on Workers, free in beta.
  • It makes use of 3.1–3.8× much less CPU and 4.7–7.0× much less reminiscence than Chromium on frequent agent duties.
  • Chromium remains to be ~1.7–1.8× quicker on wall time; Kitesurf wins on price per session.
  • Existing Puppeteer/Playwright/CDP purchasers work by including a single browser=kitesurf parameter.
  • No video, WebGL, TLS-fingerprint bot challenges, or persistent authenticated periods but.


Check out the Technical detailsAlso, be happy to comply with us on Twitter and don’t neglect to affix our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to accomplice with us for selling your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar and so forth.? Connect with us

The submit Cloudflare Introduces Kitesurf: An Agent-First Web Browser That Runs Entirely in V8 Isolates on Cloudflare Workers appeared first on MarkTechPost.

Similar Posts