跳到主要内容

entropicmem

Communityv2.7.0 0

Durable local memory for Hermes agents: SQLite FTS5 facts with cited, explainable recall; a Markdown vault with knowledge-graph export and an interactive visual graph; and turn-prefetch context injection with reason tokens. Write policy auto-redacts high-confidence secrets at write time (other PII types are warn-only findings) and stored-content injection screening flags and warns on recall and prefetch payloads (flag-and-warn, fail-open by design, not a blocking filter). Includes a 34-command CLI, destructive-op gates with automatic backups, and an append-only audit log.

Open in Hermes Desktop
hermes plugins install entropicmem

Screenshots

What it adds

Tools 7

entropicmem_rememberentropicmem_recallentropicmem_queryentropicmem_patch_coreentropicmem_statsentropicmem_getentropicmem_consolidate

Hooks 5

on_memory_writeon_session_switchon_session_endon_turn_starton_pre_compress

README

From the reviewed commit 437c89b; it updates when the author re-pins.

EntropicMem MemoryProvider

Hermes Agent memory provider: local SQLite facts, vault retrieval, and prefetch injection, wired as memory.provider: entropicmem. The engine and CLI live in scripts/ inside this directory, so the plugin is self-contained for catalog installs.

Install

Catalog (recommended):

hermes plugins install entropicmem

Development checkout:

ln -sf "/path/to/EntropicMem/plugins/entropicmem" ~/.hermes/plugins/entropicmem

Activate

# ~/.hermes/config.yaml
memory:
  provider: entropicmem

Then bootstrap a vault:

python3 ~/.hermes/plugins/entropicmem/scripts/entropicmem.py init

Tools

Tool Purpose
entropicmem_remember Store a durable fact (policy + PII sanitized)
entropicmem_recall Search facts, FTS5 + hybrid vector fusion, why_retrieved on every hit
entropicmem_query Hybrid vault retrieval with citations (wikilinks + FTS)
entropicmem_patch_core Surgical Persona / User Profile edits (opt-in via core_memory_writable)
entropicmem_stats Memory statistics: fact count, domain distribution, DB path
entropicmem_get Retrieve a single stored fact by entropic_id
entropicmem_consolidate Archive old, low-access facts (gated)

Hooks

on_memory_write, on_session_switch, on_session_end, on_turn_start, on_pre_compress. Behavior and config keys: docs/ARCHITECTURE.md.

Memory-Context Injection (Critical)

When active, Hermes injects prefetched memories wrapped in <memory-context> tags at the start of each turn. These are system-injected context, not user input. The agent MUST:

  • Use the facts silently to inform answers
  • NEVER acknowledge the block itself
  • NEVER say "thanks for sharing," "I notice you've shared," or similar
  • NEVER ask "what do you want me to do with this context"
  • If a memory-context block appears with no actual user message, ask the user what they need

Smart Context Management

Prefetch relevance filtering, token budgets, and dedup windows optimize context injection. Configure under plugins.entropicmem in ~/.hermes/config.yaml; defaults and the full option list are in skills/entropicmem/references/HERMES_INTEGRATION.md.

← Back to the catalog · catalog built Sep 23, 2026