Start building. Free forever. Apache-2.0.
MnemoPay is the trust OS for AI agents that handle money. Agent identity (Ed25519), Merkle-chained memory, six payment rails, agent credit score (300-850), EU AI Act Article 12 audit bundles. Live on npm + PyPI. 200K-operation stress-tested. Built solo, in the open. We build and dogfood our own tools: AugEngine is MnemoPay's flagship internal dogfood — the runtime behind a 12–20 min third-person narrative-action vertical slice that exercises our recall primitives in production. Read the brief.
Node / TypeScript
npm i @mnemopay/sdk
v1.12.1 latest. Subpath imports recommended — `@mnemopay/sdk/recall`, `/rails`, `/middleware/openai`, etc. Run the bundled MCP server explicitly with `npx @mnemopay/sdk`.
npm page →Python
pip install mnemopay
v1.0.2 latest. Same API contract as the TS SDK for the core primitives (identity, memory, score, audit). Payment rails arrive in v1.1.
PyPI page →MCP Server
npx -y --package=@mnemopay/sdk@latest mnemopay-mcp
Stdio MCP server bundled in the SDK. 95 tools available; 14 essentials exposed by default. Works with Claude Desktop, Cursor, Continue, or any MCP client. Filter via `MNEMOPAY_MCP_TOOLS=` env (groups: essentials, agent, all).
Hosted gateway →16 modules
identityEd25519 keypairs + signed actions + verifiable receipts.
recallPersistent agent memory. Local + remote, cosine similarity, deterministic.
anchorMerkle-chained ledger. Tampering is cryptographically traceable.
railsStripe + Paystack + Lightning + Stripe MPP + x402 + Google AP2.
fiscalFiscalGate. Reserves funds at charter start, enforces budgets pre-call.
charterAgent employment contract. What the agent can spend, on what, for whom.
auditEU AI Act Article 12-compliant bundles. Every tool call, payment, refusal.
scoreAgent Reputation Score 300-850. Payment history + utilization + history length + behavior diversity + fraud record. Scores agents, not FCRA-regulated.
governanceCharter enforcement. Refuse / approve / escalate before the call.
middleware/openaiDrop-in memory + audit wrapper for the OpenAI SDK.
middleware/anthropicSame for Anthropic. Same contract.
middleware/geminiShipped v1.11.0. Build-with-Gemini XPRIZE eligible.
middleware/cohereDrop-in memory + audit wrapper for the Cohere SDK.
middleware/mistralDrop-in memory + audit wrapper for the Mistral SDK.
langgraphLangGraph-native node + state contract.
clientHTTP client for the hosted MnemoPay gateway. Use when you do not want to self-host.