Introducing Stagehand v4: the SDK for browser agents.
Playwright was built for testing, we built Stagehand for your agent: with improved context management, self-healing actions, and iframe support.
Introducing our Model Router, get the most accurate model for the task at the cheapest price.
Customers using the router are seeing up to 30% lower token costs with little to no change in overall accuracy.
Stagehand 3.7 is out.
Here's what shipped last week:
- Control where your agent can navigate to domain allowlisting/denylisting
- CUA support for Gemini 3.5 Flash and the GPT-5.6 family (Sol, Luna, Terra)
- Various bug fixes & patches
pnpm add @browserbasehq/stagehand@latest
Gemini 3.5 Flash + CUA is impressive: on our benchmarks, it performs similarly to frontier models while being on average ~80% cheaper.
It's a reliable model for powering browser agents that balance speed and accuracy on real-world tasks.