All plugins

neocore

One memory for every AI harness you use: your own Hermes conversations (CLI, desktop, and direct messages from the ids in owners) share the NeoCore memory that Claude Code and Codex use on the same machine (neocore setup), or your own NeoCore memory server (neocore connect). Before each turn, dated verbatim excerpts and facts are recalled with zero model calls (BM25 plus a local bge-small embedding model); on a machine with an NVIDIA graphics card or Apple silicon, NeoSift, NeoCore's own 32M relevance model, keeps only the ones that help. Groups and anyone else who messages the agent keep a separate memory per chat. In the owner's conversations the provider adds neocore_search, neocore_open, neocore_timeline, neocore_facts, neocore_profile and neocore_remember; elsewhere neocore_search and neocore_forget. Disclosure — the owner's turns are stored in ~/.neocore (or $NEOCORE_HOME), one memory shared by every Hermes profile on the machine, or sent to the memory server that machine was connected to; other chats are stored in $HERMES_HOME/neocore/memory.db. Text is stored after Hermes's and NeoCore's secret scrubbing. After the owner's turns, at most once every 5 minutes, a detached neocore sync process indexes the memory and, if that memory is set up with a background model (the one named in its config, else the first installed of the Hermes CLI, on the model and provider set up in Hermes, with no tools, rules or memory, one turn and a tool session kept out of session lists, then the Codex or Claude Code CLI; neocore doctor shows which, or none), sends recent turns to it to form dated facts and a short briefing, as NeoCore does for Claude Code and Codex; on such a machine it also reads Claude Code and Codex transcripts, as their own NeoCore hooks do. Recall itself never calls a model unless the optional hosted relevance filter was chosen at setup. With dense_recall on, the first start downloads bge-small-en-v1.5-onnx-Q (three files, about 65 MB) from huggingface.co/Qdrant, each refused unless its SHA-256 matches the hash pinned in neocore-memory. With neosift: auto (the default) and a graphics card, it installs NeoSift once in a background thread into ~/.neocore/sift: a Python venv with torch (download.pytorch.org) and transformers from PyPI within version bounds, about 2-3 GB, plus the pinned model (about 120 MB, SHA-256 checked) from the NeoCore GitHub release, switched on only if a speed check passes; it runs a local scoring server on 127.0.0.1:8796 that keeps nothing. shared: off keeps Hermes on a memory of its own; neosift: off disables NeoSift. No telemetry. Subagent, cron and flush contexts never write. Programs it starts (the detached sync, the Hermes, Codex or Claude Code CLI, the NeoSift server) get a minimal environment without Hermes's provider keys (the Hermes CLI reads its own); only a key the NeoCore config itself names is passed.

VincentPorquet7775Memoryv0.3.2Updated 5 days ago

About

One memory for every AI harness you use: your own Hermes conversations (CLI, desktop, and direct messages from the ids in owners) share the NeoCore memory that Claude Code and Codex use on the same machine (neocore setup), or your own NeoCore memory server (neocore connect). Before each turn, dated verbatim excerpts and facts are recalled with zero model calls (BM25 plus a local bge-small embedding model); on a machine with an NVIDIA graphics card or Apple silicon, NeoSift, NeoCore's own 32M relevance model, keeps only the ones that help. Groups and anyone else who messages the agent keep a separate memory per chat. In the owner's conversations the provider adds neocore_search, neocore_open, neocore_timeline, neocore_facts, neocore_profile and neocore_remember; elsewhere neocore_search and neocore_forget. Disclosure — the owner's turns are stored in ~/.neocore (or $NEOCORE_HOME), one memory shared by every Hermes profile on the machine, or sent to the memory server that machine was connected to; other chats are stored in $HERMES_HOME/neocore/memory.db. Text is stored after Hermes's and NeoCore's secret scrubbing. After the owner's turns, at most once every 5 minutes, a detached neocore sync process indexes the memory and, if that memory is set up with a background model (the one named in its config, else the first installed of the Hermes CLI, on the model and provider set up in Hermes, with no tools, rules or memory, one turn and a tool session kept out of session lists, then the Codex or Claude Code CLI; neocore doctor shows which, or none), sends recent turns to it to form dated facts and a short briefing, as NeoCore does for Claude Code and Codex; on such a machine it also reads Claude Code and Codex transcripts, as their own NeoCore hooks do. Recall itself never calls a model unless the optional hosted relevance filter was chosen at setup. With dense_recall on, the first start downloads bge-small-en-v1.5-onnx-Q (three files, about 65 MB) from huggingface.co/Qdrant, each refused unless its SHA-256 matches the hash pinned in neocore-memory. With neosift: auto (the default) and a graphics card, it installs NeoSift once in a background thread into ~/.neocore/sift: a Python venv with torch (download.pytorch.org) and transformers from PyPI within version bounds, about 2-3 GB, plus the pinned model (about 120 MB, SHA-256 checked) from the NeoCore GitHub release, switched on only if a speed check passes; it runs a local scoring server on 127.0.0.1:8796 that keeps nothing. shared: off keeps Hermes on a memory of its own; neosift: off disables NeoSift. No telemetry. Subagent, cron and flush contexts never write. Programs it starts (the detached sync, the Hermes, Codex or Claude Code CLI, the NeoSift server) get a minimal environment without Hermes's provider keys (the Hermes CLI reads its own); only a key the NeoCore config itself names is passed.

