> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Hermes Agent

> Serve Hermes Agent's built-in web search and page extraction through WebRouter, with no API key.

The [WebRouter plugin for Hermes Agent](https://github.com/yogev-nimble/hermes-webrouter) is a
backend for [Hermes Agent](https://hermes-agent.nousresearch.com/)'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.

> [!NOTE]
>
> 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`](https://pypi.org/project/webrouter/) package.
* No WebRouter account or provider key.

## Install

```bash theme={null}
hermes plugins install yogev-nimble/hermes-webrouter --enable
```

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`:

```yaml theme={null}
web:
  backend: webrouter
```

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](https://docs.webrouter.net/configuration.md).

## 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](https://docs.webrouter.net/integrations/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.