Skip to main content

Remnic MemoryProvider plugin for Hermes Agent

Project description

remnic-hermes

Remnic MemoryProvider plugin for Hermes Agent.

Provides automatic memory recall on every LLM turn and observation of every response via the Hermes MemoryProvider protocol.

Installation

pip install remnic-hermes

Or via the Remnic CLI:

remnic connectors install hermes

Configuration

Add to your Hermes config.yaml:

plugins:
  - remnic_hermes

remnic:
  host: "127.0.0.1"
  port: 4318
  token: ""  # auto-loaded from ~/.remnic/tokens.json

A legacy engram: block is still accepted during the Engram → Remnic compat window. The plugin reads remnic: first and falls back to engram: if the new key is absent, so existing configs keep working without edits.

How It Works

  • pre_llm_call — Recalls relevant memories before each LLM call and injects them into the system prompt as a <remnic-memory> block
  • sync_turn — Observes each conversation turn for future recall
  • extract_memories — Performs deep extraction at session end
  • Explicit toolsremnic_recall, remnic_store, remnic_search registered as Hermes tools (legacy engram_* aliases remain available during the compat window)

Python API

from remnic_hermes import RemnicMemoryProvider, RemnicClient, RemnicHermesConfig

The legacy names EngramMemoryProvider, EngramClient, and EngramHermesConfig are kept as aliases for backward compatibility and will be removed in a future major release.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remnic_hermes-1.0.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remnic_hermes-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file remnic_hermes-1.0.0.tar.gz.

File metadata

  • Download URL: remnic_hermes-1.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remnic_hermes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e8e16f9365820cf01a8bf8c84447e5062ec7f1d38c988a5d0ceda12081bd9afd
MD5 24ab63828b39b76e7c39f693a7ce1f2f
BLAKE2b-256 d3780a4ed1334bccdb63dad9ca37c780e9ce18b1f13332c85cc1ea69e9b1f0d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for remnic_hermes-1.0.0.tar.gz:

Publisher: hermes-python.yml on joshuaswarren/remnic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file remnic_hermes-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: remnic_hermes-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remnic_hermes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9ddf95c438a48ba82999baee190df0b143c7eeb200911431349f5905f59c66
MD5 797b680e3a7b871b63005a09a56b1419
BLAKE2b-256 06ae0c533bdc6a64192dd9449a35caf00fb691e56df2fd64ad8f8c2f03e4b4d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for remnic_hermes-1.0.0-py3-none-any.whl:

Publisher: hermes-python.yml on joshuaswarren/remnic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page