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

  • 15 tools: remember, recall, forget, reinforce, consolidate, charge, settle, refund, balance, profile, reputation, logs, history, dispute, fraud_stats
  • 4 prompts: recall-and-decide, agent-status-report, session-start, session-end
  • 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: session-start prompt recalls top memories on start, session-end consolidates and saves summary on shutdown

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.1.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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mnemopay_hermes-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8def581df079d0f31eb049cf1e1ea7152bc51f9c23d2286d576c0cecd90ec109
MD5 c93af917b7745dae562c3a73a99fc719
BLAKE2b-256 94d8e9f98eaeac93b9d8d64d96f82c83fd47d72ad552e5925d52d42e7d7c57f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mnemopay_hermes-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b2eda6453ae8400bf9ac75668ad8af007d83cbdf0c2eeb2a58ecf1bee3e3d80
MD5 e30e3f1426d8ef8b3d6b5b8335d98760
BLAKE2b-256 bc02364d673e2f40ea383f94033888a3a96af8b11c30bc34c2188620f3524f6e

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