Skip to content

Feature: Richer local memory — structured retrieval and fact extraction beyond flat files #2184

@benfrank241

Description

@benfrank241

Summary

Hermes has memory built in and it works — the memory tool saves facts to ~/.hermes/ and session_search gives cross-session recall. For basic use that's fine.

But the backend is flat files with no retrieval intelligence. As memory grows, you get:

  • No semantic search — recall is keyword/FTS only, misses conceptually related memories
  • No fact extraction — raw text is stored as-is, no structure or deduplication
  • No entity resolution — "the user" and "Ben" are unrelated entries
  • No relevance ranking — older or less relevant memories surface equally

What better local memory looks like

A richer local backend would store structured facts, resolve entities, and rank results by relevance — all running locally, no cloud dependency.

hindsight-hermes is a working example of this via the plugin system. It runs fully locally via Docker and gives Hermes structured fact extraction, entity resolution, and multi-strategy retrieval (semantic + BM25 + graph). PR #1811 is the integration.

The ask here is for this kind of capability to be accessible without needing an external plugin — either as a first-class memory backend option or by making the current backend more pluggable so alternatives are easier to drop in.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havetool/memoryMemory tool and memory providerstype/featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions