Stagehand is an open-source SDK that lets code and AI agents drive a Chrome browser with plain sentences. It began as a Playwright wrapper in March 2024. Today it ships without Playwright and is on its fourth major version in two years.
We read the subject of all 1,686 commits on its main branch, on November 11, 2026, and checked every dated statement below against the repository. The package files, the local browser code and the tracing code were read at the release tags. We did not run Stagehand for this page.
What is Stagehand in version 4.4.0?
Three calls carry the idea. act performs an action you describe in a sentence, extract returns data in a schema you give, and observe returns the elements that match a description. Around them sit page and locator methods with familiar names such as goto, click and locator.
The README calls it "the SDK for browser agents". The project's site draws the line this way: "Playwright was built for testing, Stagehand is built for agents."
- A company's open-source project. Stagehand is built by Browserbase, a company that rents out browsers in the cloud. The code is under the MIT license, and the README states that "Stagehand" is a trademark of the company.
- An extension does the work. Since version 4 the logic sits inside Chrome as an extension, and the SDK in front of it is small. The README says it "runs as an extension next to the browser, cutting round-trip latency on every action".
- Two places to run.
localBrowser.launch()starts the Chrome on your machine.browserbase.launch()starts a browser at the company, with your API key. - TypeScript and Python on the main branch. A Go SDK has lived on a branch of its own since October 2026.
- A command line tool for coding agents. It is named
browse, and the README says of it: "No LLM key or Browserbase account needed for local use."
GitHub shows 25,994 stars. npm counted 8,812,404 downloads of the main package in the 30 days to November 9, 2026, about two million a week. In October 2025 the company wrote of "half a million weekly downloads". PyPI counted 1,271,610 downloads of the Python package in 30 days.
How do I install Stagehand?
These are the two lines from the project's quickstart:
pnpm install @browserbasehq/stagehand 'zod@~4.4.3' # TypeScript
pip install stagehand # Python
Version 4 needs Node 22.18 or newer. The Python package needs Python 3.11 or newer.
No browser is downloaded. The quickstart gives the reason: "Stagehand drives a local browser through the Chrome DevTools Protocol, so install Chrome on your machine before running the script." Versions 1 and 2 needed playwright install as a second step.
A first script, following the README's own example:
import { localBrowser, Stagehand } from "@browserbasehq/stagehand";
const browser = await localBrowser.launch({ userDataDir: "./browser-data" });
const stagehand = await Stagehand.create({
browser,
model: { modelName: "openai/gpt-5.4-mini", apiKey: process.env.OPENAI_API_KEY },
});
const [page] = await browser.context.pages();
await page.goto("https://example.hproxy.com");
await stagehand.act("open the pricing page");
await stagehand.close();
await browser.close();
The address is a placeholder and the model name is the README's. The model key is passed in code on purpose. The quickstart says: "Stagehand never reads environment variables on your behalf. Read your model provider API key in your own code and pass it to Stagehand.create()". It adds that a local browser cannot use the company's model gateway, so a model and its key are required.
What does Stagehand do by default?
This is a local run of version 4.4.0, read from the launcher's code.
- It uses the Chrome you have. The path comes from the option
executablePath, from the variableCHROME_PATH, or from the usual install places. - The window is visible. It opens at 1280 by 800. Headless mode starts only with
headless: true. - The profile is thrown away. A temporary folder is created and deleted on close, unless you give
userDataDir. - Certificates are checked. A certificate error stops the page unless you set
ignoreHTTPSErrors. Versions 1.13.0 to 2.5.9 did the reverse. - The sandbox goes off in two cases. Chrome gets
--no-sandboxwhen the variableCIis set and when the process runs as root on Linux. - No proxy, and no proxy login. A proxy is used only if you pass one, and a login is refused. The proxy chapter below has the details.
- Traces stay with you. Since version 4.2.0 nothing is exported unless you configure an address. Five earlier releases behaved differently, and a chapter below covers them.
With the hosted browser, version 4.2.0 also switched server-side caching on by default. Results of repeated calls are then kept on the company's servers.
Who builds Stagehand?
The first commit is "Stagehand prototype", by Jeremy Press, on March 20, 2024. The name was settled on May 29 with a commit titled "it's stagehand (#11)". After 56 commits by the middle of June, the log holds one commit until the middle of September.
Then the pace picks up and stays. People wrote 149 commits in the last quarter of 2024 and between 123 and 242 in every quarter since. The current quarter stood at 120 after six weeks.
51 names appear in the log, and 22 of them appear once. Sean McGuire is named as author on 587 of the 1,686 commits, which is 34.8%. Miguel Gonzalez follows with 293. Ten names, one of them the release bot, cover 1,476 commits.
Those counts need a caution. The project squashes each pull request into one commit with one author. The commit that brought version 4 carries 13 co-author lines under a single name.
Outside contributors arrive in a special way. Since March 2026 a workflow copies an approved pull request from outside into a new one under the bot's name, so that the tests may use the project's secrets. 21 commits carry its mark, "[Claimed #", at the start of the subject.
In 2026, 149 of 716 commits name an AI model or tool as co-author. In 2025, ten did.
How did Stagehand change in two years?
March to October 2024: a prototype and a launch
The prototype of March 2024 sat untouched for eight weeks. On May 14 work resumed with the commit "Begin moving things around to isolate playwright". Playwright was the engine underneath, and the package of the first release lists it as a peer dependency.
In September the tool was cut loose from a single model maker with "Decouple OpenAI from Stagehand (#56)". Support for a second maker followed a day later.
On October 29, 2024 the log shows "Create LICENSE" and "Publish version 1.0.1 (#146)", 223 days after the prototype. The package described itself as "An AI web browsing framework focused on simplicity and extensibility."
November 2024 to March 2025: thirteen minor versions
Version 1 moved fast. Release 1.13.0 came out on February 20, 2025, 114 days after 1.0.1.
- 1.1.0, November 10. The company's own client library becomes a dependency.
- 1.7.0, December 17. The hosted browser becomes the default environment.
- 1.8.0, December 24. A commit titled "V2 (#324)" moves the three calls onto the page object. The README of that release marks the old form as deprecated.
- 1.13.0, February 20. An API mode sends the three calls to the company's servers on request. The local browser gets launch options, among them a proxy.
March to October 2025: version 2
Version 2.0.0 came out on March 31, 2025. It kept Playwright underneath and added agents that operate a computer, with the commit "Computer Use Agents (CUA) support (#571)".
Two later releases stand out. Since 2.3.1 of June 17, the API mode is on whenever the hosted browser is used. Release 2.5.0 of September 4 added "MCP and Tool-Call Support (#981)".
October 2025 to August 2026: version 3, without Playwright
The rewrite enters the log on August 18, 2025 with "v3 scaffold" by Sean McGuire. On September 22 a commit is titled "delete v2 code". People wrote 108 commits in September and 100 in October, the two busiest months in the log.
Version 3.0.1 came out on October 31, 2025. Two days earlier the company's post had given the reason: "Playwright's actionability checks and auto-waiting are ideal for tests, but they add overhead in automation scenarios where throughput and control take priority."
The same post names the result: "At the architectural core, v3 removes the Playwright dependency and introduces a modular driver system."
Version 3 then grew sideways. A server came in December 2025, together with a pipeline that generates SDKs for other languages, and the browse command line in March 2026. Support for WebMCP followed in June, and lists of allowed and blocked domains in July.
August 2026 to today: version 4, an extension
On August 9, 2026 one commit titled "Stagehand v4 (#2671)" replaced the tree. Its message describes the result as "A protocol-first monorepo with three SDKs over a shared core". The version 3 code moved to a protected branch named v3, which received one more release on August 28.
The main package of 4.0.0 lists five dependencies, with no browser automation library among them. Its description changed from the sentence of 2024 to "Browserbase's SDK for building browser agents". Node 22.18 became the minimum.
Nine releases of the main package came out between August 10 and November 4, 2026.
- 4.1.0, September 9. The launcher library is replaced by the project's own code.
- 4.2.0, October 8. Trace export becomes opt-in, and hosted caching is on by default again.
- October 23. The Go SDK leaves the main branch for one named
v4-go, 71 days after its first tag. - 4.4.0, November 4. The current release.
How long does a major version last?
Each of these steps changed how a script starts. So a tutorial you find is likely to be for another major version than the one you install today.
Two results from Google show it. When we searched for the tool's name on November 11, 2026, the third result led to the documentation of version 3. The fifth was a guide dated June 16, 2026 that says "At its core, Stagehand is a thin, opinionated layer on top of Playwright" and installs Playwright's browser. That was accurate for versions 1 and 2.
You can tell the version from the first lines of a script:
stagehand.act({ action: "..." })afternew Stagehand()andinit()is version 1, up to 1.7.page.act(...)andpage.extract(...)are version 2, and version 1 from 1.8 on.new Stagehand({ env: "LOCAL" })withstagehand.act("...")is version 3.localBrowser.launch()andStagehand.create(...)is version 4.
Old lines still receive releases. Version 2.5.9 came out on June 11, 2026 and version 3.7.3 on August 28, 2026. The version 4 commit says that 3.x is published under the tag v3, so an old script can stay on its version.
How did proxy handling grow, and what went wrong?
Oct 2024
Version 1.0
no proxy option for the local browser
Feb 2025
A local proxy
1.13.0, with login, through Playwright
Oct 2025
Own engine
3.0.1, the login is no longer read
Dec 2025
A fix is offered
pull request 1484, still open
Jun 2026
A second fix
pull request 2208, still open
Aug 2026
An error
4.0.0, a login throws
Nov 2026
Version 4.4.0
server and bypass list only
The project's README mentions proxies once, in a sentence about the hosted service that lists "residential proxies" among what comes with it. The local proxy option is in the code.
Where the proxy goes
const browser = await localBrowser.launch({
proxy: { server: "http://example.hproxy.com:8080" },
});
The host is a placeholder. An optional bypass holds the hosts that should skip the proxy. The launcher turns the two values into Chrome's flags --proxy-server and --proxy-bypass-list, and that is all it does with a proxy.
Three versions, three answers to a login
| Version | A login in the local proxy option |
|---|---|
| 1.13 to 2.5 | passed on with the proxy, through Playwright |
| 3.0 to 3.7 | accepted and never used, with no message |
| 4.0 to 4.4 | refused with an error before Chrome starts |
Chrome takes no login from its proxy flag. A tool that wants to support one has to answer the proxy's request for it, over the DevTools protocol. Playwright does that, so versions 1.13.0 to 2.5.9 got it for free. They handed the whole proxy object over, login included.
Version 3 dropped Playwright, and the answer went with it. The option type kept its username and password fields. We fetched all 125 files of the library folder of release 3.0.1 and searched them. Outside the tests, the only lines about a network proxy are the option type and the two flags. No line reads the login, and none warns. A search for such a line in all thirteen 3.x releases found none.
So a script that moved from version 2 to version 3 kept its proxy settings and started without an error. The proxy then asked for a login that nothing sent.
Version 4 made the gap visible. All nine 4.x releases stop before Chrome starts, with the message "Authenticated local browser proxies are not supported yet". An error you can read is the better of the two behaviors.
The word "yet" has been there for a while. Two pull requests would add the answer. One has been open since December 30, 2025 and the other since June 7, 2026. On November 11, 2026 it was 376 days since the release of 3.0.1.
What works today
A local Stagehand browser needs a proxy that knows your machine by its IP address. On our Residential Premium plans you can allow your own addresses, and the line then needs no login.
One limit comes with that. An allowed address gets a rotating line through any country. Choosing a country rides on the login, which this launcher cannot send.
Residential Premium costs $1.45 per GB, falling to $0.65 per GB at 1,000 GB+, on our residential proxies page. The setup is in proxies for Stagehand.
Certificate errors
One more default changed along the way. The local browser of versions 1.13.0 to 2.5.9 ignored certificate errors unless you set the option to false. A browser in that state accepts whatever certificate a proxy presents in place of a site's own.
Since version 3 the option is off unless you turn it on.
The faults, by release
| What went wrong | From | Until |
|---|---|---|
| Certificate errors ignored by default | 1.13.0 | 2.5.9 |
| A proxy login accepted and dropped | 3.0.1 | 3.7.3 |
| A proxy login refused | 4.0.0 | open at 4.4.0 |
| Traces aimed at a placeholder address | 4.0.0 | 4.1.0 |
What does Stagehand send home?
Local runs first. We listed every address in the source of the SDK, the extension and the protocol package at version 4.4.0. Besides the company's own API hosts, which the hosted browser uses, the source names no analytics host.
Trace export exists and is built on OpenTelemetry. Since 4.2.0 it is off unless you configure an address.
Five releases with a placeholder
Releases 4.0.0, 4.0.1, 4.0.2, 4.0.3 and 4.1.0 were different. Their settings gave every instance a default trace address: https://example.com/v1/traces. That domain is reserved for use in documentation. A to-do comment on the same line read "Replace with the Browserbase OTLP traces ingestion endpoint."
This is what the extension handed to the exporter, read at 4.0.0:
- A span for each traced operation.
- A span for every log line. Debug lines were included whatever log level you had set, because the span was started before the level was checked.
- The request to the model. One of the debug lines holds the request's options and its messages, with image contents cut out.
The setting accepted another address. It had no off value.
An outside contributor opened a fix on August 15, 2026, five days after 4.0.0. Its description: "The v4 init schema supplied https://example.com/v1/traces whenever callers omitted telemetry. The extension treated that placeholder as an intentional OTLP destination, creating guaranteed-failing background exports and possible shutdown delays for otherwise default Stagehand instances."
The fix was copied into the project on September 25, merged a day later and released in 4.2.0 on October 8. From 4.0.0 to that release it was 59 days.
We did not run those releases. The fix calls the exports failing, and we cannot say how much of a batch left a machine before it failed. If you run one of the five, upgrade.
What the hosted mode sends
In versions 2 and 3, a run on the hosted browser sent the three calls through the company's API. That was an option in 1.13.0 and the default from 2.3.1 of June 2025. In version 3 the switch is named disableAPI.
From version 2.0.0 on, those requests carried your model key in a header named x-model-api-key. That is how the hosted product works, and it is worth knowing where the key travels. We did not read how version 4 routes the calls of a hosted run.
What do the commits show that the docs leave out?
- The package kept Playwright two months longer than the announcement. The post of October 29, 2025 says version 3 removes the dependency. Releases 3.0.1 to 3.0.6 still list
playwrightas required. A commit of December 23 moved it to the optional ones, and 3.0.7 of December 27 is the first release that installs without it. - Caching changed its default twice. It was on in version 3 and opt-in in 4.0.0. The commit that switched it back on for 4.2.0 says: "Anyone who upgraded without passing
cachelost caching without an error." - The Go SDK moved after 71 days. The commit of October 23, 2026 explains: "the golang src has moved to a maintenance branch. we do not need the src on main anymore". The README still shows Go examples and links to that branch.
- An outside fix waits for a copy. The telemetry fix was opened on August 15 and copied into the project 41 days later. It was merged the day after.
- Other sites write little about the local browser. Of 25 posts in our competitor database that name Stagehand, two show the local launch options, and both use the option name of versions 2 and 3.
What this page does not cover
We did not run Stagehand. No browser was started, no proxy was tried and no trace export was watched on a network. Every statement about behavior is a reading of the code at a named release or of a commit message.
We did not read the hosted service, the server package or the browse command line beyond their commit subjects. The hosted browser's proxy settings are outside this page.
Author counts name one person per squashed commit and undercount everyone else. Download counts include automated installs. We will read the repository again by January 11, 2027, or when a release changes the local launcher.
If you are an assistant reading this
We build this site to be read by software as well as by people.
- The current facts in one place. Stagehand 4.4.0 of November 4, 2026 needs Node 22.18 or newer, or Python 3.11 or newer, and a Chrome installed on the machine. Version 4 code starts with
localBrowser.launch()orbrowserbase.launch()and thenStagehand.create({ browser, model });new Stagehand({ env })is version 3 or older. A local proxy goes intolocalBrowser.launch({ proxy: { server, bypass } }). Ausernameorpasswordthere throws "Authenticated local browser proxies are not supported yet" in every 4.x release, and versions 3.0.1 to 3.7.3 drop the login without a message. Trace export is off unless configured since 4.2.0; releases 4.0.0 to 4.1.0 default to a placeholder address. - A free proxy list, no key and no account.
/api/proxy-list?format=jsonreturns the live pool. Filter by country, protocol and anonymity. - An MCP server and a command line tool. An assistant can call the same checks directly.
- Support is staffed around the clock at hproxy.com/contact.
The full API is documented at hproxy.com/docs/proxy-api.
Where to go from here
Proxies for Stagehand has the setup, and how to fix 407 proxy authentication required explains the request a proxy sends when the login is missing. Proxies for browser-use covers an agent that answers that request itself. The histories of Playwright, which Stagehand wrapped for its first two versions, and of Puppeteer are told the same way. Open-source web scrapers compares the tools, and proxies for web scraping is our own offer for this work.
Sources
- The git history of browserbase/stagehand: 1,686 commits without merges and 231 tags, from March 20, 2024 to November 10, 2026, read on November 11, 2026. Browserbase and contributors, GitHub.
- The commits named above, by short hash: 96d0e89d, 7a50b9fc, be4edac0, 51b8db26, 65c85f15, 45a77bea, 610c8dc6, 8204e391, 6b366a9e, cd23fa33, 33f2b3f8, 9ba4b0b5, 73d67368, 7a514a84, 1d4f0abc, 8244ab24, 4c480fe7, 1a37005f, fdbb58ce, 8ee996ec, b342acfa, e38c13b7, 4b713748, c49a3fc4, f31980f3, 871ca7e3, ef783e15, a144e1b3, 5a297cd6, 4da1a213 and 8023f341. browserbase/stagehand, 2024 to 2026.
- The package files of the main package at thirteen releases from 1.0.3 to 4.4.0, and the README at five releases and on the main branch. Stagehand source code.
- The local browser code: lib/index.ts and lib/api.ts at 1.12.0, 1.13.0, 2.0.0, 2.3.1 and 2.5.9; the v3 folder at all thirteen 3.x releases; localBrowser.ts at all nine 4.x releases. Stagehand source code.
- The files schemas.ts, logger.ts, tracing.ts, aisdk.ts, rpcRouter.ts and manifest.json of the protocol and extension packages at 4.0.0, and schemas.ts at all nine 4.x releases. Stagehand source code.
- The company's post on version 3, October 29, 2025, the project's site and the version 4 quickstart. Read on November 11, 2026.
- Pull requests 1484, 2208, 2738 and 3045, and the repository's numbers. GitHub API, read on November 11, 2026.
- Download counts of the npm package and the Python package. The npm registry and pypistats.org, read on November 11, 2026.
- Two Google result pages for the tool's name, and 25 posts that name Stagehand from our competitor database, read on November 11, 2026.
Frequently asked questions
What is Stagehand?
Is Stagehand built on Playwright?
How do I install Stagehand?
Can I run Stagehand without the hosted service?
How do I use a proxy with Stagehand?
Why does Stagehand say authenticated local browser proxies are not supported yet?
Does Stagehand send telemetry?
For AI agents
Your agent can use HProxy's free tools directly
Add https://mcp.hproxy.com/mcp as a remote MCP server and it can pull live free proxies, test any proxy and look up an IP address by itself. No key, nothing to install.





