Obscura: A Rust Headless Browser Built for Agents

Headless Chrome is a wonderful piece of software that's very easy to resent. Picture a scraper that only needs to read a page and click a button. Chrome shows up with a 300 MB install, a two-second cold start and a memory appetite that makes small cloud boxes sweat. Obscura, an open-source headless browser written in Rust, is the first alternative I've seen that made me want to rip Chrome out of an agent pipeline.
What Obscura is
Obscura is a headless browser engine built for web scraping and AI agent automation. It runs real JavaScript through V8, the same engine Chrome uses, embedded via the deno_core crate. Almost everything around V8 is its own Rust code: the DOM tree, the network stack, the cookie jar and, as of a recent release, a rendering engine for screenshots and PDFs. It is Apache 2.0 licensed.
The part that matters for existing code is that Obscura speaks the Chrome DevTools Protocol, or CDP. That's the wire protocol Puppeteer and Playwright use to drive Chrome. Start obscura serve --port 9222, point Puppeteer or Playwright's connectOverCDP at it, and your script thinks it is talking to Chrome. The project calls itself a drop-in replacement. I'd say "drop-in for the common stuff" until you've run your own suite, since it implements a focused set of CDP methods rather than all of Chrome's.
The Obscura numbers, with salt
The README compares itself with headless Chrome: about 30 MB of memory against 200 MB or more, a binary around 70 MiB against 300 MB or more, and page loads around 85 ms against roughly 500 ms. Those are the project's own benchmarks. I believe the direction completely, because skipping a full browser shell saves a lot, but I'd measure on your own pages before quoting the multiplier to a manager.
A quick example
Say your agent checks 200 product pages every hour for price changes. With Chrome, you pool a few heavy browser instances and queue the work. With Obscura, each CDP connection gets its own OS thread and its own V8 isolates, and the server allows up to 128 live connections by default. The Playwright code barely changes: swap the launch call for a connect call to Obscura's port, keep the selectors. Everything else is the same script, using a fraction of the memory.
Stealth mode, and a small sermon
Obscura also ships a stealth build. It randomizes fingerprints per session, hides navigator.webdriver, and blocks 3,520 tracker domains taken from Peter Lowe's long-running ad and tracking list. Tracker blocking is a nice bonus: fewer requests, faster pages, less junk in your agent's context.
The anti-detection half deserves a moment of conscience. Blending in so a site can't tell you're automated is useful for testing your own properties and legitimately reading public pages. It is also exactly what a bad scraper wants. Obscura has an --obey-robots flag. I'd turn it on by default, rate limit politely, and remember that the sites you scrape are run by people paying their own server bills.
The detail that convinced me Obscura matters: Cloudflare says its new agent browser, Kitesurf, announced in August, started when engineers tried porting Obscura to Workers with the help of an AI agent. It didn't work well at first, but the barely working prototype was enough to get the project going. My post on Code Mode makes the same bet for tool calls: do the work in a lean V8 sandbox, not a heavyweight process. Would you trust a browser that's this young with your production scrapers yet?