Chrome Was Never Meant to Be a Server Farm

Lightpanda is a browser built from scratch in Zig for machines, not humans — and it bets that AI agents would rather not pay Chromium's memory bill.
For most of the web’s history, a browser was a thing with a face. It had tabs, an address bar, a back button, and a human sitting in front of it deciding what to click. The headless variant — the same engine with the face removed — existed mostly for QA testers and SEO shops, a niche tool for a niche need.

Then AI agents arrived, and the niche became the load-bearing wall. Agents that research, book, fill forms, and scrape need to actually load web pages: run the JavaScript, wait for the single-page app to hydrate, click the button, read what comes back. As Digiday reported, headless browsing has moved from a testing utility to the substrate for products like Perplexity’s Comet, with OpenAI and Google both rumored or confirmed to be building browsers of their own. The machine-traffic share of the web is climbing, and almost all of it runs on one engine: Chromium, in headless mode, at scale.
That is the premise Lightpanda attacks. Its argument, laid out plainly in the project’s README and homepage, is that Chrome is the wrong tool for this job — a desktop application pressed into server duty, carrying a rendering engine nobody asked for and a memory footprint that turns “run a thousand browser sessions” into a line item someone in finance will eventually notice.
The economics of a 2-gigabyte page fetch
The numbers Lightpanda publishes are the kind that make infrastructure people sit up. In a benchmark requesting 933 real web pages over the network on an AWS EC2 m5.large instance, Lightpanda completed 100 pages in 5 seconds with 123MB of peak memory. Headless Chrome took 46 seconds and 2GB for the same workload — roughly 9x slower and 16x hungrier, by Lightpanda’s own measurements.
Self-reported benchmarks deserve the usual skepticism, but the shape of the claim is credible because the cause is structural. A browser that never paints a pixel, never composites a frame, never manages a window system simply has less to do. Chrome’s headless mode still drags along an enormous amount of machinery designed for humans; Lightpanda’s pitch is that if you’re a crawler or an agent, you’re paying rent on rooms you never enter.
The company frames the cost in terms that go beyond RAM: Chrome is slow to start, with startup delays multiplying across processes, and its persistent shared state — cookies and sessions that survive across tasks — is a security liability when what automation actually wants is isolated, disposable environments. Each fetch or agent session gets a clean room, not a shared apartment.
Not a fork. Genuinely not a fork.
The striking part is the build strategy. The browser landscape of the last fifteen years is largely a story of forking Chromium or patching WebKit: Brave builds on the Chromium core, and even Mozilla’s browser explainer frames the market as a handful of rendering engines interpreting the same standards. Writing a new browser engine is widely considered a graveyard — hundreds of Web APIs, decades of accumulated quirks, and a compatibility bar set by sites that were only ever tested against Chrome.
Lightpanda’s answer is to narrow the problem until it’s tractable. It doesn’t need to render, so there’s no layout engine, no compositing, no GPU path. It’s written in Zig, a low-level language with explicit memory control, and it assembles proven components rather than reinventing them: V8 for JavaScript, libcurl for HTTP, and html5ever — originally from the Servo project — for parsing. The DOM tree, the DOM APIs, XHR and Fetch, cookies, proxies, network interception, and a CDP/WebSockets server are implemented in-house.
This is where the honest description matters: a large part of the value is glue, but it is glue of a very particular and difficult kind. Bridging V8 to a hand-rolled DOM, implementing enough of the Web API surface that React apps actually hydrate, and keeping the whole thing inside a 123MB envelope is systems work, not plumbing. The project tests itself against the standardized Web Platform Tests, and the company claims 1.7 million passing subtests across 10,000 commits — a serious compatibility effort by any measure, and the boring, unglamorous part where most from-scratch browsers die.
The compatibility trick
Here is the cleverest decision in the project: Lightpanda speaks the Chrome DevTools Protocol. That means Puppeteer and Playwright — the automation libraries that, per the State of JS survey cited by fast.io, have become the default tooling for exactly this workload — can drive it as a drop-in replacement. An existing automation stack doesn’t get rewritten; it gets pointed at a different endpoint.
On top of that, Lightpanda ships a native MCP server, speaking JSON-RPC over stdio, so AI agents can use it as a tool directly rather than through a scripting layer. There’s also a fetch mode that dumps pages as HTML or Markdown — the LLM-ready output that agent frameworks increasingly expect, converting messy markup into model-readable text. And notably, it ships with a flag to respect robots.txt, a small signal about what kind of machine traffic it wants to enable.
That last point is not decorative. The Digiday reporting describes an arms race: AI headless browsers presenting as ordinary Chromium visitors, bypassing bot blockers, solving CAPTCHAs, and a 336% year-over-year increase in websites blocking or redirecting AI bots. Cloudflare’s Browser Run has made “well-behaved bot mode” — cryptographically identifying itself as a bot — a selling point, explicitly positioning against competitors that evade bot protections. Lightpanda’s robots.txt option puts it on the polite end of that spectrum, though a flag is only as meaningful as the operator who sets it.
A crowded field with the same diagnosis
Lightpanda is not alone in diagnosing Chrome-as-infrastructure as the bottleneck. Browserbase has built an entire business on managed browser sessions for agents, claiming 10,000 companies and 800,000 weekly SDK downloads — its answer to the cost problem is operations at scale, not a new engine. Cloudflare’s Browser Run scales to thousands of cloud-hosted browsers on its global network. And Obscura, a Rust headless engine with similar claims — 30MB memory versus Chrome’s 200+, an 85ms page load — goes further, advertising built-in anti-detection and claiming its prototype inspired Cloudflare’s first agent-browser attempt.
The field is converging on the same insight from different directions: the web-for-machines needs infrastructure purpose-built for machines. Browserbase sells the operations layer; Cloudflare sells the network; Obscura and Lightpanda sell the engine itself. Lightpanda’s differentiator is the from-scratch, no-Chromium-lineage approach and the Zig implementation — which is either a genuine architectural advantage or a hiring constraint, depending on how many Zig engineers you can find.
The project has earned visible goodwill. The company points to public praise from Guillermo Rauch, Sébastien Chopin, and Mitchell Hashimoto — names that carry weight in the JavaScript and infrastructure communities — citing speed, memory footprint, and cost. It also offers a hosted cloud service with a choice of Chrome or Lightpanda engines, which is a quietly honest positioning: even the vendor isn’t claiming its engine replaces Chrome for everything, yet.
The rough edges, in plain view
The README is refreshingly candid about what doesn’t work. CORS is unimplemented. The project self-describes as beta, a work in progress where “you may still encounter errors or crashes.” There are hundreds of Web APIs and Lightpanda covers a subset; the coverage will grow, but today a sufficiently modern or exotic site can simply fail. There’s a tension worth noting: the homepage declares version 1.0 and “production-ready,” while the repository says beta — a gap between marketing and engineering that readers should resolve in favor of the repository.
The deployment story has friction too. No native Windows binary — WSL is the prescribed path. The Linux binaries link against glibc and fail on musl-based distros like Alpine, which matters because Alpine is precisely the minimal-container environment where a 123MB browser is most attractive. And telemetry is on by default, with an environment variable to disable it — a defensible choice for a funded project, but one that privacy-conscious operators of a headless automation tool will notice, and the irony is not lost.
The deeper open question is compatibility over time. The web’s API surface does not sit still, and a from-scratch engine is permanently running to stay in place. Chromium’s compatibility is maintained by an industrial complex at Google; Lightpanda’s is maintained by a startup and, hopefully, a community. The WPT discipline suggests they know this is the fight.
Why this matters beyond one repo
Strip away the benchmarks and the Zig novelty, and Lightpanda is making a structural argument about the web’s future: that machine traffic is becoming a first-class citizen, and first-class citizens deserve purpose-built infrastructure rather than hand-me-downs from the desktop. If agents end up fetching a meaningful fraction of the web’s pages, the cost delta between 2GB and 123MB per workload stops being an optimization and becomes an enabler — the difference between running ten agent sessions on a box and running a hundred.
It’s also a small, real counterexample to the received wisdom that nobody starts a browser engine anymore. Lightpanda didn’t succeed at building a general browser; it succeeded at shrinking the problem until building a browser was feasible. No rendering, no GUI, protocol compatibility with the existing tooling, and standardized tests as the yardstick. That recipe — narrow the spec, keep the interface, test relentlessly — is portable to other domains where agents are currently driving software built for humans.
Whether Lightpanda itself wins the engine race is a separate question from whether its thesis is right. Obscura, Cloudflare, and Browserbase are all betting on the same future. But the thesis looks increasingly hard to argue with: the web’s next billion users may not have faces at all, and the browsers serving them shouldn’t pretend otherwise.
Sources
- Brave: The browser that puts you first
- h4ckf0r0day/obscura: The headless browser for AI agents ...
- Headless browser agents are a dead end. The future is ...
- Google Chrome - Apps on Google Play
- Lightpanda | The headless browser
- Browserbase
- What is a web browser?
- Cloudflare Browser Run - Headless Browsers for AI Agents
- Web browser
- WTF is headless browsing, and how are AI agents fueling it?
- Google Chrome - The Fast & Secure Web Browser Built to ...
- Best Headless Browsers for AI Agents: Top Tools (2026)