mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
39 lines
1.6 KiB
Markdown
39 lines
1.6 KiB
Markdown
# BrowserbaseLoadTool
|
|
|
|
## Description
|
|
|
|
[Browserbase](https://browserbase.com) is a developer platform to reliably run, manage, and monitor headless browsers.
|
|
|
|
Power your AI data retrievals with:
|
|
- [Serverless Infrastructure](https://docs.browserbase.com/under-the-hood) providing reliable browsers to extract data from complex UIs
|
|
- [Stealth Mode](https://docs.browserbase.com/features/stealth-mode) with included fingerprinting tactics and automatic captcha solving
|
|
- [Session Debugger](https://docs.browserbase.com/features/sessions) to inspect your Browser Session with networks timeline and logs
|
|
- [Live Debug](https://docs.browserbase.com/guides/session-debug-connection/browser-remote-control) to quickly debug your automation
|
|
|
|
## Installation
|
|
|
|
- Get an API key and Project ID from [browserbase.com](https://browserbase.com) and set it in environment variables (`BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`).
|
|
- Install the [Browserbase SDK](http://github.com/browserbase/python-sdk) along with `crewai[tools]` package:
|
|
|
|
```
|
|
pip install browserbase 'crewai[tools]'
|
|
```
|
|
|
|
## Example
|
|
|
|
Utilize the BrowserbaseLoadTool as follows to allow your agent to load websites:
|
|
|
|
```python
|
|
from crewai_tools import BrowserbaseLoadTool
|
|
|
|
tool = BrowserbaseLoadTool()
|
|
```
|
|
|
|
## Arguments
|
|
|
|
- `api_key` Optional. Browserbase API key. Default is `BROWSERBASE_API_KEY` env variable.
|
|
- `project_id` Optional. Browserbase Project ID. Default is `BROWSERBASE_PROJECT_ID` env variable.
|
|
- `text_content` Retrieve only text content. Default is `False`.
|
|
- `session_id` Optional. Provide an existing Session ID.
|
|
- `proxy` Optional. Enable/Disable Proxies."
|