Skip to main content

MnemoPay integration for Composio — persistent memory, micropayments, and trust scoring

Project description

composio-mnemopay

MnemoPay integration for Composio -- persistent memory, micropayments, and trust scoring for AI agents.

Installation

pip install composio-mnemopay

With Composio provider support:

pip install composio-mnemopay[composio]

Quick start

Standalone (no Composio dependency)

from composio_mnemopay import MnemoPayClient

client = MnemoPayClient(server_url="https://mnemopay-mcp.fly.dev")

# Store a memory
result = client.call_tool("remember", {"content": "User prefers dark mode"})
print(result.value)

# Recall memories
result = client.call_tool("recall", {"query": "preferences"})
print(result.value)

# Check balance
result = client.call_tool("balance", {})
print(result.value)

With Composio provider

from composio import Composio
from composio_mnemopay import MnemoPayProvider

composio = Composio(provider=MnemoPayProvider())
tools = composio.tools.get(user_id="default", toolkits=["mnemopay"])

Tools

Category Tool Description
Memory MNEMOPAY_REMEMBER Store a persistent memory
Memory MNEMOPAY_RECALL Semantic search over memories
Memory MNEMOPAY_FORGET Delete a memory by ID
Memory MNEMOPAY_REINFORCE Boost a memory's importance
Memory MNEMOPAY_CONSOLIDATE Prune stale memories
Payments MNEMOPAY_CHARGE Create an escrow charge
Payments MNEMOPAY_SETTLE Finalize a pending escrow
Payments MNEMOPAY_REFUND Refund a transaction
Observability MNEMOPAY_BALANCE Wallet balance + reputation
Observability MNEMOPAY_PROFILE Full agent stats
Observability MNEMOPAY_REPUTATION Detailed reputation report
Observability MNEMOPAY_LOGS Immutable audit trail
Observability MNEMOPAY_HISTORY Transaction history

Environment variables

Variable Default Description
MNEMOPAY_SERVER_URL https://mnemopay-mcp.fly.dev MCP server endpoint
MNEMOPAY_AGENT_ID composio-agent Agent identifier
MNEMOPAY_MODE quick Server mode

License

MIT

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

composio_mnemopay-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

composio_mnemopay-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for composio_mnemopay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ec9ca80abeda5ed04df55e52a9e8e001de892f0ac037a17f9cb5f9d11211677
MD5 3f8e281f4028a4b4b566132ef627cbae
BLAKE2b-256 feef1d664f1f94bfa8a42437ce36a9a17f21d2602d58ca322494531b522ed572

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for composio_mnemopay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ffdc5ed85435ff9b49a2083343cd31e2eaf2db130f93e8454f656b0004cac9
MD5 17e09ae7845ad17a1673bcb3d40926ab
BLAKE2b-256 f86f1b65e40b9d81ba813695276551bdb2de06f00b7135fe1be267016357bba4

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