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.11.0 latest. Subpath imports recommended — `@mnemopay/sdk/recall`, `/rails`, `/middleware/openai`, etc. Root import auto-starts the bundled MCP server.
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. 14 tools exposed by default. Works with Claude Desktop, Cursor, Continue, or any MCP client. Filter via `MNEMOPAY_MCP_TOOLS=` env.
Hosted gateway →14 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 Credit Score 300-850. FICO-scaled. Payment + behavior + memory + identity + anomaly.
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.
langgraphLangGraph-native node + state contract.
clientHTTP client for the hosted MnemoPay gateway. Use when you do not want to self-host.