undetected-browser-tool

Open Source

Browser access for AI agents, past bot detection.

A LangChain tool that lets AI agents fetch web pages protected by Cloudflare and similar bot detection systems. Built on Selenium and undetected-chromedriver. Works with LangChain, CrewAI, and smolagents.

18

GitHub stars

5

Forks

1.1.3

Latest version


Install from PyPI

pip install -U undetected-browser-tool

Use in a LangChain agent

from undetected_browser_tool import UndetectedBrowserTool browser = UndetectedBrowserTool(headless=True) page = browser.run(“https://example.com/”)

Also works as a drop-in tool for CrewAI and smolagents via Tool.from_langchain().


Framework & Python support

LangChain CrewAI smolagents Python 3.9 – 3.13

Not a scraping tool. This is designed for occasional, single-page access by AI agents gathering reference information — not for bulk data extraction or bypassing paywalls. Large-scale crawling is outside the intended use and likely violates terms of service.

MIT licensed · Open to contributions

Issues, PRs, and detection improvement reports welcome.

View on GitHub →

Work with The VGER Group

AI, data, and software engineering expertise.