Stagehand AI Browser Automation Framework
Build browser automations with Stagehand, Browserbase's AI browser automation framework. It combines natural-language actions with code-level control so agents can navigate sites, extract data, and turn brittle scripts into more resilient Playwright-style workflows.
Installation
Use the upstream install or setup path that matches your environment:
- npx create-browser-app
- git clone https://github.com/browserbase/stagehand.git
- pnpm install
- pnpm run build
Requirements and caveats from upstream:
- If you're looking for the Python implementation, you can find it
- here
- Most existing browser automation tools either require you to write low-level code in a framework like Selenium, Playwright, or Puppeteer, or use high-level agents that can be unpredictable in production. By letting de...
Basic usage or getting-started notes:
Write once, run forever: Stagehand's auto-caching combined with self-healing remembers previous actions, runs without LLM inference, and knows when to involve AI whenever the website changes and your automation br...
Start with Stagehand with one line of code, or check out our Quickstart Guide for more information:
bash
Extracted from upstream docs: https://raw.githubusercontent.com/browserbase/stagehand/HEAD/README.md