Skip to main content
The WebRouter plugin for Hermes Agent is a backend for Hermes Agent’s built-in web_search and web_extract tools. It adds no tools of its own. Each call goes to one backend and falls back to the next if that backend fails or returns nothing. It works with no API key.
The plugin installs from its GitHub repository. Its listing in the Hermes plugin catalog is pending; once it is listed, hermes plugins install webrouter works too.

Prerequisites

  • Hermes Agent 0.21.6 or later.
  • A Python version that both your Hermes release and the plugin support: 3.11 to 3.14 for Hermes Agent 0.21.6. The plugin installs the webrouter package.
  • No WebRouter account or provider key.

Install

Hermes warns that the source is custom, since it is not from the catalog yet. It then lists the plugin’s Python dependencies and asks whether to prepare them: answer y. The default, No, leaves WebRouter installed but disabled. To answer up front, for example in a script, add --yes-deps. Then select WebRouter for both tools in ~/.hermes/config.yaml:
To use it for one tool only, set web.search_backend: webrouter or web.extract_backend: webrouter instead. Start a new Hermes session for the change to apply.

API keys (optional)

With no key set, calls go to the backends’ free tiers. Add a provider key to ~/.hermes/.env (or your profile’s .env) and WebRouter adds that backend to its routing, for most backends ahead of the free tiers; the calls it serves are billed to that key. Each Hermes profile uses its own keys. The variables and where to get each key are in the configuration guide.

Credentials and data

  • Search queries and the URLs passed to web_extract go to the backend WebRouter picks for the call.
  • Keys come only from Hermes, and each key goes only to its own backend.
  • The plugin sends no telemetry, writes no files and runs no shell commands.
  • Hermes checks every URL against its private-address and website policies before the plugin sees it.
Back to Integrations.