Camofox Browser

A self-hosted anti-detection browser API for agent-driven browsing with isolated sessions and ref-based page control.

Stars
★ 12k
Last updated
6d ago
License
MIT
Primary language
JavaScript

At a glance

How it runs
Self-hosted serviceCLIAgent plugin / skill
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Node.jsCamoufoxDocker (optional)yt-dlp (optional, for the faster YouTube transcript path)Shell / CLINetwork accessLocal filesystem
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

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.

  1. A developer building a web-research assistant that needs to create pages over HTTP, inspect accessibility snapshots, and act on e1-style references.
  2. A team operating browser jobs for multiple users that needs cookies, localStorage, and tabs isolated by userId and restorable after browser restarts.
  3. 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.
  4. 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.
  5. An engineering team diagnosing flaky browser sessions that needs per-session Playwright traces containing screenshots, DOM snapshots, network activity, and console output.
  6. 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-browser
  • pip install yt-dlp
Ports
9377
Environment variables
CAMOFOX_API_KEY TAB_ID CAMOFOX_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 start

The server defaults to http://localhost:9377, and the first run downloads roughly 300MB of Camoufox. Alternatively run:

npx @askjo/camofox-browser

For Docker, use the included build flow:

make up

Cookie import requires a key before startup:

export CAMOFOX_API_KEY="your-generated-key"
npm start

For the faster local YouTube transcript path, install:

pip install yt-dlp

How 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?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
53/ 100 5-point scale 2.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 6/14
Adaptability 12/18
Convention 10/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability12 / 18 · 3.3/5

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.

Convention10 / 18 · 2.8/5

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.

Effectiveness7 / 13 · 2.7/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 39c820940134 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/camofox-browser.svg)](https://followagents.com/en/agents/camofox-browser)
<a href="https://followagents.com/en/agents/camofox-browser"><img src="https://followagents.com/badge/camofox-browser.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. 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 bytes
    View on GitHub ↗
  3. 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 bytes
    View on GitHub ↗

FAQ

Does it require OpenClaw?
No. An OpenClaw plugin is documented, but the repository also documents standalone npx, source, and REST API operation.
How is cookie import protected?
POST /sessions/:userId/cookies is unavailable until CAMOFOX_API_KEY is configured. The documented implementation confines cookie-file reads to a configured directory, blocks path traversal, and limits requests to 500 cookies and 5MB files.
Can it run on a remote server?
Yes, with documented Docker, Railway, and Fly.io paths. Because the server can bind beyond localhost, CAMOFOX_ACCESS_KEY should be configured for exposed deployments.
How can I investigate failed browser tasks?
Set trace:true when creating the first tab in a session. After the session closes, the service can list and download a Playwright trace zip containing screenshots, DOM snapshots, network data, and console output.
Is Camofox Browser free?
Yes. Camofox Browser is free to use and does not need a paid service.
Is Camofox Browser open source?
Yes. The source code is on GitHub (jo-inc/camofox-browser) under the MIT licence.
Is Camofox Browser safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored Camofox Browser 13/29 on trust and safety. None of the eight safety controls the review checks for was missing outright. The repository has changed since that review.
Is Camofox Browser still maintained?
Yes. The latest commit on GitHub is from 2026-11-10, within the last 30 days. The latest release is v1.19.0 (2026-11-10).
Who makes Camofox Browser?
Camofox Browser is published on GitHub by the account jo-inc. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts