There’s a new way to automate the web: by prompting. But a single prompt fails on complicated scripts. Stagehand lets you prompt at multiple levels of granularity—from agents to single actions—and interweave Playwright or traditional frameworks when you need them. Use any major model provider. 22k GitHub stars, 700k+ weekly downloads. Get started in 5 minutes.Documentation Index
Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt
Use this file to discover all available pages before exploring further.
This quickstart uses Model Gateway — LLM requests for Stagehand are routed through your Browserbase API key, so you don’t need a separate model provider account. You can also bring your own API key if you prefer.
Discord
Community support
Docs
Full documentation
Templates
Ready-to-use examples
Quickstart
Get your API key
Your API key and Project ID are displayed in the Dashboard Navigation row:

Debug in Session Inspector
See every AI decision in the Stagehand tab of your session at
https://browserbase.com/sessions/{session_id}.Next steps
Stagehand docs
Learn about Stagehand primitives, models, and Browserbase configurations
npx create-browser-app
Scaffold a Stagehand project in one command. TypeScript, zero-config.