- 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 and setup
- 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:
Deep Agents integration
Deep Agents work well with Browserbase by exposing browser capabilities as Python tools rather than routing through the CLI. The integration pattern gives the main planner cheap, stateless tools for search and page retrieval, while delegating expensive rendered and interactive browser work to a dedicatedbrowser-specialist subagent.
Install
Architecture
The recommended pattern uses four tools:
The cheap tools (
search, fetch) live on the main planner. The expensive browser tools live on the browser-specialist subagent, isolating noisy session output from the main thread.
Environment variables
Define the tools
Build the agent
Run with human-in-the-loop approval
interrupt_on pauses execution before any browserbase_interactive_task call so you can review the proposed action before the agent commits it.
Decision tree: which tool to use
Full example
See the complete runnable example in the deepagents repository.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

