Stagehand

The AI Browser Automation Framework

We built an OSS alternative to Playwright that's easier to use and lets AI reliably read and write on the web.

Get started
Image
  • 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")
Image

Automate anything in the browser, reliably

Image
Image
Image

Get detailed research with live information

Image

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

Image

Is x person a registered broker on FINRA?

Image

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

Image

Hot swap computer use models

Any computer use model in two lines of code.

Image

It's easy to write

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

Image

Full compatibility with Playwright

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

Image

Performance-oriented

Stagehand was designed and optimized for efficient browser automation.

Image

Deterministic and repeatable automation

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

Image

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).

Image

Built by Browserbase

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

Image

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

Image
Image

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

Image
Image
Image

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

@miguelg719

avatar

@kamath

avatar

@tkattkat

avatar

@jeremypress

avatar

@sameelarif

avatar

@pkiv

avatar

@navidkpr

avatar

@filip-michalsky

avatar

@monadoid

avatar

@shrey150

avatar

@Kylejeong2

avatar

@jtoar

avatar

@the-roaring

avatar

@sophie2chance2

avatar

@anishk23733

avatar

@shrey150

avatar

@Kylejeong2

avatar

@jtoar

avatar

@the-roaring

avatar

@sophie2chance2

avatar

@anishk23733

avatar

@alexdphan

avatar

@pirate

avatar

@charlypoly

avatar

@derekmeegan

avatar

@seanmcguire12

avatar

@miguelg719

avatar

@kamath

avatar

@tkattkat

avatar

@jeremypress

avatar

@sameelarif

avatar

@jay-sahnan

avatar

@yash1744

avatar

@victlue

avatar

@blaize-at-psci-labs

avatar

@ziruihao

avatar

@omlahore

avatar

@mbleigh

avatar

@nosajio

avatar

@seanmcguire12

avatar

@miguelg719

avatar

@kamath

avatar

@tkattkat

avatar

@jeremypress

avatar

@sameelarif

avatar

@pkiv

avatar

@navidkpr