Skip to main content

Memanto memory-agent provider for the Hermes agent - typed long-term memory (remember/recall/answer) backed by Moorcheh

Project description

Hermes + Memanto: Persistent Memory Agent

This package adds Memanto as a memory agent for the Hermes agent. Memanto gives Hermes typed long-term memory with confidence and provenance, semantic recall, and RAG-style answers, backed by the Moorcheh vector platform.

Unlike a passive "memory layer", every namespace in Memanto is a first-class agent (memanto agent create/activate), so this provider maps one Hermes identity to one Memanto agent.

What you get

  • Auto-recall — relevant memories are injected before each turn.
  • Turn capture — conversation turns are stored as event memories.
  • Explicit toolsmemanto_remember, memanto_recall, memanto_answer.
  • Memory mirroring — Hermes' built-in memory writes are echoed into Memanto.
  • Profile isolationagent_id: hermes-{identity} scopes memory per Hermes profile.

Why a standalone plugin?

Hermes' built-in providers under plugins/memory/ are a closed set; new memory backends ship as standalone plugins that users install into ~/.hermes/plugins/. Hermes discovers a memory provider as a directory under $HERMES_HOME/plugins/<name>/ containing an __init__.py that exposes register(ctx) plus a plugin.yaml. This package ships exactly that, plus an installer that drops it into place.

Prerequisites

Install

# 1. Install this package (pulls in the memanto SDK)
pip install hermes-memanto

# 2. Drop the plugin into your Hermes home (~/.hermes/plugins/memanto/)
hermes-memanto-install

# 3. Configure your key + select the provider
export MOORCHEH_API_KEY=...          # https://console.moorcheh.ai/api-keys
hermes config set memory.provider memanto

hermes memory setup will also list memanto once the plugin is installed, and writes MOORCHEH_API_KEY into ~/.hermes/.env for you.

From a source checkout

git clone https://github.com/moorcheh-ai/memanto.git
cd memanto/integrations/hermes-agents
pip install -e .
hermes-memanto-install            # or: hermes-memanto-install --hermes-home /path/to/.hermes

The installer copies hermes_memanto/provider.py verbatim as the plugin's __init__.py, so the installed plugin is self-contained and only needs the memanto SDK at runtime (declared in its plugin.yaml).

Configuration

After install, settings live in $HERMES_HOME/memanto.json:

Key Default Description
agent_id hermes-{identity} Memanto agent id (memory namespace). {identity} expands to the Hermes profile name.
pattern tool Agent pattern used when auto-creating: support, project, or tool.
auto_recall true Inject relevant memories before each turn.
auto_capture true Store cleaned conversation turns as event memories.
auto_create true Create the agent on first use if it does not exist.
mirror_memory_writes true Echo Hermes' built-in memory writes into Memanto.
max_recall_results 10 Max memories formatted into prefetch context (1–100).
min_confidence null Drop recalled memories below this confidence (0.0–1.0).
session_duration_hours null Override Memanto session lifetime.
Environment variable Description
MOORCHEH_API_KEY Moorcheh API key (required).
MEMANTO_AGENT_ID Override the agent id (takes priority over the config file).

Tools exposed to Hermes

Tool Description
memanto_remember Store a durable fact, preference, decision, goal, or instruction.
memanto_recall Search memories by semantic similarity.
memanto_answer Answer a question grounded only in stored memories (RAG).

Memory types follow Memanto's taxonomy: fact, preference, goal, decision, artifact, learning, event, instruction, relationship, context, observation, commitment, error.

Development

pip install -e ".[dev]"
pytest          # provider unit tests (no network; SdkClient is faked)
ruff check .

How it relates to the other integrations

Integration Package What it does
integrations/mcp memanto-mcp MCP server for any MCP-compatible client (Claude, Cursor).
integrations/crewai crewai-memanto CrewAI tools for multi-agent memory sharing.
integrations/hermes-agents hermes-memanto This — a memory provider for the Hermes agent.

All three talk to the same Moorcheh-backed Memanto agents, so memory written by one is recallable from the others when they share an agent_id.

Support

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

hermes_memanto-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

hermes_memanto-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file hermes_memanto-0.1.0.tar.gz.

File metadata

  • Download URL: hermes_memanto-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hermes_memanto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65fff75961d1985185746820c2ef2ae2a6771021f0ae5b54eecb5c0c5d4b736e
MD5 0e68922b6a1a410b07d09e0ca5fe330a
BLAKE2b-256 4e38e608b54793c88f623533abb334273d17d6e77e4b4eed302ae12287653a9a

See more details on using hashes here.

File details

Details for the file hermes_memanto-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hermes_memanto-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hermes_memanto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b73af78d47c01b79ad0d3598cf9b5484b0957b638f4146519cee5147926a83de
MD5 d3739b99e42471991bb19f8852b115a4
BLAKE2b-256 3512eb1a683ed58c24d35762073cdf12a8ae209dc57769afd4ca23db234f847c

See more details on using hashes here.

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