Skip to main content

MemoryLake memory plugin for hermes-agent — persistent memory, document retrieval, web search, and open data access.

Project description

memorylake-hermes

MemoryLake memory plugin for hermes-agent. Gives the agent persistent long-term memory, document retrieval, web search, and open data access via the MemoryLake platform API.

Features

  • 7 tools exposed to the LLM:

    Tool Description
    memorylake_search Unified semantic search across memories AND uploaded documents
    memorylake_store Save facts, preferences, decisions to long-term memory
    memorylake_list List all stored memories for the user
    memorylake_forget Delete a specific memory by ID
    memorylake_download Get pre-signed download URL for a document
    memorylake_web_search Web search across 12 domains (web, academic, news, code, ...)
    memorylake_open_data Search open datasets (arXiv, PubMed, SEC, FRED, patents, ...)
  • Auto-capture: every conversation turn is sent to MemoryLake for server-side memory extraction (background, non-blocking).

  • Conflict detection: surfaces unresolved memory conflicts in search results.

  • Two recall modes:

    • tool_driven (default) — the model is instructed to call memorylake_search as its first action every turn, ensuring consistent memory recall regardless of model.
    • prefetch — the framework runs a unified search before the LLM call and injects results into context automatically.

Installation

# Auto-detect hermes-agent location, symlink (dev mode)
./install.sh

# Explicit path
./install.sh /path/to/hermes-agent

# Copy files instead of symlink
./install.sh --copy

The plugin is installed to plugins/memory/memorylake/ inside hermes-agent.

Configuration

Set in ~/.hermes/.env:

MEMORYLAKE_API_KEY=sk-...          # Required — get at https://app.memorylake.ai
MEMORYLAKE_PROJECT_ID=proj-...     # Required — from your MemoryLake project

Then enable the provider in ~/.hermes/config.yaml:

memory:
  provider: memorylake

Optional Environment Variables

Variable Default Description
MEMORYLAKE_HOST https://app.memorylake.ai MemoryLake server URL
MEMORYLAKE_USER_ID hermes-user User identifier (auto-set to platform user ID in gateway mode)
MEMORYLAKE_TOP_K 5 Max recall results
MEMORYLAKE_SEARCH_THRESHOLD 0.3 Min similarity score (0-1)
MEMORYLAKE_RERANK true Rerank search results
MEMORYLAKE_MEMORY_MODE tool_driven Recall mode: tool_driven or prefetch

Config can also be set via ~/.hermes/memorylake.json (overrides env vars).

Memory Modes

tool_driven (default, recommended)

The system prompt instructs the model to call memorylake_search as its first action on every turn. A per-turn reminder is also injected. This ensures consistent memory recall regardless of which LLM provider you use.

prefetch

The framework calls prefetch() before each LLM call, running a parallel unified search (memories + documents) with the current user message. Results are injected into context automatically. The model does not need to call any tool to receive memory context.

License

Proprietary. Requires a MemoryLake API key.

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

memorylake_hermes-1.0.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

memorylake_hermes-1.0.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memorylake_hermes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c44b40bfcad360dc39b38af38024a01a99871c33d396ff91016eaed0e4d2aa12
MD5 75a034fba8093a9b92362569a97ee342
BLAKE2b-256 25a8ebcd9c23ab30d284fddb0009078b979d55997173eb5daec2917f49d9464a

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on memorylake-ai/memorylake-hermes

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

File details

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

File metadata

File hashes

Hashes for memorylake_hermes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b32d8a513137d8819fab7dfa6bdd7f22911d7a3926004326698e34804fadcdc1
MD5 cea64e5288d6965f523241aaefd8623a
BLAKE2b-256 20db01bb461aa875ea2bfbdd9c3336d1505e75862d1ca091fd27a933e1caf7db

See more details on using hashes here.

Provenance

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

Publisher: pypi.yml on memorylake-ai/memorylake-hermes

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