All plugins

agent_memory_es

Self-owned long-term memory backed by the agent-memory-es service (Elasticsearch). Three agent tools — recall, retain, reflect — over episodic/ semantic/procedural tiers with hybrid BM25+kNN recall and server-enforced private/team/common visibility. Requires a running agent-memory-es instance. Disclosure — each user prompt (as a recall query), each user message and Hermes memory writes are sent to the agent-memory-es service at AMES_SERVICE_URL (default localhost:8123) with AMES_SERVICE_KEY; the model may store facts in shared team/common visibility tiers.

patrykkopycinski3Memoryv0.1.0Updated 1 month ago

About

Self-owned long-term memory backed by the agent-memory-es service (Elasticsearch). Three agent tools — recall, retain, reflect — over episodic/ semantic/procedural tiers with hybrid BM25+kNN recall and server-enforced private/team/common visibility. Requires a running agent-memory-es instance. Disclosure — each user prompt (as a recall query), each user message and Hermes memory writes are sent to the agent-memory-es service at AMES_SERVICE_URL (default localhost:8123) with AMES_SERVICE_KEY; the model may store facts in shared team/common visibility tiers.

agent_memory_es — Hermes memory provider plugin

Standalone Hermes Agent memory
plugin that backs Hermes long-term memory with the
agent-memory-es service
(ES-native memory bank with private / team / common visibility tiers).

Adds three agent tools:

ToolPurpose
agent_memory_recallSearch the long-term memory bank
agent_memory_retainStore a durable fact (with visibility tier)
agent_memory_reflectAnswer a question from memory with citations

Owner identity is the service-side owner bound to the API key; the profile can
never widen visibility by argument.

Landing page

https://patrykkopycinski.github.io/hermes-plugin-agent-memory-es/ — concept, install, interactive flow diagram.

Architecture

agent-memory-es topology

This plugin is a thin HTTP client — all memory logic (hybrid recall, visibility
filtering, promotion guard, consolidation) lives in the
agent-memory-es service:

Hermes Agent ── this plugin ──HTTP── FastAPI :8123 ── Elasticsearch
                                     (auth: X-API-Key → owner_id)
  • On every turn, sync_turn mirrors the user's words into the episodic tier
  • Built-in Hermes memory writes are mirrored into the semantic tier
    (on_memory_write)
  • Prompts get a lightweight prefetch recall (top-5) before the model answers
  • Full architecture walkthrough: docs/ARCHITECTURE.md
    · interactive explainer: docs/explainer.html

Install

# 1. run the agent-memory-es service (see its repo) and mint a profile API key

# 2. drop this plugin into user plugins (dir name MUST stay agent_memory_es)
git clone https://github.com/patrykkopycinski/hermes-plugin-agent-memory-es.git \
  ~/.hermes/plugins/agent_memory_es

# 3. point Hermes at it
#    ~/.hermes/config.yaml:
#      memory:
#        provider: agent_memory_es
export AMES_SERVICE_URL=http://localhost:8123   # default
export AMES_SERVICE_KEY=<your-key>

# 4. verify
hermes memory status

Config

KeyEnv fallbackDefaultDescription
urlAMES_SERVICE_URLhttp://localhost:8123FastAPI service endpoint
api_keyAMES_SERVICE_KEY—Per-profile API key (determines owner identity)

Development

cd ~/.hermes/hermes-agent   # any hermes-agent checkout provides the contract
python -m pytest ~/.hermes/plugins/agent_memory_es/tests -q

The regression test pins the OpenAI parameters schema key — the sanitizer
silently empties MCP-style input_schema, which strips every tool argument.

README from the reviewed commit e9469ee; 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