Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

What Obscura is, the Rust headless browser for AI agents

说明与用途

Obscura 是一个基于 Rust 的轻量级无头浏览器引擎,通过 V8 运行 JavaScript,兼容 Playwright 和 Puppeteer,显著降低内存占用,但渲染效果尚未与 Chromium 完全一致。

问题

Headless Chrome consumes excessive memory and startup time when many concurrent sessions are needed for AI agents.

结果

Obscura delivers a dramatic memory advantage over headless Chromium, with comparable performance on static pages and similar latency on dynamic sites. It is fully compatible with existing automation tools via CDP and offers a lightweight, no‑Chrome alternative for AI agent workloads.

工作流

  • Download the aarch64‑linux binary from the latest release
  • Extract the tarball
  • Run ./obscura fetch https://example.com --eval "document.title" to evaluate JavaScript
  • Run ./obscura serve --port 9222 --stealth to start a CDP server
  • Connect Playwright or Puppeteer using connectOverCDP to the local port
  • Navigate, evaluate, and capture pages as needed
  • Optionally use the rendering path with --stealth or the Docker image

证据

Obscura landed on GitHub in April 2026 and has collected 24,624 stars in five months.

来源

Its reproducible advantage is memory. In my tests it used about 38 MB per session against 532 MB for headless Chromium on the same page.

来源

Playwright and Puppeteer connect without a single code change: point connectOverCDP at the port obscura serve opens.

来源

I downloaded the aarch64-linux variant of v0.2.1 and ran it in an ARM64 Linux container on 4 September 2026, measuring wall time and peak resident memory across the process tree.

来源

  • 记录日期: 2026-10-18T21:41:26.691Z