AI agent instructions
AI agent instructions
How the connection is meant to work
Stagehand takes a CDP URL throughlocal_browser.connect(), so a Notte session plugs in with session.cdp_url():
notte_stagehand.py
localBrowser.connect({ cdpUrl }) from @browserbasehq/stagehand.
Earlier versions of this page showed
Stagehand(env="LOCAL", local_browser_launch_options={...}). That API belonged to Stagehand v2 and is not present in any release currently on PyPI - neither stagehand v3/v4 nor stagehand-py.What to use instead
Browser Use
An LLM driving a Notte browser over CDP, working today
Browser Agents
Hand the whole task to a Notte agent
Connect with Playwright
Write the automation yourself against a Notte session
Fetch
Pull structured data out of a page without an agent