NeoCore memory for Hermes Agent

What if Hermes remembered everything you ever told it, across every harness you use, with zero
model calls?

NeoCore is one memory for all your AI harnesses. Your own Hermes conversations go into the same
NeoCore memory that Claude Code and Codex use, on this machine or on your own memory server. Tell
Codex something at your desk; ask Hermes about it on Telegram tonight. Before each turn NeoCore
adds the dated excerpts and facts that turn needs, each saying which AI and project it came from.
Recall makes zero model calls and takes tens of milliseconds. With a graphics card,
NeoSift, NeoCore's own relevance model, then reads the turn and keeps only the memories that
help.

  • One memory, every harness. Claude Code, Codex and Hermes read and write the same memory.
    With neocore connect, every machine you own shares it too.
  • Your memory stays yours. Only your own conversations join it: the CLI, the desktop app, and
    direct messages from your own ids (owners). A group, or anyone else who messages your agent,
    gets a separate memory and never sees yours. Subagents and cron runs read memory but never
    write it.
  • Verbatim and dated. Recall shows what was actually said and when. When two items disagree,
    the newer one holds.
  • Matches meaning. A small local embedding model (bge-small) finds paraphrases:
    "Which city do I live in these days?" finds "I moved to Lisbon in May." Word matching (BM25)
    works from the first turn, before the model is downloaded.
  • Filtered by NeoSift. On a machine with an NVIDIA graphics card or Apple silicon, NeoSift
    (a 32M-parameter model trained for this) scores every recalled memory against the turn,
    locally, and only the ones that help are added. It installs itself once in the background
    when it finds the graphics card. On 103 real held-out prompts it ranks memories at 0.914
    against 0.970 for the frontier model that taught it, at 0.07 s a prompt on an RTX 3080.

NeoCore is open source (Apache-2.0): github.com/VincentPorquet777/neocore.

Install

hermes plugins install VincentPorquet777/neocore/integrations/hermes
hermes memory setup          # pick "neocore"

Or copy this folder to $HERMES_HOME/plugins/neocore/, install neocore-memory[embed] into the
Hermes environment, and set memory.provider: neocore in config.yaml.

hermes memory status should then show neocore ← active.

To share the memory with Claude Code and Codex on the same machine, run neocore setup there
(see the main README).
If Hermes runs on a server and your other AIs on a laptop, run the memory on one machine and
neocore connect the others to it
(one memory across machines).
Hermes uses whatever that machine is set up with; nothing else to configure.

Settings

hermes memory setup asks for these and saves them to $HERMES_HOME/neocore/config.json.

KeyDefaultWhat it does
sharedautoauto: your own conversations use the machine's NeoCore memory (~/.neocore, or the memory server it is connected to), the one Claude Code and Codex share. off: Hermes keeps a memory of its own, in its profile.
ownersemptyYour own ids on messaging platforms, comma separated, e.g. telegram:123456789. Direct messages from them join the shared memory. Empty: only the CLI and desktop app do.
scopeautoThe memory of everyone else's conversations. auto: each messaging chat has its own. profile: one person uses this agent, so everything joins the shared memory. chat: always per chat. user: follows a person across chats (it can surface a private chat in a group they are in).
budget_chars8000The most recalled text added before a turn in a chat's own memory, in bytes (the shared memory uses its own budget_bytes).
dense_recalltrueAlso match meaning, not only words. Downloads the embedding model once (see below). false: word matching only, no download.
neosiftautoNeoSift, the relevance model. auto: on a machine with an NVIDIA graphics card or Apple silicon, install it once in the background and filter every recall with it. off: never.

Tools

In your own conversations Hermes gets the same tools as Claude Code and Codex:

ToolWhat it does
neocore_searchSearches everything you said and decided with any of your AIs. Dated hits with ids.
neocore_openOpens one memory in full, with the turns before and after it.
neocore_timelineWhat you worked on, in time order, for a date range, project or AI.
neocore_factsCurrent facts about your work, newest first.
neocore_rememberStores something you asked it to remember, for every AI sharing the memory.

In other people's conversations: neocore_search over that conversation's own memory, and
neocore_forget, which deletes one message by id when the person asks (an audit record stays,
without the text).

What it stores, and where

  • Your conversations: in the shared memory, ~/.neocore/neocore.db (or $NEOCORE_HOME), or
    on your memory server. Each turn's user and assistant text after Hermes's own secret scrubbing
    and NeoCore's (API keys and tokens become [REDACTED]), marked as coming from Hermes.
  • Everyone else's: $HERMES_HOME/neocore/memory.db, one memory per chat. In shared chats,
    each user line starts with the author's display name, and the author's platform id is kept in
    the message metadata.
  • Recalled memory blocks are stripped before storage, so recall never stores itself.
  • ~/.neocore/models/ and $HERMES_HOME/neocore/models/: the embedding model (about 65 MB).
  • $HERMES_HOME/neocore/config.json: the settings above.
  • ~/.neocore/sift/, with a graphics card only: NeoSift's own Python environment (torch,
    transformers, ~2-3 GB) and the pinned model (~120 MB), one copy for every harness.

Disclosure

  • Network: the one-time downloads below, and, if you connected this machine to your own
    memory server, your turns go to that server and recall comes from it. Nothing else: no
    telemetry.
  • Embedding model: only when dense_recall is on and the model is missing. Three files from
    huggingface.co/Qdrant/bge-small-en-v1.5-onnx-Q in a background thread, each refused unless
    its SHA-256 matches the hash pinned in neocore-memory. Until then, recall matches words only.
  • NeoSift: only with neosift: auto on a machine with a graphics card, once: pip packages
    (torch from download.pytorch.org, transformers) and the model from this repository's GitHub
    release, refused unless its SHA-256 matches. NeoSift switches on only if a speed check
    passes; a failed install is retried after 7 days.
  • Model calls: recall never makes one, unless the shared memory was set up with the
    optional hosted relevance filter (OPENROUTER_API_KEY at neocore setup). In the shared memory, the background neocore sync
    turns conversations into dated facts with the model the memory is set up with (neocore doctor shows which, or none), exactly as it does for Claude Code and Codex.
  • Background work: one thread per provider instance stores turns off the conversation
    path. After your turns, at most once every 5 minutes, a separate neocore sync process indexes
    and forms facts; on a machine with Claude Code or Codex it also reads their new transcripts,
    as their own hooks do.
  • Local server, NeoSift: a process on 127.0.0.1:8796 that scores memories and keeps
    nothing. If it does not answer in time, that turn gets unfiltered recall.

Measured

On an 8-core VPS, with 1,206 stored turns of mixed chatter around 6 facts, six paraphrased
questions found their fact 6 of 6 times with meaning matching on (median recall 47 ms) and 2 of 6
with word matching only (17 ms).

NeoCore's published benchmark scores (LoCoMo 87.5%, LongMemEval-S 89.6%) are in the
main README.

Requirements

Hermes Agent 0.22.2 or newer (tested on 0.23.2), Python 3.11+.

Tests

python -m pytest integrations/hermes/tests -q   # needs Hermes and neocore-memory importable

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