Stagehand AI Browser Automation Framework by Browserbase
Stagehand is Browserbase's open source browser automation framework that blends natural-language actions with code-level control. It helps agents and developers build more reliable web workflows on top of Playwright-compatible browser sessions, extraction, and repeatable action caching.
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