camofox-browser

Run a stealth, fingerprint-spoofing browser as a REST API to help AI agents and automation scripts bypass bot detection and reliably scrape the web.

Run a stealth, fingerprint-spoofing browser as a REST API to help AI agents and automation scripts bypass bot detection and reliably scrape the web.

The gist

camofox-browser is an anti-detection browser server designed for AI agents. Built by the team behind the personal AI agent "jo", it wraps Camoufox, a Firefox fork with C++ level fingerprint spoofing. This solves the problem of automated browsers being blocked by common bot-detection systems like Cloudflare, enabling agents to reliably access and interact with the modern web for automation and data extraction tasks. It provides a stable, low-level foundation for agent browsing capabilities.

What it does

  • Bypass bot detection from Google and Cloudflare using C++ level fingerprint spoofing.
  • Interact with web pages via a REST API using stable element references.
  • Receive token-efficient accessibility snapshots of pages, which are smaller than raw HTML.
  • Route all browser traffic through a proxy with automatic locale and timezone matching.
  • Extract transcripts from YouTube videos without requiring an API key.
  • Capture Playwright traces (DOM snapshots, network, console) for debugging sessions.

How it works

The user self-hosts the server via Docker or Node.js. An AI agent or script interacts with it through a REST API to control a browser instance, sending commands to navigate, click, and type. The server returns accessibility snapshots, screenshots, or extracted data as JSON. The core mechanism uses a modified Firefox browser (Camoufox) to spoof its fingerprint at the C++ level, evading detection. The tool is open-source and free to use.

Best for

This tool is best for developers building AI agents or complex web scrapers that need to operate on modern websites protected by sophisticated anti-bot systems.

Watch out for

As a self-hosted server, it requires technical setup and configuration (e.g., environment variables, Docker). It is based on Firefox, so Chromium-specific features like Playwright's video recording are not supported, offering session tracing as an alternative.