Skip to main content

MnemoPay plugin for Hermes Agent — persistent memory + micropayment wallet

Project description

MnemoPay Plugin for Hermes Agent

Give Hermes persistent cognitive memory and a micropayment wallet.

Install

pip install mnemopay-hermes

Or drop into your plugins directory:

cp -r mnemopay_hermes ~/.hermes/plugins/mnemopay/
cp plugin.yaml ~/.hermes/plugins/mnemopay/

What It Does

  • 12 tools: remember, recall, forget, reinforce, consolidate, charge, settle, refund, balance, profile, logs, history
  • Memory injection: pre_llm_call hook automatically recalls relevant memories and injects them into every prompt
  • Auto-remember: post_tool_call hook stores significant tool outcomes as memories
  • Session lifecycle: Recalls top memories on session start, clean shutdown on end

Configuration

The plugin spawns the MnemoPay MCP server (npx @mnemopay/sdk) as a subprocess. Configure via environment variables:

Variable Default Description
MNEMOPAY_AGENT_ID "mcp-agent" Agent identifier
MNEMOPAY_MODE "quick" "quick" (in-memory) or "production" (Postgres+Redis)
MNEMO_URL "http://localhost:8100" Mnemosyne API URL (production)
AGENTPAY_URL "http://localhost:3100" AgentPay API URL (production)

Alternative: MCP Config (No Plugin Needed)

If you just want the tools without hooks, add to your Hermes config:

mcp_servers:
  mnemopay:
    command: "npx"
    args: ["-y", "@mnemopay/sdk"]
    env:
      MNEMOPAY_AGENT_ID: "hermes-agent"

The plugin adds the pre_llm_call memory injection and post_tool_call auto-remember on top of this.

Links

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

mnemopay_hermes-1.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

mnemopay_hermes-1.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file mnemopay_hermes-1.1.0.tar.gz.

File metadata

  • Download URL: mnemopay_hermes-1.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for mnemopay_hermes-1.1.0.tar.gz
Algorithm Hash digest
SHA256 61a16200860b00993bb81ad2d1566eba9c8dafc42aa35d5d685e56daea3067a4
MD5 0cc5ed3fb4fed329393845f470ddb03e
BLAKE2b-256 8d74f389a3fabe6c7133c40cb2bdf40358b1d96e2298dd343e152bcf62965f93

See more details on using hashes here.

File details

Details for the file mnemopay_hermes-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mnemopay_hermes-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9ed941f90bc3620934d1d5e72c21e7deb4d4b7452fc123579eb24656b2f4b8
MD5 76fdcdc989a68846d9da459b076dfbfc
BLAKE2b-256 448baaba65ef5cc1bd9bacb7d416aafa09030e866d5cd8a12ad6a3f8e30aabe0

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