Skip to main content
Create an API key and export it:
Install the SDK with pip install browser-use-sdk or npm install browser-use-sdk. Curl needs no installation. Every new run implicitly creates a session for its conversation and live browser, plus a workspace for persistent files. A task starts a run inside a session and the run reads and writes persistent workspace files A task starts a run inside a session and the run reads and writes persistent workspace files

Copy API V4 docs

Give the compact context file to your coding agent.