Camofox Browser
A self-hosted anti-detection browser API for agent-driven browsing with isolated sessions and ref-based page control.
- Source repo
- jo-inc/camofox-browser
- Stars
- ★ 12k
- Last updated
- 6d ago
- License
- MIT
- Primary language
- JavaScript
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free, no paid service needed
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A developer building a web-research assistant that needs to create pages over HTTP, inspect accessibility snapshots, and act on e1-style references.
- Not a fit if
- Teams needing fully offline or air-gapped installs; first run downloads ~300MB Camoufox
- Teams unwilling to send anonymized crash/hang telemetry to a third-party endpoint
- Users wanting a ready-made hosted service instead of deploying and keying their own server
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-10latest release v1.19.0 (2026-11-10)+16.6 ★/day over 7 days
- Source review
- 53/100 · Major gaps
What does this agent do, and when should you use it?
Camofox Browser is a self-hosted Node.js browser server built around the Camoufox Firefox engine and exposed through a REST API. Instead of returning raw page HTML, it produces accessibility snapshots with stable element references such as e1 and e2 for subsequent interaction. Each user is assigned an isolated BrowserContext, while sessionKey values organize tab groups and persisted storage can restore cookies and localStorage after restarts. The server launches the browser lazily, shuts it down after idle time, and documents npm, source, Docker, Railway, and Fly.io deployment paths. Optional capabilities include proxy-backed GeoIP settings, Netscape cookie import, VNC login, Playwright traces, YouTube transcript extraction, and anonymized crash and hang telemetry.
A client creates a page with POST /tabs, supplying userId, sessionKey, and url; the service starts Camoufox and opens the page in that user's BrowserContext. GET /tabs/:id/snapshot returns an accessibility snapshot with element refs and can add a base64 PNG through includeScreenshot=true; POST /tabs/:id/click, /type, /press, /scroll, and /navigate perform page actions, with navigate supporting macros such as @google_search and @reddit_search. GET /tabs/:id/links, /images, /downloads, and /screenshot return page links, image metadata, captured downloads, and screenshots; POST /tabs/:tabId/extract accepts a JSON Schema that maps properties to snapshot refs with x-ref. POST /sessions/:userId/cookies injects Playwright cookie objects, GET /sessions/:userId/storage_state exports storage state, and trace:true on the first tab of a session enables Playwright trace archives. POST /youtube/transcript uses yt-dlp when available and otherwise falls back to a browser-based interception method.
- A developer building a web-research assistant that needs to create pages over HTTP, inspect accessibility snapshots, and act on e1-style references.
- A team operating browser jobs for multiple users that needs cookies, localStorage, and tabs isolated by userId and restorable after browser restarts.
- A scraping workflow that must route browser traffic through a residential or backconnect proxy and align browser locale, timezone, and geolocation with the proxy exit IP.
- An operator who needs to reuse an authenticated website session by importing a Netscape-format cookie file or completing a visual login through the VNC plugin.
- An engineering team diagnosing flaky browser sessions that needs per-session Playwright traces containing screenshots, DOM snapshots, network activity, and console output.
- A workflow extracting captions from YouTube URLs that can install yt-dlp for the documented faster transcript path.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx @askjo/camofox-browserpip install yt-dlp
- Ports
9377- Environment variables
CAMOFOX_API_KEYTAB_IDCAMOFOX_ACCESS_KEY- Install notes cover
- Docker
How do you install or deploy this agent?
Run from source:
git clone https://github.com/jo-inc/camofox-browser && cd camofox-browser
npm install
npm startThe server defaults to http://localhost:9377, and the first run downloads roughly 300MB of Camoufox. Alternatively run:
npx @askjo/camofox-browserFor Docker, use the included build flow:
make upCookie import requires a key before startup:
export CAMOFOX_API_KEY="your-generated-key"
npm startFor the faster local YouTube transcript path, install:
pip install yt-dlpHow do you use this agent?
Create a first tab:
curl -X POST http://localhost:9377/tabs \
-H 'Content-Type: application/json' \
-d '{"userId":"agent1","sessionKey":"task1","url":"https://example.com"}'Use the returned TAB_ID to retrieve a snapshot:
curl "http://localhost:9377/tabs/TAB_ID/snapshot?userId=agent1"Click a reference returned in that snapshot:
curl -X POST http://localhost:9377/tabs/TAB_ID/click \
-H 'Content-Type: application/json' \
-d '{"userId":"agent1","ref":"e1"}'For deployments beyond loopback, set CAMOFOX_ACCESS_KEY and send Authorization: Bearer <key> with protected requests.
What are this agent's strengths and limitations?
- It uses Camoufox as its underlying engine; the project describes its fingerprint changes as Firefox C++-level implementation changes rather than JavaScript shims or stealth wrappers.
- Accessibility snapshots and stable element refs provide an API-oriented interaction loop, with pagination and optional snapshot screenshots.
- BrowserContext isolation is paired with cookie import, persisted storage state, session-level tracing, and sessionKey-based tab grouping.
- The repository documents several delivery paths: npm, source checkout, Docker, Railway, Fly.io, and a Windows PowerShell build script.
- Proxy configuration can use Camoufox GeoIP to align locale, timezone, and geolocation with the proxy exit location.
- Initial installation downloads roughly 300MB of Camoufox; an external executable must come from a Camoufox bundle containing properties.json, version.json, and fontconfig resources.
- Cookie import is disabled until CAMOFOX_API_KEY is set, and deployments exposed beyond localhost need CAMOFOX_ACCESS_KEY for route protection.
- The faster YouTube transcript route depends on a separate yt-dlp installation; the documented browser fallback is slower and less reliable.
- Sessions and tabs have documented default limits and expiry behavior, including MAX_SESSIONS of 50, MAX_TABS_PER_SESSION of 10, and a 30-minute session inactivity timeout.
- Anonymized crash and hang telemetry is enabled by default, so adopters that do not want it must set CAMOFOX_CRASH_REPORT_ENABLED=false.
How does this agent compare with similar options?
The project positions itself as a browser-service alternative to typical Playwright or Puppeteer use: it says standard Playwright or headless Chrome can be fingerprinted, while this service uses the Camoufox Firefox engine and exposes automation through REST endpoints, accessibility snapshots, and element refs. It is not a conventional in-process Playwright replacement; clients integrate through its HTTP API.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Camofox Browser This agent | 53 · Major gaps | Self-hosted serviceFree | ★ 12k | 6d ago | JavaScript | — |
| CamoFox Browser Server | 63 · Some gaps | Self-hosted serviceFree | ★ 445 | 11d ago | JavaScript | Claude Code |
| Steel Browser | 49 · Major gaps | Self-hosted serviceFreemium | ★ 8k | today | TypeScript | — |
| Stagehand: The AI Browser Automation Framework | 68 · Some gaps | Library / SDKFree + model costs | ★ 26k | today | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The files show configurable API-key protection, cookie path checks and field sanitization, telemetry anonymization and opt-out, plus authenticated storage export for persistence and VNC. However, ordinary browsing, cookie import, and telemetry that sends reports to GitHub Issues have no per-action confirmation; telemetry still sends public domains and diagnostic data to an external endpoint. Permissions, confirmation, and external effects are therefore only partly controlled. Pinned dependencies and several overrides help, but the packet shows no vulnerability audit or update policy. The project and maintainer are identifiable, while publisher identity remains unverified as specified.
The repository lists unit, end-to-end, plugin, and live tests and describes handling for request errors, timeouts, and navigation races. In the sample, AGENTS.md directs Docker users to run docker build directly while README warns to use the make workflow; its required-testing guidance also does not fully align with README. Installation covers browser downloads, external binaries, and optional yt-dlp, but the Camoufox binary is fetched externally and offline installation requires extra steps.
The materials describe AI-agent browsing workflows, REST/MCP interfaces, search macros, VNC login, proxies, and deployment options. Optional plugins, API-key configuration, settings, and IndexedDB being off by default provide some capability boundaries. Anti-detection and bypass claims are broad, though, and supported sites, acceptable-use boundaries, and failure conditions are not narrowly specified.
The README is organized around installation, deployment, usage, and configuration, with API and operations examples; AGENTS.md supplies interface and contribution conventions. The MIT license and package version are explicit. Deductions reflect conflicting install guidance and inconsistencies between README and AGENTS.md on naming, containers, and tests. The packet has no clear changelog or concrete maintenance commitment, and publisher identity is unverified.
Element refs, accessibility snapshots, pagination, structured extraction, and MCP tools provide outputs suited to agent workflows. Token and idle-memory savings are claimed, but the sample mainly documents rather than substantiates these quantified benefits. A full browser, persisted data, proxies, telemetry, and optional VNC carry operational and privacy costs; no cost benchmark or scale data is provided, so the benefit evidence is limited.
README claims about anti-detection, snapshots, cookies, and telemetry link to relevant code locations. The packet also includes telemetry-worker, persistence, and VNC implementations plus concurrency, download, and navigation-race test files, giving some cross-source support. Scores are below full because many performance and anti-detection outcomes remain unproven claims; the described live telemetry-version verification depends on the deployed endpoint and CI, whose state this static packet cannot establish.
- Cookies, persisted storage state, and optional IndexedDB may contain credentials or other user data; restrict access to configured directories and use the reset endpoint when clearing state is needed.
- Telemetry is enabled by default and sends diagnostic reports to an external worker; anonymization is not the same as no data transfer. Review report contents or disable telemetry before deployment.
- VNC enables visual login; configure access controls and a password when enabling it, and protect exported storage state.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v1.19.0 v1.19.0 — Agent tooling, reliability, and hardening
Release notes excerpt
v1.19.0 A large release: the MCP agent tool surface is now complete and symmetric, browser interactions are more resilient under load, and the whole dependency and container story is tightened. Most of it comes out of running camofox-browser in production at [Jo](https://askjo.ai). Every browser action is now an agent tool. The HTTP API and the MCP/OpenClaw tool interface are kept in lockstep by a build-time parity gate, so there is no action you can reach over HTTP that an agent can't call as a tool. This release adds a camofox_upload tool and a fullPage screenshot option, lets M …View on GitHub ↗ -
camoufox-backup-428447379 Camoufox backup v158.0.1-beta.41
Release notes excerpt
Backup of [v158.0.1-beta.41](https://github.com/daijro/camoufox/releases/tag/v158.0.1-beta.41) from daijro/camoufox. This is an availability backup. Verify the archive against SHA256SUMS before use. - Mirrored archives: 6 - Total source size: 7829454300 bytesView on GitHub ↗ -
camoufox-backup-404310733 Camoufox backup v156.0.1-beta.36
Release notes excerpt
Backup of [v156.0.1-beta.36](https://github.com/daijro/camoufox/releases/tag/v156.0.1-beta.36) from daijro/camoufox. This is an availability backup. Verify the archive against SHA256SUMS before use. - Mirrored archives: 6 - Total source size: 7775522223 bytesView on GitHub ↗
FAQ
Does it require OpenClaw?
How is cookie import protected?
Can it run on a remote server?
How can I investigate failed browser tasks?
Is Camofox Browser free?
Is Camofox Browser open source?
Is Camofox Browser safe to use?
Is Camofox Browser still maintained?
Who makes Camofox Browser?
Thanks — we use this to improve the page.