run, snapshot, and screenshot calls.
Stagehand ships this experimental integration from the repository rather than publishing it as a standalone adapter.
Prerequisites
- Node.js 24 or newer
- pnpm 11.10.0
- Python 3.11–3.13
- uv
- A model-provider credential for the CrewAI agent
- A current Google Chrome installation for local browser mode
Quickstart
1
Clone and build Stagehand
2
Install the CrewAI example
3
Configure the agent model
The example uses an OpenAI model by default. Keep the provider credential in the CrewAI process:Set
CREWAI_MODEL to use another model supported by CrewAI.4
Choose the browser
The integration uses local Chrome by default. To use Browserbase instead:
5
Run a browser task
Configuration
Screenshot behavior
CrewAI’s current tool loop is text-only, and its standard MCP adapter drops image blocks. This integration saves each screenshot to a temporary file and returns the path to the agent. Open the returned path to inspect the image.Keep the browser session alive
The example opens one MCP session around the complete CrewAI run. Keep that lifetime when adapting the example: creating a new MCP process for each tool call loses the browser and invalidates prior snapshot IDs.CrewAI integration source
Read the adapter, agent prompt, and contract tests.

