Skip to main content

MnemoPay tools for Pydantic AI — persistent memory + micropayments

Project description

MnemoPay for Pydantic AI

Give any Pydantic AI agent persistent memory and micropayment capabilities.

Install

pip install mnemopay-pydantic-ai

Usage

from pydantic_ai import Agent
from mnemopay_pydantic_ai import register_mnemopay_tools

agent = Agent("openai:gpt-4o")
register_mnemopay_tools(agent)

Or use MnemoPay's MCP server directly (Pydantic AI has native MCP support):

from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerStdio

agent = Agent(
    "openai:gpt-4o",
    mcp_servers=[MCPServerStdio("npx", ["-y", "@mnemopay/sdk"])],
)

Tools (13)

Memory: remember, recall, forget, reinforce, consolidate Payments: charge, settle, refund Observability: balance, profile, reputation, logs, history

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

mnemopay_pydantic_ai-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

mnemopay_pydantic_ai-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mnemopay_pydantic_ai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 53198ca023ff73d39868a29b5f57546459dc38d768f545302e7ec59109e9f00c
MD5 71c9bc1ffb9a698da928737d1273b062
BLAKE2b-256 89767f0be8977ab7fe5d164d7addaba56f4f3e19589841aee385a1595d686b02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mnemopay_pydantic_ai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45f263c7357b32c65ffb941208d42b34b201676e8dd6a02188224667e4e13f23
MD5 d3f97cb00eee2dbf85e86068e053c8a2
BLAKE2b-256 b490baf3388c584caf3812baf5b4b3fbb19ff7ce5b2796779142dd5e593b387a

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