Documentation Index
Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Get your API key
Go over the Dashboard’s Settings tab:Then copy your API Key directly from the input and
set the BROWSERBASE_API_KEY environment variable. Install the Browserbase SDK
pip install browserbase 'crewai[tools]'
Import and configure BrowserbaseLoadTool
from crewai_tools import BrowserbaseLoadTool
from crewai import Agent
# See https://github.com/joaomdmoura/crewAI-examples/blob/main/instagram_post/tools/search_tools.py
from tools.search_tools import SearchTools
browserbase_tool = BrowserbaseLoadTool()
# Extract the text from the site
text = browserbase_tool.run()
print(text)
# Use the BrowserbaseLoadTool for travel planning
agent = Agent(
role='Local Expert at this city',
goal='Provide the BEST insights about the selected city',
backstory="""A knowledgeable local guide with extensive information
about the city, it's attractions and customs""",
tools=[
SearchTools.search_internet,
browserbase_tool,
],
verbose=True
)