Open source

Stagehand

Quick explainer2 min readIntermediate

Stagehand is an open-source SDK from Browserbase for building AI agents that control a web browser using plain-English instructions plus normal code.

In plain words

Classic browser automation breaks when a website changes, while fully AI-driven agents can be unpredictable. Stagehand mixes the two. Its main commands are act, which does something described in words; extract, which pulls data into a schema you define; and observe, which finds what actions are possible on a page. You can mix these with ordinary browser code, and it works in TypeScript, Python and Go.

A quick example

An agent logs into a billing site, then calls act to open the billing page and extract to return every invoice as a list with number, amount and paid status, checked against a schema.

Where you'll meet it

  • Web automation and scraping with AI.
  • Browser agents that fill forms and pull data.

Related

Sources

  1. DocsStagehand README, Browserbase (GitHub) · read 29 Sept 2026
  2. DocsIntroducing Stagehand, Stagehand docs · read 29 Sept 2026

Checked by WhatIsAI against the sources above · 29 Sept 2026. Spotted an error? Report it.