Skip to main content
This guide recommends two Browserbase setup paths for Hermes Agent, in this order:
  1. Use Hermes’ built-in Browserbase cloud mode.
  2. Use the Browse CLI if you specifically want browse workflows.
This is the preferred path because Hermes already supports Browserbase as a built-in cloud browser provider.
1

Get your Browserbase credentials

Create a Browserbase account, then copy your API key from the Overview dashboard.
2

Add Browserbase credentials to Hermes

Add the following to ~/.hermes/.env:
3

Enable Hermes browser automation

If you have not enabled browser tools yet, run:
Then enable Browser Automation in the Hermes setup flow.
4

Start browsing with Hermes

Once configured, Hermes can use its native browser toolset against Browserbase-managed cloud browsers.Example prompts:

Helpful Browserbase settings

Hermes also supports Browserbase-specific environment variables for common cloud browser behavior:

Alternative: Browse CLI

If your workflow is centered on browse commands instead of Hermes’ native browser tools, use the Browse CLI.
1

Install the Browse CLI

2

Authenticate with your Browserbase API key

3

Use browse commands for Browserbase workflows

Example commands:
For the full CLI workflow reference, see the Browse CLI guide.

Browse CLI

Control a browser session from your terminal.

Browser skills

Connect your coding agent to Browserbase browser tools.