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

What Obscura is, the Rust headless browser for AI agents

Описание и применение

Obscura – легковесный браузер‑движок на Rust, совместимый с Playwright и Puppeteer, который снижает потребление памяти на 13‑раз в 10 по сравнению с headless Chrome, но пока не достигает полной совместимости с рендерингом.

Задача

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