Camoufox Browser Server: Undetectable Infrastructure for AI Agents, Free & Open-source
What is Camoufox?
Camofox-browser is an anti-detection server for AI agents, built on Camoufox’s C++ Firefox fork. It bypasses bot detection by spoofing fingerprints at the engine level, avoiding common Playwright blocks. Developers need it because it provides stable element references and token-efficient accessibility snapshots, ensuring reliable web interaction.
Its lightweight design allows easy deployment on low-resource infrastructure, enabling AI agents to browse the real web without being flagged or blocked by security systems like Cloudflare.
Why It Is Built?
AI agents struggle to browse the web because standard tools like Playwright and Headless Chrome get blocked instantly. Even "stealth" plugins often give you away.Camoufox solves this by modifying Firefox at its core C++ level.
It spoofs your digital fingerprint, like your hardware details and screen geometry, before any website code can even check it. There are no messy workarounds or obvious tells.
Features
Here is the feature list, stripped down to what actually matters for your workflow:
Core Stealth & Performance
- Undetectable by Design: Patches Firefox at the C++ level to bypass Cloudflare, Google, and major bot detectors. No shims, no tells.
- Tiny Footprint: Idles at ~40MB RAM. Runs smoothly on a $5 VPS or Raspberry Pi alongside your other services.
- Token-Efficient: Sends accessibility snapshots instead of bloated HTML, reducing context usage by ~90%.
Agent-First Interaction
- Stable Element IDs: Click buttons using reliable
e1,e2refs that don’t break when the DOM shifts. - Structured Extraction: Pass a JSON schema to extract specific data points directly from the page snapshot.
- Smart Macros: Built-in shortcuts for Google, YouTube, Amazon, Reddit, and 10+ other sites.
Real-World Browsing
- Auth Made Easy: Import Netscape cookies or use VNC for visual interactive logins. Session storage persists for reuse.
- Geo-Spoofing: Route traffic through residential proxies with automatic timezone and locale matching.
- YouTube Transcripts: Pull captions from any video via yt-dlp without needing an API key.
- Download Handling: Capture and fetch file downloads directly via the API.
DevOps & Debugging
- Observability Ready: Structured JSON logs with request IDs and optional Playwright trace capture for debugging.
- Deploy Anywhere: One-command deploy to Docker, Fly.io, or Railway.
- Auto-Docs: Full OpenAPI spec and interactive docs available at
/docs.
License
MIT License