LangChain: Build Browser Agents in Minutes with Stagehand + DeepAgents

LangChain · x · 2026-08-21

LangChain shows how to combine Stagehand, the open-source browser-agent SDK from Browserbase, with LangChain's deepagents to build browser agents that can click, scroll, screenshot, and extract structured data. Staffer Sydney Runkle built one to navigate maps.

The integration ships as a ready-made MCP server exposing three tools—run (execute JS/actions), snapshot (inspect page and hydrate element IDs), and screenshot. Requirements: Python 3.11-3.13, uv, a model API key, and local Chrome or a Browserbase key for a managed remote browser; clone the Stagehand repo and run the examples.

Original post →

More from coding & agent

coding & agent channel →