Zero Data Retention projects cannot use extensions.
Start a run with extensions
Pass the extension IDs inbrowserSettings:
browser_settings as a dict with the REST field name
extensionIds. The TypeScript SDK types do not include extensionIds yet. Use
the REST API from TypeScript.
Browser Use does not tell the agent which extensions the browser has. If the
agent must open an extension page, put its chrome-extension:// URL in the
task.
Follow-up runs
The first run of a session sets the extensions of the session. Every browser that the session starts loads the same extensions. Leave outextensionIds in follow-up runs. They keep the extensions of the
session. A follow-up run that passes different extensions gets a 400 response.
If you delete an extension, a browser that is already running keeps it until the
browser stops. Follow-up runs can reuse that browser. Browsers that the session
starts later do not load the extension.
A follow-up run that passes extensionIds must leave out the deleted ID. The API
accepts this shorter list. A list with the deleted ID gets a 404 response.