browser-use → Stagehand on Browserbase ( ) Convert a browser-use (Python) script into an idiomatic Stagehand v3 (TypeScript) script on Browserbase , choosing the right level of determinism at each step rather than producing a one-to-one agentic copy. Core principle: browser-use is agentic-by-default (the LLM decides every action). Stagehand lets you choose how much AI to use. A good migration replaces opaque agent loops with an inspectable, mostly-deterministic pipeline — using AI only where the page is genuinely unpredictable. This is a refactor with judgment, not a transpile. Source of trut…