# Stagehand

The SDK For Browser Agents

Repository: https://github.com/browserbase/stagehand
Canonical: https://ross.abutalabs.com/products/stagehand
Homepage: https://stagehand.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: agents, ai, llms, playwright, puppeteer, selenium
Last push: 2026-08-26T22:26:18+00:00
Link (homepage): https://stagehand.dev
Link (site_page): https://docs.stagehand.dev

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 63
- inputs: {"age_days": 892, "days_push": 7, "days_rel": 14, "gap_med": 6.5, "n_releases_24m": 79}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 24069, forks 1656 (observed 2026-08-28T04:11:35.542002+00:00)

## What it is
Stagehand is an SDK for building browser agents, offering Playwright-style APIs combined with AI primitives (act, extract, observe) that use natural language and self-heal when websites change. It supports TypeScript, Python, and Go, and runs as a browser extension for low-latency, production-grade web automation.

## Use cases
- automate web pages with natural language actions
- build ai browser agents
- extract structured data from websites
- scrape websites that change frequently
- replace brittle playwright scripts with self-healing automation
- control a browser with an llm agent
- click buttons and fill forms using ai

## When to choose
- you need reliable browser automation that survives UI changes
- you want to mix deterministic Playwright-style control with AI-driven steps
- you are building production web agents and care about token efficiency and latency
- you need to handle complex DOMs like iframes and shadow DOM

## When to avoid
- you only need simple deterministic test automation without AI
- you want a fully autonomous agent with no code-level control
- your project cannot use LLM APIs or their associated costs

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, web-scraping, http-client, sdk, workflow-automation
- domain: web-development, developer-tools, large-language-models
- platform: python, cross-platform
- tags: browser-automation, playwright, browser-agents, self-healing, webmcp, llm, typescript, go, ai-agents, automation, nodejs, web-server

## Member repositories
- browserbase/stagehand (main) score 87
- browserbase/skills (plugin) score 61
- browserbase/mcp-server-browserbase (plugin) score 10
- browserbase/open-operator (examples) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:35.542002+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:17.503057+00:00, confidence not recorded.
  - readme: https://github.com/browserbase/stagehand (fetched 2026-08-28T04:11:35.542002+00:00, sha d443bd024d35)
  - homepage: https://stagehand.dev (fetched 2026-08-29T07:55:07.423452+00:00, sha a8150b969101)
  - site_page: https://docs.stagehand.dev (fetched 2026-08-29T07:55:07.426197+00:00, sha 8fc0fa4f56d6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
