The headless browser for AI agents and web scraping
T

The headless browser for AI agents and web scraping

The headless browser for AI agents and web scraping

API
17,036 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Obscura: A Headless Browser Built for AI Agents and Web Scraping

You know that feeling when you're building a web scraper or an AI agent that needs to interact with JavaScript-heavy pages, and everything just feels... fragile? Puppeteer or Playwright work, but they're heavy, and they weren't really designed for agentic workflows.

That's where Obscura comes in. It's a headless browser specifically built for AI agents and web scraping. Not another Chrome DevTools Protocol wrapper – something leaner, more purpose-built.

What It Does

Obscura is a lightweight headless browser that lets you programmatically navigate web pages, extract content, and handle dynamic JavaScript rendering – all without the overhead of a full browser. It's designed to be used directly from your code, whether you're building a web scraper, an automation pipeline, or an AI agent that needs to "see" what's on a page.

Think of it as a browser engine stripped down to the essentials: DOM parsing, JavaScript execution, network requests, and clean output. No tabs, no UI, no bloat.

Why It's Cool

Here's what makes Obscura stand out:

Agent-friendly output. Instead of dumping raw HTML or screenshots, it can return structured data that's easy for AI models to parse. You get clean text, metadata, and link structures – exactly what an LLM needs to make decisions.

Lightweight and fast. No need to install Chrome or Puppeteer. It runs as a standalone binary or library, which means faster startup times and lower memory usage. Great for serverless functions or CI pipelines.

Built-in anti-bot evasion. It handles common detection techniques (WebGL, canvas fingerprinting, user-agent spoofing) out of the box. You won't have to fight Cloudflare for every scrape.

Simple API for agents. You can call it with a URL and ask for "give me the main content" or "click this button and tell me what changes." It's designed for decision loops, not just one-shot scrapes.

How to Try It

Getting started is straightforward. Clone the repo and check the README for the quickstart:

git clone https://github.com/h4ckf0r0day/obscura.git
cd obscura
# Follow the build/run instructions in the README

Or if there's a prebuilt binary available (check the releases tab), you can just download and run:

./obscura https://example.com

For AI agents, you'd typically use it via its programmatic API. The documentation covers the available endpoints and configuration options.

Final Thoughts

Look, there are a million ways to scrape the web. But if you're building anything that

Did you like this issue?

Join our weekly newsletter

Related Projects

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: May 6, 2026