---
title: "What is Stagehand? Free, open source, 27 alternatives (2026)"
description: "Stagehand is an SDK from Browserbase that mixes code and plain-language steps to act on and extract data from sites. Facts from its own pages, each linked."
url: "https://scrapenews.com/compare/stagehand"
updated: "2026-11-26"
---

Data: https://scrapenews.com/compare/stagehand.json

# What is Stagehand? Facts and alternatives

stagehand.dev

Stagehand (stagehand.dev) is an SDK from Browserbase that mixes code and plain-language steps to act on and extract data from sites.

Checked 29 Nov 2026

Licence MIT · 26,151 GitHub stars, counted 26 Nov 2026 · last release @browserbasehq/stagehand@3.7.4, 18 Nov 2026 · last code change 25 Nov 2026 · [27 alternatives in AI scrapers and agents](https://scrapenews.com/compare/ai-scrapers.md) · Guide: [How to scrape a website](https://scrapenews.com/guides/how-to-scrape-a-website.md)

[Visit stagehand.dev ↗](https://stagehand.dev)[Code on GitHub ↗](https://github.com/browserbase/stagehand)Alternatives ↓

## What it is

| Product | Category | Price | Rating |
| --- | --- | --- | --- |
| Stagehand: SDK from Browserbase that mixes code and plain-language steps to act on and extract data from sites. Good for: TypeScript developers adding AI steps to browser automation. | [AI scrapers and agents](https://scrapenews.com/compare/ai-scrapers.md) (28) [Browser automation](https://scrapenews.com/compare/browser-automation.md) (31) | Free (open source) | **81** 17 facts **80** 11 facts |

21 facts, each linked to its page. Category: tools we compare. Rating: [our formula](https://scrapenews.com/rating.md).

Data: [JSON](https://scrapenews.com/compare/stagehand.json) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## Facts

[stagehand.dev](https://stagehand.dev) · [github.com/browserbase/stagehand](https://github.com/browserbase/stagehand)

**Spec facts  (21 · 29 not listed yet)**

| Price (1) |  |
| --- | --- |
| What do I pay for? | [browser time](https://www.browserbase.com/pricing) (Cloud browsers via Browserbase; the SDK itself is MIT, free) |
| How you use it (8) |  |
| Is there an HTTP API? | [Yes](https://docs.stagehand.dev/v3/api-reference/python/start-a-new-browser-session) (Browserbase-hosted API) |
| Official Python library? | [Yes](https://github.com/browserbase/stagehand) |
| Official JavaScript library? | [Yes](https://github.com/browserbase/stagehand) |
| Other official libraries | [Go](https://stagehand.dev) |
| Official MCP server for AI assistants? | [Yes](https://github.com/browserbase/stagehand) |
| Official command-line tool? | [Yes](https://github.com/browserbase/stagehand) |
| Works with no API key or account? | [Yes](https://github.com/browserbase/stagehand) (local use via browse CLI) |
| Ready-made integrations | [Mastra, Deep Agents, Vercel AI SDK, Claude Code, Codex](https://github.com/browserbase/stagehand) |
| Where it runs (4) |  |
| Is there a hosted service? | [Yes](https://docs.stagehand.dev/v4/add-ons/fetch) (Hosted via Browserbase) |
| Can I host it myself? | [Yes](https://github.com/browserbase/stagehand) |
| Code licence | [MIT](https://github.com/browserbase/stagehand) |
| Can I use my own AI model key? | [Yes](https://docs.stagehand.dev/v4/configuration/models) |
| Getting past blocks (2) |  |
| Runs JavaScript (real browser)? | [Yes](https://docs.stagehand.dev/v3/sdk/java) |
| Can it click, scroll or type first? | [Yes](https://stagehand.dev) |
| What you get back (4) |  |
| Clean Markdown or text? | [Yes](https://docs.stagehand.dev/v4/add-ons/fetch) (Via Browserbase fetch()) |
| Pulls fields into JSON for me? | [Yes](https://github.com/browserbase/stagehand) |
| Screenshots? | [Yes](https://github.com/browserbase/stagehand) |
| Remembers pages it already fetched (cache)? | [Partly](https://github.com/browserbase/stagehand) (server-side, Browserbase only; no max-age documented) |
| Many pages at once (1) |  |
| Has a web search endpoint? | [Partly](https://github.com/browserbase/stagehand) (Browserbase cloud add-on, needs API key) |
| Code (1) |  |
| Written in | [TypeScript, Python, Go](https://github.com/browserbase/stagehand) |

29 spec facts not listed on the company's pages yet. Seen one? [Send us a source](mailto:info@scrapenews.com?subject=Spec%20facts%3A%20Stagehand).

## Who says what

### What Stagehand says about itself

9 claims

Price  (1) · Speed  (2) · Quality  (2) · Features  (2) · Their own tests  (2)

**Price  (1)**

| Main claim | Source |
| --- | --- |
| Cost per task was about the same for both setups, near $0.117, with the same median number of steps.“First, both setup ended up costing the amount of tokens, roughly ~$0.117 per task” | [stagehand.dev](https://stagehand.dev/blog/codex-stagehand-vs-playwright) (Checked 16 Nov 2026) |

**Speed  (2)**

| Main claim | Source |
| --- | --- |
| Stagehand is 2x faster than Playwright on the same tasks with the same model.“faster than playwright” | [stagehand.dev](https://stagehand.dev) (Checked 16 Nov 2026) |
| Stagehand tool calls take roughly 1.9s against 5.9s for Playwright, because the driver works inside the browser.“Stagehand tool calls are way faster (roughly 1.9s vs 5.9s per call).” | [stagehand.dev](https://stagehand.dev/blog/codex-stagehand-vs-playwright) (Checked 16 Nov 2026) |

**Quality  (2)**

| Main claim | Source |
| --- | --- |
| Stagehand is 80% more token efficient than Playwright, thanks to trimmed accessibility tree page context.“more token efficient” | [stagehand.dev](https://stagehand.dev) (Checked 16 Nov 2026) |
| Codex writes about 60% fewer output tokens with Stagehand than with Playwright, since it makes short calls against snapshot element IDs.“About 60% fewer output tokens, and output is the slow part of a turn.” | [stagehand.dev](https://stagehand.dev/blog/codex-stagehand-vs-playwright) (Checked 16 Nov 2026) |

**Features  (2)**

| Main claim | Source |
| --- | --- |
| [stagehand.dev](https://stagehand.dev) (Checked 16 Nov 2026 · 2 claims) |  |
| Stagehand runs as an extension next to the browser, which cuts round-trip latency for page actions.“Stagehand runs as an extension next to the browser, closing the distance and reducing round-trip latency for all actions on the page.” |  |
| Playwright was built for testing; Stagehand is built for agents, with self-healing actions and a Playwright-style API.“Playwright was built for testing, Stagehand is built for agents.” |  |

**Their own tests  (1)**

| Main claim | Source |
| --- | --- |
| [stagehand.dev/blog/codex-stagehand-vs-playwright](https://stagehand.dev/blog/codex-stagehand-vs-playwright) (Checked 16 Nov 2026 · 1 claims) |  |
| In a 15-task Codex test on Browserbase, median run time was 186s with Playwright and 88s with Stagehand.“The result: Stagehand is 2x faster and more reliable” |  |

[All 9 rows (1 more) →](https://scrapenews.com/compare/stagehand.md?claims=all)

### What Stagehand says about others

4 claims about 1 company

**Their own tests  (1)**

| About | Main claim | Source |
| --- | --- | --- |
| [Playwright](https://scrapenews.com/compare/playwright.md) | In a 15-task Codex test on Browserbase, median run time was 186s with Playwright and 88s with Stagehand. | [stagehand.dev](https://stagehand.dev/blog/codex-stagehand-vs-playwright) (Checked 16 Nov 2026) |

### What others say about Stagehand

32 claims by 10 companies

Features  (13) · Their own tests  (2) · Other  (1)

Who: [Skyvern](https://scrapenews.com/compare/skyvern.md)  (17) · [Scrapfly](https://scrapenews.com/compare/scrapfly.md)  (5) · [CapSolver](https://scrapenews.com/compare/capsolver.md)  (2) · [Massive](https://scrapenews.com/compare/massive.md)  (2) · [Anchor Browser](https://scrapenews.com/compare/anchor-browser.md)  (1) · [Browserbase](https://scrapenews.com/compare/browserbase.md)  (1) · [Exa](https://scrapenews.com/compare/exa.md)  (1) · [Firecrawl](https://scrapenews.com/compare/firecrawl.md)  (1) · [NodeMaven](https://scrapenews.com/compare/nodemaven.md)  (1) · [ScrapeGraphAI](https://scrapenews.com/compare/scrapegraph-ai.md)  (1)

**Features  (8)**

| Who | Main claim | Source |
| --- | --- | --- |
| [capsolver.com/blog/ai/stagehand-captcha-browser-actions-vs-solvers](https://www.capsolver.com/blog/ai/stagehand-captcha-browser-actions-vs-solvers) (Checked 16 Nov 2026 · Published 28 Sept 2026 · 2 claims) |  |  |
| CapSolver | Stagehand's browser configuration covers managed Browserbase sessions, local browsers, and CDP connections to existing Chromium browsers.“describes managed Browserbase browsers, local browsers, and connections to an existing Chromium browser over CDP.” |  |
| CapSolver | Stagehand controlling a local browser does not give it Browserbase's hosted CAPTCHA-solving capabilities.“A local browser does not acquire Browserbase's hosted capabilities merely because Stagehand controls it.” |  |
| [joinmassive.com/blog/browser-use-vs-stagehand-vs-skyvern-choosing-an-agent-browser-framework](https://www.joinmassive.com/blog/browser-use-vs-stagehand-vs-skyvern-choosing-an-agent-browser-framework) (Checked 16 Nov 2026 · Published 8 Jun 2026 · 2 claims) |  |  |
| Massive | Stagehand sits on top of Playwright and adds natural-language actions while keeping Playwright for deterministic parts.“Stagehand is a framework that sits on top of Playwright and adds natural-language acts to it.” |  |
| Massive | Stagehand lets teams use natural language for ambiguous steps and explicit Playwright code for repeatable runs.“use natural language where the page is ambiguous, then drop to explicit Playwright code where you need a run to behave the same way every time” |  |
| [scrapfly.io/blog/posts/stagehand-vs-browser-use](https://scrapfly.io/blog/posts/stagehand-vs-browser-use) (Checked 16 Nov 2026 · Published 6 Mar 2026 · 2 claims) |  |  |
| Scrapfly | Stagehand is TypeScript-first and controls browsers directly over CDP rather than through Playwright.“Stagehand uses TypeScript and talks directly to browsers via CDP.” |  |
| Scrapfly | Stagehand provides act(), extract(), and observe() for fine-grained control, while Browser Use uses Agent.run() for full autonomy.“Stagehand offers fine-grained control with act(), extract(), and observe() methods. Browser Use gives full autonomy with Agent.run()” |  |
| Anchor Browser | Stagehand can run with a local browser, so developers can use the SDK without Browserbase infrastructure.“Stagehand can also run with a local browser, so you can use the SDK without Browserbase infrastructure.” | [anchorbrowser.io](https://anchorbrowser.io/blog/best-browser-agent-platforms-reliable-low-cost-automation-2026) (Checked 16 Nov 2026 · Published 16 Nov 2026) |
| Exa | Stagehand is an MIT-licensed Browserbase SDK for TypeScript, Python, and Go whose extract() returns schema-validated data. | [exa.ai](https://exa.ai/blog/best-ai-web-scraping-tools) (Checked 16 Nov 2026 · Published 6 Oct 2026) |

[All 16 rows (8 more) →](https://scrapenews.com/compare/stagehand.md?claims=all)

These are the companies' own claims, each linked to its page. A company name opens both sides.

## Alternatives

The closest tools from other companies, and how each differs on facts from their own pages. Not a ranking: the [scrapenews rating](https://scrapenews.com/rating.md) lives in the compare tables.

Sorted by GitHub stars (counted 26 Nov 2026): that shows popularity, not quality. Tools without stars come last, A–Z.

| Tool | Price | How it differs |
| --- | --- | --- |
| [Browser Use](https://scrapenews.com/compare/browser-use.md): Open-source Python library for AI browser agents, plus a cloud with stealth browsers and a hosted agent. | Free | They differ on 2 of 15 points we have facts for on both. Also different: integrations, language. |
| [Playwright](https://scrapenews.com/compare/playwright.md): Microsoft's framework to drive Chromium, Firefox and WebKit from code with one API. Made for testing; also used to scrape. | Free | They differ on 3 of 8 points we have facts for on both. Also different: other libraries, integrations, licence. |
| [Skyvern](https://scrapenews.com/compare/skyvern.md): Automates browser workflows with AI vision and LLMs; open source (AGPL) plus a hosted cloud. | from $29 | They differ on 4 of 15 points we have facts for on both. Also different: billing unit, integrations, self-hosting and 1 more. |

## Related

- [How to scrape a website](https://scrapenews.com/guides/how-to-scrape-a-website.md)  (Guide)
- [Scrape a JavaScript website with Playwright, and when not to](https://scrapenews.com/guides/scrape-javascript-sites-playwright.md)  (Guide)
- [Fake data for scrapers](https://scrapenews.com/guides/fake-data-for-scrapers.md)  (Guide)
- [Why am I blocked? How to avoid getting blocked while scraping](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md)  (Guide)
- [403 Forbidden when scraping](https://scrapenews.com/errors/403-forbidden.md)  (Error)
- [Cloudflare "Just a moment...Enable JavaScript and cookies to continue"](https://scrapenews.com/errors/cloudflare-just-a-moment.md)  (Error)

## Sources

1. [stagehand.dev](https://stagehand.dev)
2. [github.com/browserbase/stagehand](https://github.com/browserbase/stagehand)

Checked: facts 16 Nov 2026, spec 26 Nov 2026.

## Up

- [Home](https://scrapenews.com/index.md)
- [Providers & Prices](https://scrapenews.com/compare.md)
