MCP Server
browserbase/stagehand
browserbase/stagehand· TypeScript
Playwright SDK with act/extract/observe primitives for building reliable browser agents.
GitHub stats
- Stars
- 22,399
- Forks
- 1,494
- Watchers
- 95
- Open issues
- 209
meta
- License
- MIT
- Primary language
- TypeScript
- Last commit
- 2026-04-29
- Stats fetched at
- 2026-04-29
Stagehand by Browserbase wraps Playwright with three AI-native primitives: `act` (do this), `extract` (return typed data), and `observe` (plan next steps). You write deterministic Playwright when selectors are stable, and drop into natural-language calls when the page is messy or changes often. TypeScript/Python SDK, MIT-licensed, runs locally or on Browserbase's hosted browser infra. Good fit for scrapers, QA bots, and full-blown web agents.
Editor's verdict
The sweet spot between raw Playwright (brittle on dynamic sites) and pure vision agents like Browser Use (slow, expensive, non-deterministic). Pick Stagehand when you want LLM fallback only where it matters and deterministic code everywhere else — that mix keeps token costs and latency sane in production. Skip it if your target site is stable enough for plain Playwright, or if you need a no-code agent runner; Stagehand is an SDK and assumes you're shipping TypeScript/Python.