Stagehand

 »  AI Agents  »  SDK  »  Stagehand  URL Share on

 Repository   23,614  1,624
TypeScript (and Python) SDK that layers natural-language AI actions — act(), extract(), observe(), agent() — on top of Playwright, so developers can blend deterministic code with AI-driven browser steps.
browser-automation playwright typescript python open-source mcp web-agent
TypeSDK
HostingSdk Library
MaturityStable
Status Maintained

Key Features

Single Agent Human-in-the-Loop Async Support Type Safe Short-Term Memory Custom Tools MCP Protocol Web Browsing Structured Output CLI Self-Hosted Cloud Hosted

Community Feedback

  Strengths

  • Lets developers mix deterministic Playwright code with AI actions in the same script
  • Auto-caching/self-healing reduces repeated LLM cost on stable pages
  • Backed by a well-funded company (Browserbase, $67.5M+ raised) with active full-time maintainers

  Weaknesses

  • Best cloud experience (proxies, anti-bot, CAPTCHA solving) is tied to the paid Browserbase platform
  • MCP client support is TypeScript-only as of v3
  • AI-driven steps still depend on LLM accuracy/latency, unlike pure selector-based scripts

Stagehand Details

OrganizationBrowserbase, Inc.
Organization TypeCompany
FundingSeries b+
CategorySDK
SubcategoryBrowser automation
DeploymentSdk Library
Primary LanguageTypeScript
RuntimeNode.js; Playwright/CDP-driven browser
LicenseMIT
Commercial UseUnrestricted
Install Commandnpm install @browserbasehq/stagehand
GitHub Stars23,614
GitHub Forks1,624
Open Issues283
Contributors42
Last Commit2026-07-23
First Release2024-11-01
Release CadenceFrequent (roughly weekly releases)
MaturityStable
Pricing ModelFreemium
Free TierStagehand SDK itself is free and MIT-licensed; free to run against a local/self-hosted browser with your own LLM key
Self-Hosted FreeYes
Cost Modelfree SDK + LLM inference cost + optional paid Browserbase cloud browser hosting
Community SizeLarge (23.6k GitHub stars)
Community ActivityVery active
Sentiment Positive
GPU RequiredNo
Research Date2026-07-23
LLM ProvidersOpenAI, Anthropic, Google Gemini
API Keys RequiredLLM provider API key (OpenAI/Anthropic/Google, etc.), Browserbase API key + Project ID (for cloud browser mode; optional for local mode)

Use Cases

When to Use

Best for: Developers who want production-grade, maintainable browser automations that blend deterministic Playwright code with AI for the unpredictable parts

Avoid when: You need a fully no-code, non-technical workflow builder or a turnkey managed automation product without writing any TypeScript/Python

  Back to Agent Directory
Our Social Media →  
Original data from HuggingFace, Arena and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a