All plugins

browserless

Run Hermes' built-in browser tools on Browserless cloud browsers: stealth mode, residential proxies, captcha solving and ad blocking, with no local Chrome. One Browserless browser per task; Hermes' agent-browser daemon and CDP supervisor share it through a local CDP multiplexer, and the browser is reconnected after network drops and closed when the task ends. Disclosure — while a browser task runs, starts a background thread with a WebSocket listener on 127.0.0.1 (random port, secret path, local Host header only); connects to Browserless (production-*.browserless.io) with BROWSERLESS_TOKEN, read via get_secret; Browserless usage is metered on your plan, and residential proxy traffic costs more; connections to Browserless carry a browserless-hermes-plugin/<version> User-Agent so Browserless can count plugin usage (opt-out: BROWSERLESS_SOURCE_TAG=false; the browser's own user agent is unchanged); no files written unless BROWSERLESS_MUX_LOG is set; no other telemetry.

browserless19Webv0.1.2Updated 1 month ago

About

Run Hermes' built-in browser tools on Browserless cloud browsers: stealth mode, residential proxies, captcha solving and ad blocking, with no local Chrome. One Browserless browser per task; Hermes' agent-browser daemon and CDP supervisor share it through a local CDP multiplexer, and the browser is reconnected after network drops and closed when the task ends. Disclosure — while a browser task runs, starts a background thread with a WebSocket listener on 127.0.0.1 (random port, secret path, local Host header only); connects to Browserless (production-*.browserless.io) with BROWSERLESS_TOKEN, read via get_secret; Browserless usage is metered on your plan, and residential proxy traffic costs more; connections to Browserless carry a browserless-hermes-plugin/<version> User-Agent so Browserless can count plugin usage (opt-out: BROWSERLESS_SOURCE_TAG=false; the browser's own user agent is unchanged); no files written unless BROWSERLESS_MUX_LOG is set; no other telemetry.

Browserless plugin for Hermes Agent

Run Hermes Agent's browser tools on
Browserless cloud browsers: stealth mode, residential proxies, ad blocking and
captcha solving, with no local Chrome needed.

This is a Hermes browser provider plugin. Hermes keeps its own browser tools (navigate, snapshot, click,
type, screenshot, …); the plugin supplies the browser they drive.

Installation

Requires Hermes Agent 0.21.6 or later.

hermes plugins install browserless/browserless-mcp/hermes --enable
hermes config set browser.cloud_provider browserless
hermes config set browser.backend off

browser.backend off makes Hermes use its built-in browser tools (otherwise Browser Use mode takes over when
uvx or browser-use is on your PATH). You can also pick Browserless under Browser Automation in
hermes tools.

Hermes drives the browser with agent-browser. Install it with
npm install -g agent-browser, or Hermes falls back to npx.

Only install plugins from sources you trust. Start a new Hermes session after installation.

Authentication

Get an API token from your Browserless account and add it to
~/.hermes/.env (or your HERMES_HOME). Never paste it into chat or commit it:

BROWSERLESS_TOKEN=your-token

Try it

hermes -t browser -z 'Open https://news.ycombinator.com and tell me the top 3 story titles'

-t browser makes Hermes use its browser tools (and so Browserless) rather than its web search/extract tools.

Settings

Set these in ~/.hermes/.env or the environment.

VariableDefaultMeaning
BROWSERLESS_TOKEN— (required)Browserless API token
BROWSERLESS_BASE_URLhttps://production-sfo.browserless.ioRegion endpoint, e.g. https://production-lon.browserless.io
BROWSERLESS_STEALTHtrueStealth browser: hides navigator.webdriver and the "HeadlessChrome" user agent
BROWSERLESS_PROXYunsetresidential routes traffic through a residential IP (uses more plan units)
BROWSERLESS_PROXY_COUNTRYunsetProxy exit country, e.g. us, gb, de
BROWSERLESS_PROXY_STICKYtrueKeep the same proxy IP for the whole session
BROWSERLESS_SOLVE_CAPTCHASfalseBrowserless detects and solves captchas (reCAPTCHA, Cloudflare, …) automatically
BROWSERLESS_BLOCK_ADSfalseBlock ads and trackers
BROWSERLESS_EXTRA_QUERYunsetExtra launch parameters appended as-is, e.g. humanlike=true
BROWSERLESS_SESSION_TIMEOUT_MS600000Max browser lifetime; lowered automatically to your plan's maximum
BROWSERLESS_KEEPALIVE_MS60000How long the browser survives a dropped connection
BROWSERLESS_UPSTREAMautoauto (reconnect, falling back to the session API), reconnect, or session
BROWSERLESS_MUX_LOGunsetFile path for a connection log (tokens redacted), useful for troubleshooting
BROWSERLESS_SOURCE_TAGtrueIdentify the plugin's connections to Browserless by User-Agent (browserless-hermes-plugin/<version>); false turns it off

How it works

For each Hermes browser task the plugin starts one Browserless browser and a small local CDP multiplexer
(ws://127.0.0.1:<random port>/devtools/browser/<secret>). Hermes connects its clients (the agent-browser
daemon and its CDP supervisor) to that local address, and they all share a single connection to Browserless.
Your token is sent only to Browserless; Hermes' own clients never see it.

The plugin keeps the browser alive across brief network drops (it reconnects to the same browser and page),
starts a fresh browser when your plan's session limit is reached, and closes the browser when the task ends,
on Ctrl+C, or when Hermes exits.

Tips

  • One Hermes task = one Browserless browser. It counts once toward your plan's concurrent-browser limit;
    parallel subagents each get their own browser.
  • Bot detection. Stealth is on by default. For sites that block datacenter IPs, add
    BROWSERLESS_PROXY=residential. Some sites still block automated traffic even then.
  • Captchas. With BROWSERLESS_SOLVE_CAPTCHAS=true (works best together with the residential proxy),
    Browserless solves detected captchas immediately on its side, so no waiting is needed. The captcha widget may
    still look unsolved (e.g. an unticked reCAPTCHA checkbox); submit the form normally.
  • Passwords. Hermes' agent won't type passwords itself; store them with hermes vault add and it fills
    them from the vault.
  • Quote prompts with single quotes in zsh: ! inside double quotes triggers history expansion.
  • Local URLs (localhost, LAN addresses) are sent by Hermes to a local browser, not to Browserless,
    which can't reach your machine.
  • Stealth, proxy, captcha and ad-block settings apply in the default reconnect mode, not with
    BROWSERLESS_UPSTREAM=session.

Troubleshooting

If a Browserless session can't start (wrong token, too many browsers open, …), Hermes silently falls back to
a local browser
. Set BROWSERLESS_MUX_LOG=/tmp/browserless.log and check it:

  • create_session ... upstream=reconnect options=stealth means Browserless is in use;
  • create_session ... FAILED: <reason> explains why it isn't.

To test the plugin without an LLM, run the smoke test with the Python interpreter of your Hermes install:

BROWSERLESS_TOKEN=your-token HERMES_HOME=~/.hermes /path/to/hermes/venv/bin/python hermes/scripts/smoke_test.py --drop-upstream

To install from a local checkout instead of the repository, run hermes/scripts/install.sh
(honours HERMES_HOME and HERMES_BIN).

Network access

The plugin connects to:

  • wss://production-sfo.browserless.io/chromium/stealth (or /chromium): starts the browser
    (host follows BROWSERLESS_BASE_URL)
  • wss://production-sfo.browserless.io/e/<id>/reconnect/<id>: reconnects to the same browser
  • https://production-sfo.browserless.io/session: session API, only if reconnect isn't available on your plan
  • 127.0.0.1 (random port): the local multiplexer that Hermes connects to

Pages you ask Hermes to visit are loaded by the Browserless browser. The API token is sent only to the
Browserless endpoints above and is not stored by the plugin. The plugin's own connections to Browserless use a
browserless-hermes-plugin/<version> User-Agent so Browserless can count Hermes usage; no other data is sent, and
this doesn't change the browser's user agent that websites see. Set BROWSERLESS_SOURCE_TAG=false to turn it off.

What this plugin does on your machine

  • Background process: for each active Hermes browser session, the plugin runs a background thread with a
    WebSocket server on 127.0.0.1 (random port). It rejects requests whose Host header is not a local host name,
    which blocks DNS rebinding from web pages; other processes on the same machine can still discover and connect to
    it. It stops when that browser session closes.
  • Network calls: only to the Browserless endpoints listed above, using your BROWSERLESS_TOKEN, with a
    browserless-hermes-plugin/<version> connection User-Agent (see above; BROWSERLESS_SOURCE_TAG=false turns it
    off).
  • Credentials: the token is read through Hermes' secret store (BROWSERLESS_TOKEN); the plugin never reads
    other credential files and stores nothing.
  • Files: none, unless you set BROWSERLESS_MUX_LOG, which writes a connection log (tokens redacted) to that
    path.
  • Telemetry: none.
  • Shell commands: none. (scripts/ holds optional helpers you run yourself.)

License

MIT. See LICENSE.

README from the reviewed commit 600a5d6; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section