Official TypeScript SDK for Browser Use Cloud.
npm install browser-use-sdkGet your API key at cloud.browser-use.com/settings.
export BROWSER_USE_API_KEY=your_keyimport { BrowserUse } from "browser-use-sdk/v4";
const client = new BrowserUse();
const run = await client.runs.create({
task: "Find the top 3 trending repos on GitHub today",
});
const result = await client.runs.waitForCompletion(run.id);
console.log(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
entry point; see the browser quickstart.
Add your provider API key in Browser Use project settings, then enable BYOK for v3 agent runs:
import { BrowserUse } from "browser-use-sdk/v3";
const client = new BrowserUse({ useOwnKey: true });
const result = await client.run("Find the top 3 trending repos on GitHub today");
console.log(result.output);MIT