Skip to content

feat(tool): add InvisibleFirefoxTool (proposal)#1374

Draft
feder-cr wants to merge 1 commit into
FoundationAgents:mainfrom
feder-cr:proposal-invisible-firefox-tool
Draft

feat(tool): add InvisibleFirefoxTool (proposal)#1374
feder-cr wants to merge 1 commit into
FoundationAgents:mainfrom
feder-cr:proposal-invisible-firefox-tool

Conversation

@feder-cr

Copy link
Copy Markdown

opening as draft to check interest before fleshing out the full tool surface.

would an InvisibleFirefoxTool be in scope, parallel to the existing Crawl4aiTool (PR #1197) and BrowserUseTool under app/tool/?

motivation: existing browser and scraper tools return 403 or empty content when the target site is behind Cloudflare, Akamai, Datadome, or hCaptcha. a Firefox build with fingerprint patches at the C++ source code level avoids the JS-shim detection surface that the standard playwright-stealth approach uses.

the tool wraps feder-cr/invisible_playwright, which drives a patched Firefox 150 binary (feder-cr/invisible_firefox, MPL-2.0, same license as Firefox upstream). optional dependency, only imported when the tool is constructed. issues against the backend route to feder-cr/invisible_playwright.

this PR adds a stub app/tool/invisible_firefox.py modeled after the crawl4ai.py shape (single execute method for now). additional methods can follow if accepted. tracking discussion: #1373

if not in scope i'll close without noise.

Adds a draft stub for an InvisibleFirefoxTool parallel to Crawl4aiTool
and BrowserUseTool. Wraps invisible_playwright which drives a patched
Firefox 150 binary with fingerprint patches at the C++ source code
level (no JS shims). Useful for sites where the existing tools hit
Cloudflare/Akamai/Datadome/hCaptcha walls.

Mirrors the shape of crawl4ai.py (PR FoundationAgents#1197 precedent). Opened as
draft to check interest before fleshing out additional tool methods.
@feder-cr

feder-cr commented Jun 6, 2026

Copy link
Copy Markdown
Author

@mannaandpoem any interest in an InvisibleFirefoxTool for pages that block the agent? opt-in tool, no change to defaults. happy to close if not a fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant