Skip to main content

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 default 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
MEMORYLAKE_AUTO_UPLOAD true Auto-upload user documents to MemoryLake
MEMORYLAKE_WEB_SEARCH_INCLUDE_DOMAINS Comma-separated list of domains to include in web search
MEMORYLAKE_WEB_SEARCH_EXCLUDE_DOMAINS Comma-separated list of domains to exclude from web search
MEMORYLAKE_WEB_SEARCH_COUNTRY Country code for web search results
MEMORYLAKE_WEB_SEARCH_TIMEZONE Timezone for web search results

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

Memory Modes

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.

Metadata

Release files for memorylake-hermes 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memorylake-hermes 1.1.3
File Size Uploaded Provenance Actions
memorylake_hermes-1.1.3.tar.gz 31.3 kB With provenance Details for memorylake_hermes-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memorylake-hermes 1.1.3
File Interpreter ABI Platform Actions
memorylake_hermes-1.1.3-py3-none-any.whl Python 3 none any Details for memorylake_hermes-1.1.3-py3-none-any.whl

Total release size: 70.1 kB

Release files / memorylake_hermes-1.1.3.tar.gz

Download URL memorylake_hermes-1.1.3.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
40865225d1e3bd82f452b1b47c6a9fad76ca0dade705cc85de43a6a52b9999e0
BLAKE2b-256 checksum
How to use checksums
a8326a509ebb619871648b41e27010893d82551db96d935fa28bb57f5c2b9451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release files / memorylake_hermes-1.1.3-py3-none-any.whl

Download URL memorylake_hermes-1.1.3-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9a4a61eeae5e46c17106270ab63d6d537e49756112b4cb6e555d5f96bdd8ae9
BLAKE2b-256 checksum
How to use checksums
869dc41b5e1414958a946c66250c3801bf4a79546b4b31ae66795fc858265664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Security for memorylake-hermes 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for memorylake_hermes-1.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page