Skip to content

Hermes

Hermes is an open agent framework. The Librarian plugs into it as a Memory Provider — a small Python adapter (Python 3.11+, no extra packages to install) that proxies the eight tools to your server and feeds the agent its briefing.

When you’d use this: you run a Hermes agent and want it to share The Librarian’s memory and handoffs with your other tools.

Before you start: you need a running Librarian server, its MCP URL, and an agent token — see Install.

Terminal window
npx @the-librarian/cli install # choose Hermes; paste your MCP URL + token
npx @the-librarian/cli update # later: refresh the provider

This copies the provider into ~/.hermes/plugins/librarian and sets it as your memory provider in the Hermes config.

After installing (or updating) the plugin, restart Hermes so the backend loads the provider module. In Hermes Desktop, open Memory & Context → Persistent memory, pick Librarian as the Memory Provider, and enter your MCP Endpoint URL and Agent Bearer Token (click Full config… for optional Agent ID, Default Project Key, and Request Timeout settings):

Hermes Desktop Memory & Context settings showing The Librarian memory provider

In the Hermes Web Dashboard, select librarian as the Memory Provider, enter your Endpoint URL and Token (plus optional Agent ID, Project Key, Auto Save, Journal, and Timeout settings), and click Save Memory Provider. Once saved, the status badge shows ready and active:

Hermes Web Dashboard Memory Provider settings showing The Librarian ready and active

Hermes discovers memory providers by scanning a plugins directory, so installing is a copy plus a config change:

Terminal window
# 1. Put the provider where Hermes looks for plugins:
cp -r integrations/hermes/librarian ~/.hermes/plugins/librarian
# 2. Provide the token (never written into a config file):
export LIBRARIAN_AGENT_TOKEN="<your-agent-token>"
# 3. Activate and point it at your server:
hermes memory setup # pick "librarian", enter the endpoint
  • Eight memory, handoff and journal tools — recall, remember, flag, store/list/claim handoffs, search references, and read the journal, each proxied to your server.
  • The primer in the system prompt — fetched from your server and added to the agent’s prompt, so it learns the recall/remember loop and the handoff, and private-mode protocols.
  • The journal at session start — when the server’s journal is on, your recent entries follow the primer, fetched once per session. Entries are labelled with the git repository Hermes runs in, if any. Turn it off per machine with LIBRARIAN_JOURNAL=off.
  • Automatic capture — after each completed turn Hermes hands the provider both halves of the exchange and the adapter ships it to your server for the curator to mine. On by default; opt out with LIBRARIAN_AUTO_SAVE=false. Private mode is honoured per exchange.
  • Fail-soft everywhere — if your server is unreachable the briefing degrades to empty and tool calls return a tidy error, never blocking a turn.

This is one of the best-tested capture paths: the installed Hermes agent has been confirmed to feed the provider on every completed turn.

For the configuration fields, security posture, and development notes, see the Hermes integration README.