browser

Stagehand

The open-source SDK for building browser agents.

agent infrafor developersdeveloper setupopen sourcefree tierautonomous

stagehand.dev ↗API · CLI

what it is

Stagehand is an SDK for browser agents with a Playwright-style API and self-healing selectors. It supports TypeScript, Python and Go and runs as an extension inside the browser so remote browsers feel as fast as local ones.

who it's for

Developers writing web automations and agents.

how to start

  1. 1Install: npm install @browserbasehq/stagehand
  2. 2Read the quickstart at docs.stagehand.dev.
  3. 3Add your model API key.
  4. 4Write actions in natural language plus code.

what you need

  • Node.js, Python or Go
  • An LLM API key
  • Optionally a Browserbase account for cloud browsers

pricing

Open source

checked Oct 10, 2026

key features

  • Playwright-style API
  • Self-healing selectors
  • TypeScript, Python and Go
  • Open source

similar agents

alternatives

links

sources