LibreAI / AI Agents / stagehand
// agents · browserbase/stagehand

stagehand

The SDK for extracting data and interacting with any site on the web.

★ 25.6k stars⑂ 1.8k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

stagehand is an open-source ai agents project by browserbase (browserbase/stagehand on GitHub). It has 25,568 GitHub stars and 1,753 forks, is released under the MIT license, and was last updated on GitHub on 8 October 2026.

GitHub stars
25,568
Forks
1,753
License
MIT
Last updated on GitHub
8 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Define the job

    Write down the task or workflow you want the agent to handle.

  2. Get the code

    Clone the repository and read the README's prerequisites.

  3. Set up your environment

    Install dependencies and configure keys or endpoints.

  4. Try the quickstart

    Run the sample script and check the output against the docs.

// features

Why people love it

Web SDK

Extract data and act on any site.

Cloud browsers

Real browsers without local ops.

Structured extraction

Pull data as structured output.

Agent integrations

Works with Claude Code, Codex, Mastra, and more.

CDP-powered

Chrome DevTools Protocol under the hood.

MIT licensed

Free for commercial products.

Advertisement
// run it

Run it yourself

  1. Step 1 - Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/browserbase/stagehand.git
    cd stagehand
  2. Step 2 - Install dependencies

    Pull in the Node packages the project needs.

    npm install
  3. Step 3 - Build or run it

    Treat these as starting points - the README documents the exact commands.

    npm run build
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who is behind stagehand?

The project lives at browserbase/stagehand and has attracted 1753 forks. Browse its commit history and contributor list for a sense of maintenance pace.

Is stagehand free to use?

Yes - it is MIT licensed, so you can use, modify, and distribute it freely, including in commercial projects.

Do I need a paid API to use it?

Browser control runs locally and is free; you only pay if you pair it with a hosted model API.

Stagehand vs browser-use?

Stagehand is a TypeScript SDK backed by Browserbase's cloud browsers; browser-use is a Python library driving local Playwright. Choose Stagehand for managed cloud browsers, browser-use for local Python control.

Where should I start?

The README and the official docs site are the fastest path: run the quickstart example first, then adapt it to your use case.

// keep exploring

Similar tools

AI Agents

openclaw

A personal AI that really does things — on any OS, with your data staying yours.

★ 391.6k starsMIT
View guide →
AI Agents

page-agent

Alibaba's in-page GUI agent: control any web interface with natural language, from one script tag

★ 29.4k starsMIT
View guide →
Agents

rmux

Rust terminal multiplexer with a typed SDK: drive any CLI app from code.

★ 2.7k starsCustom
View guide →
AI Agents

harness-sdk

An open-source SDK for production agents on any model, any cloud.

★ 8.7k starsApache-2.0
View guide →
AI Agents

gpt-researcher

An autonomous research agent that plans, searches and writes cited reports from any data source

★ 30.0k starsApache-2.0
View guide →
AI Agents

brightdata-mcp

Bright Data's MCP server: web search, scraping, structured data and browser automation for agents (75 tools)

★ 2.7k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if stagehand is not the right fit.

Get stagehand

Free and open — grab the source, star the repo, and start creating.