browserbase/stagehand-python ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library for AI browser automation that feels easy to use but still reliable enough for real projects.

I want to be able to start a browser session, connect to either a remote browser or a local one, and then use natural language to navigate pages, click things, and pull out data. It should support the common flows like observe what’s on the page, act on it, extract structured info, and run a multi step agent style task. Please include a few simple example scripts that show how to use it with a browser session and how to load environment variables from a local env file.

Make it work cleanly with modern Python, keep the API friendly, and include solid docs or inline examples so I can understand the main workflow quickly. If you need current browser automation docs or API details, look them up online and use the latest approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab