Skip to main content

MnemoPay tools for Agno — persistent memory, micropayments, and trust scoring for AI agents

Project description

agno-mnemopay

MnemoPay tools for Agno -- persistent memory, micropayments, and trust scoring for AI agents.

Install

pip install agno-mnemopay

With Agno integration:

pip install agno-mnemopay[agno]

Usage

Standalone

from agno_mnemopay import MnemoPayTools

tools = MnemoPayTools(
    server_url="http://localhost:3000",
    agent_id="my-agent",
)

# Memory
tools.remember(content="User prefers dark mode", importance=0.8)
memories = tools.recall(query="dark mode")
tools.reinforce(id="mem-1", boost=0.2)
tools.consolidate()

# Payments
tools.charge(amount=0.50, reason="Answered a question")
tools.settle(tx_id="tx-1")
tools.balance()

# Observability
tools.profile()
tools.logs()
tools.history()

With Agno

from agno.agent import Agent
from agno.tools.mnemopay import MnemoPayTools

agent = Agent(tools=[MnemoPayTools()])

Configuration

Parameter Env Variable Default
server_url MNEMOPAY_SERVER_URL --
agent_id -- agno-agent
timeout -- 30

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

agno_mnemopay-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

agno_mnemopay-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agno_mnemopay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ff7e61ed4249646f8b60e8f4ce8d31aa6b77e3c539b5374c21b71586dc0f96b
MD5 876b133e0a8a112361b117b8030d57f7
BLAKE2b-256 fd2b7ded130b67f9b7c2a3693db032998177789c5292b7f5aaa9f7b65c82df84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agno_mnemopay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for agno_mnemopay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e281040ca2fe8ba5c6a0439e345768eccb25c7eb06fe557b5c861bdc79b373b8
MD5 1024315ff114f431ebc1679cf34f30b0
BLAKE2b-256 11f8f454655fdd3fa6a3c90d7ce789fbef83f76876a8d91f261e2087e6898b65

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