Stagehand
Get started

The AI Browser Automation Framework

Stagehand makes it easy for both developers and agents to control a browser

Get started
  • page.goto("browserstore.com/cookies");
  • page.extract("the price of the first cookie") //$4
  • page.act("add the first cookie to cart")
  • agent.execute("complete checkout")

Automate anything in the browser, reliably

Get detailed research with live information

What are some ongoing and active clinical trials for Parkinson's?

Is x person a registered broker on FINRA?

Find me available apartments and their floorplans

Smarter than Selenium, safer than an agent

The first browser automation framework built for the AI era—giving you both the predictability of code and the adaptability of AI.

Core Features
Can read page content
Can interact with page
Continues to work when the page changes
Extract data using natural language
Follows the same steps each time
Reliable
Framework Standards
Fast, cheap, and predictable
Understandable
Self-Healing
Open source
Legacy frameworks
Stagehand
Browser agent

Features

Hot swap computer use models

Any computer use model in two lines of code.

It's easy to write

Natural language interface and intuitive APIs make it easy to learn & use.

Full compatibility with Playwright

Add Stagehand to your current scripts to make them more reliable.

Performance-oriented

Stagehand was designed and optimized for efficient browser automation.

Deterministic and repeatable automation

Stagehand breaks down browser interactions into atomic steps so your script is more predictable and reliable.

It saves you time

Write code once and it will work on every website. Stagehand enhances Playwright's determinism with LLMs to account for page changes (volatility).

Built by Browserbase

Stagehand was designed to work seamlessly with Browserbase, and is owned & maintained by a team of trusted developers.

AI-native approach

Unlike traditional browser automation tools, Stagehand is specifically built for AI-driven workflows, making it potentially more suitable for LLM-powered applications.

BrowserbaseStagehand

Enter → Browserbase, your cloud browser provider. Browserbase makes building with Stagehand more powerful, with advanced features like session replay, prompt observability, and captcha solving.

Start using Stagehand locally with full feature compatibility. When you're ready to deploy to production, you'll need to connect to browsers running in the cloud.

Contributors

avatar

@seanmcguire12

avatar

@kamath

avatar

@jeremypress

avatar

@miguelg719

avatar

@sameelarif

avatar

@pkiv

avatar

@navidkpr

avatar

@filip-michalsky

avatar

@alexdphan

avatar

@anishk23733

avatar

@jtoar

avatar

@charlypoly

avatar

@ChinmayShrivastava

avatar

@hargup

avatar

@braindead-dev

avatar

@nosajio

avatar

@filip-michalsky

avatar

@alexdphan

avatar

@anishk23733

avatar

@jtoar

avatar

@charlypoly

avatar

@ChinmayShrivastava

avatar

@hargup

avatar

@seanmcguire12

avatar

@kamath

avatar

@jeremypress

avatar

@miguelg719

avatar

@sameelarif

avatar

@pkiv

avatar

@navidkpr

avatar

@braindead-dev

avatar

@nosajio

avatar

@braindead-dev

avatar

@nosajio

avatar

@mbleigh

avatar

@omlahore

avatar

@blaize-at-psci-labs

avatar

@tkattkat

avatar

@yash1744

avatar

@seanmcguire12

avatar

@kamath

avatar

@jeremypress

avatar

@miguelg719

avatar

@sameelarif

avatar

@pkiv

avatar

@navidkpr

avatar

@filip-michalsky

avatar

@alexdphan