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.0.0.tar.gz (6.5 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.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mnemopay_hermes-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 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.0.0.tar.gz
Algorithm Hash digest
SHA256 7dcdde1ee8b394885c204a98bada53f15eb58661b46f957a7cb8add23e0bb9b5
MD5 ae5bd393a80caff3ff077a546ec96688
BLAKE2b-256 d251cb3f1918bd969d64c518205c5f693ae0bb1f0f7fbd14291b884c7dcb10f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mnemopay_hermes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cf08c40cae1a2771526d8976ee1e3e4d05bcab73f8476ea8443d54cf31ad875
MD5 c49586271c41b0b950b1dd6168c66343
BLAKE2b-256 885917602f0884fa8cc21995ada9ddc0e5d5a4f76104cea2be3f02994e68f070

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