September 9, 2026
Search, Fetch, and better WebMCP support in Stagehand 4.1
We're excited to announce our first minor release, since our overhaul of the best SDK for building browser agents, Stagehand 4.1.
In this release, we've focused on providing first-class support for the Browserbase platform - namely, our Fetch and Search APIs - as well as improving support for WebMCP across all websites, which helps agents interact with the web more reliably and deterministically.
Here's the highlights:
- WebMCP works better with iframes — discover and call tools inside embedded frames running in separate browser processes.
- First-party Search + Fetch tools — use browserbase.search() and browserbase.fetch() directly from Stagehand without needing to import the Browserbase SDK separately - available in every language!
- Clearer close behavior — stagehand.close() now preserves the browser for reuse. browser.close() and browser.context.close() terminate it, regardless of keepAlive status.
See the full release notes here: https://github.com/browserbase/stagehand/blob/%40browserbasehq%2Fstagehand%404.1.0/CHANGELOG.md
We can't wait to see what you build!