Run Libretto sessions on Browserbase’s managed browser infrastructure.Browserbase is a managed browser provider. Use it when you want Libretto’s local CLI and workflow runtime, but want Browserbase to host the browser session.
Configure Browserbase
Create a Browserbase API key and project, then add both values to the repo root.env file. Libretto loads .env automatically before running CLI commands.
BROWSERBASE_ENDPOINT is only needed if Browserbase gives you a custom API endpoint.
Then set Browserbase as the workspace’s default browser provider in .libretto/config.json:
--provider browserbase on a single command instead of changing the config file.
Open a session
Open a page with the configured Browserbase provider:provider in .libretto/config.json, pass it for this command instead:
Run a workflow
Run workflows normally whenprovider is set in .libretto/config.json: