Agno
Add web browsing capabilities to Agno
Integrate Browserbase with Agno
Get up and running with web scraping in under 5 minutes.
Setup
Install packages:
Set environment variables:
To get env variables, go over the Dashboard’s Settings tab:
Then copy your API Key directly from the input and set the BROWSERBASE_API_KEY
and BROWSERBASE_PROJECT_ID
environment variable.
Basic Example
Essential Functions
Function | Purpose | Usage |
---|---|---|
navigate_to | Go to URL | ”Navigate to https://example.com” |
get_page_content | Extract HTML | ”Get the page content” |
screenshot | Take screenshot | ”Take screenshot, save as ‘page.png‘“ |
close_session | End session | ”Close the current session” |