Skip to main content
Use Stagehand to bring browser automation into the tools you already use. Connect an agent to a browser so it can work across websites, or call Stagehand from an application to automate a specific workflow. The guides below cover setup, configuration, and working examples. Choose an integration based on what you want to connect.

Agent Frameworks

Build browser capabilities into your own agent using the framework of your choice. The Agent Frameworks overview explains the shared tools and how to connect them to your framework’s agent loop.

Eve by Vercel

Give Vercel’s framework for building durable agents native Stagehand tools.

Deep Agents

Run locally over MCP or deploy native tools with Managed Deep Agents.

CrewAI

Connect a Python CrewAI agent over MCP/stdio.

Mastra

Connect a Mastra agent over MCP/stdio.

Vercel AI SDK

Use Stagehand tools in a Vercel AI SDK tool loop over MCP/stdio.

CLI Agents

Give a coding agent browser tools for tasks such as checking a running application or gathering information from the web. The CLI Agents overview explains how to connect browser tools through the MCP adapter or native extensions.

Claude Code

Give a Claude Code agent persistent Stagehand browser tools over MCP/stdio.

Codex

Give a Codex agent persistent Stagehand browser tools over MCP/stdio.

fx

Give the fx coding agent persistent Stagehand browser tools over MCP/stdio.

Pi

Give the Pi coding agent native Stagehand browser tools registered directly by an extension.

Applications

Use Stagehand directly from your application or script to automate a service’s browser workflow. Your code controls the sequence of steps and can combine browser interactions with tools exposed by the page through WebMCP.

Stripe

Fill Stripe Checkout through WebMCP tools and submit payment with Stagehand.

Build your own integration

Use the Stagehand SDK to add browser automation to your application. Combine Act, Extract, and Observe with direct page interactions to navigate, interact, and return structured data. For pages that publish their own tools, use WebMCP to discover and invoke them. Choose a local browser or a Browserbase session in browser configuration.