Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Stagehand (JavaScript)

Browser agent SDK for building web automation agents.

Scraping, browsers and parsing npm MIT Browser automation

Used in agent projects
5
0.1% of 4,818 JS/TS repos built with AI coding agents; 136 counting our dependency samples
Gid Score
61 /100
#658 of 3,794 tools, #21 in scraping, browsers and parsing · ranking
Rank in scraping, browsers and parsing
#53 of 134
by use in those projects
Downloads
885K
npm, last 7 days, @browserbasehq/stagehand
GitHub stars
25.7K
1,769 forks · last push Oct 20, 2026

How Stagehand (JavaScript) is used

Stagehand (JavaScript) is a dependency in 5 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 136 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Puppeteer (84 projects). Projects that use it most often also use Zod (74.3%), dotenv (53.7%), Browserbase SDK (36.8%).

Stagehand (JavaScript) popularity over time

Top tools by Gid Score

Stagehand (JavaScript): downloads per weeknpm, @browserbasehq/stagehand 884,576
Stagehand (JavaScript): GitHub starsbrowserbase/stagehand 25,746

Gid Score 61: downloads 63, use in agent projects 55, GitHub stars 66, downloads trend 61 (each 0-100). How it is calculated.

Often used with Stagehand (JavaScript)

Zod74.3% of Stagehand (JavaScript) projects · 3.0× more than average
dotenv53.7% of Stagehand (JavaScript) projects · 3.4× more than average
Browserbase SDK36.8% of Stagehand (JavaScript) projects · 1141.2× more than average
TypeScript89.7% of Stagehand (JavaScript) projects · 1.6× more than average
AI SDK33.1% of Stagehand (JavaScript) projects · 7.5× more than average
OpenAI31.6% of Stagehand (JavaScript) projects · 6.9× more than average
Playwright (JavaScript)40.4% of Stagehand (JavaScript) projects · 2.4× more than average
tsx34.6% of Stagehand (JavaScript) projects · 2.3× more than average

From all 136 projects in our scan that use Stagehand (JavaScript), including the dependency samples.

Agent Skills for Stagehand (JavaScript)

Official: browserbase/skills18 skills · 11 with scripts · npx skills add browserbase/skills

Skills teach your coding agent how to use Stagehand (JavaScript) well. Official means the pack comes from the same GitHub account as Stagehand (JavaScript). Read a skill before installing it: it can include scripts. All Agent Skills

Install

Packagenpm install @browserbasehq/stagehand
Main stacksTypeScript / JavaScript (77), Next.js (51), Python (5), React Native / Expo (2)
Example projectseastlondoner/vibe-tools, zaidmukaddam/youtube-transcripts-machine, jay-sahnan/signal, adrianhajdin/job_pilot, rwliebs/Dossier

Alternatives to Stagehand (JavaScript)

All scraping, browsers and parsing

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Stagehand (JavaScript) are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Puppeteer npm
Headless Chrome/Chromium automation for scraping, testing and screenshot generation.
74 84 (1.7%) 6.7M 95.7K Apache-2.0
Playwright Core npm
Headless browser automation library for cross-browser testing and web scraping.
83 75 (1.6%) 78M 98.1K Apache-2.0
Puppeteer Core npm
Headless Chrome/Chromium control library for automation and testing.
74 26 (0.5%) 13.8M 95.7K Apache-2.0
agent-browser npm
CLI for browser automation designed to work with AI agents.
62 10 (0.2%) 984K 44.3K Apache-2.0

More in Scraping, browsers and parsing: Beautiful Soup lxml Playwright (Python) Cheerio fast-xml-parser jsonc-parser Mozilla Readability linkedom

Is Stagehand (JavaScript) right for your project? Ask AgentGid →