browserbase-sdk
Installation
SKILL.md
Browserbase SDK
Browserbase runs production headless Chromium in isolated VMs and exposes a CDP WebSocket per session. Code drives the browser with Playwright, Puppeteer, Selenium, or Stagehand (AI primitives on top of Playwright). The @browserbasehq/sdk package is a thin REST client for sessions, contexts, extensions, and projects — it does not drive the browser itself.
Base URL & auth
POST https://api.browserbase.com/v1/sessions
x-bb-api-key: $BROWSERBASE_API_KEY
Content-Type: application/json
Env vars used by every official package:
BROWSERBASE_API_KEY— from https://browserbase.com/settingsBROWSERBASE_PROJECT_ID— required by Stagehand; inferred from key by@browserbasehq/sdk
Each browser runs in a dedicated VM destroyed after the session. SOC 2 Type II across plans, HIPAA on Scale.