Camofox Browser
π Description
jo-inc/camofox-browser β a stealth headless browser for AI agents. If you build agents that browse the web, you hit the wall fast: bot detection blocks them instantly. Camofox makes the agentβs browser invisible.
Itβs built on Camoufox, a Firefox fork that spoofs the fingerprint, WebGL, audio, and WebRTC signatures down at the C++ level β so the browser doesnβt look modified because it genuinely isnβt (no detectable JS patches).
The part agents love: it returns the page as an accessibility tree instead of raw HTML, which drops token cost by ~90%. Drop-in replacement for Puppeteer/Playwright.
π§© Features
- C++-level stealth β
navigator.hardwareConcurrency, WebGL renderer, AudioContext, screen geometry, WebRTC all spoofed before JavaScript sees them. - Accessibility-tree output β structured page representation, stable element refs for clicking, ~90% fewer tokens than bloated HTML.
- Agent-shaped API β navigate, click, type, screenshot; search macros for common sites.
- Bypasses Cloudflare / anti-scraping / bot detection without paid stealth-scraping services that bill per request.
Reasoning for
The browsing layer for agentic web automation β the same slot as Browser Use and Browser Harness in this vault, but with stealth as the headline and accessibility-tree token savings as the kicker. Pairs with Bright Data / Firecrawl thinking on data acquisition, except this is the headful-but-invisible end where bot walls are the blocker. The ~90% token reduction overlaps in spirit with Headroom β both make agent context cheaper, at different layers.
Alternatives considered
- CloakBrowser β the Chromium counterpart: same C++-level source patches, but keeps the native Playwright/Puppeteer API and adds
humanizebehavioral spoofing (vs Camofoxβs accessibility-tree token savings). - Browser Use / Browser Harness β agent browsing without the C++-level anti-detection focus.
- Commercial stealth-scraping APIs β do the same fingerprint evasion but charge per request.
- Underlying engine: daijro/camoufox β the Firefox fork itself, if you want to build your own wrapper.
β οΈ Note
Anti-detection browsing is dual-use β appropriate for agents accessing sites youβre authorized to use; respect target sitesβ terms and rate limits.
π Links
π Related notes
- CloakBrowser β Chromium-fork sibling, same C++-level stealth idea
- Browser Use Β· Browser Harness β adjacent agent-browsing tools
- Firecrawl Β· Bright Data β data-acquisition layer
- Headroom β also cuts agent token cost, different layer
- Surfaced in 10 Free GitHub Repos That Replace Paid Tools
Template: tool