Official Python SDK for Browser Use Cloud.
uv add browser-use-sdkGet your API key at cloud.browser-use.com/settings.
export BROWSER_USE_API_KEY=your_keyfrom browser_use_sdk.v4 import BrowserUse
with BrowserUse() as client:
run = client.runs.create("Find the top 3 trending repos on GitHub today")
result = client.runs.wait_for_completion(run.id)
print(result.result)This is the current Browser Use Agents interface. Browser Infrastructure's
browser-management resource currently lives in the explicit browser_use_sdk.v3
namespace; see the browser quickstart.
Add your provider API key in Browser Use project settings, then enable BYOK for v3 agent runs:
from browser_use_sdk.v3 import BrowserUse
client = BrowserUse(use_own_key=True)
result = client.run("Find the top 3 trending repos on GitHub today")
print(result.output)MIT