mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-31 03:38:30 +00:00
1.6 KiB
1.6 KiB
BrowserbaseLoadTool
Description
Browserbase is a developer platform to reliably run, manage, and monitor headless browsers.
Power your AI data retrievals with:
- Serverless Infrastructure providing reliable browsers to extract data from complex UIs
- Stealth Mode with included fingerprinting tactics and automatic captcha solving
- Session Debugger to inspect your Browser Session with networks timeline and logs
- Live Debug to quickly debug your automation
Installation
- Get an API key and Project ID from browserbase.com and set it in environment variables (
BROWSERBASE_API_KEY,BROWSERBASE_PROJECT_ID). - Install the Browserbase SDK along with
crewai[tools]package:
pip install browserbase 'crewai[tools]'
Example
Utilize the BrowserbaseLoadTool as follows to allow your agent to load websites:
from crewai_tools import BrowserbaseLoadTool
tool = BrowserbaseLoadTool()
Arguments
api_keyOptional. Browserbase API key. Default isBROWSERBASE_API_KEYenv variable.project_idOptional. Browserbase Project ID. Default isBROWSERBASE_PROJECT_IDenv variable.text_contentRetrieve only text content. Default isFalse.session_idOptional. Provide an existing Session ID.proxyOptional. Enable/Disable Proxies."