Audit and governance for AI agents. Free. Apache-2.0.
MnemoPay is an open-source SDK for tamper-evident audit chains, policy checks, human approvals and EU AI Act Article 12-shaped evidence bundles around AI agent actions. Memory, an agent reputation score and payment rails are optional modules. On npm and PyPI. Built by a very small team, in the open. Start with the 5-minute how-to. 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.17.0 latest. Subpath imports recommended (for example `@mnemopay/sdk/governance` for the audit chain, policy and approvals) — `@mnemopay/sdk/recall`, `/rails`, `/middleware/openai`, etc. Run the bundled MCP server explicitly with `npx @mnemopay/sdk`.
npm page →Python
pip install mnemopay
v1.3.0 latest. A smaller port than the TypeScript SDK: its audit chain serializes like the TypeScript one (bundles verify across runtimes), but it has no ledger, persistence or anchor sink. Versioned independently.
PyPI page →MCP Server
npx -y --package=@mnemopay/sdk@latest mnemopay-mcp
Stdio MCP server bundled in the SDK. 95 tools available; 14 essentials (memory, wallet, transactions) exposed by default. Approvals and audit export are opt-in: `MNEMOPAY_TOOLS=hitl,governance` (17 tools). Works with any MCP client.
Hosted gateway →Modules (governance first)
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.
auditArticle 12-shaped evidence bundles: mission, events, CSV, chain, manifest. Not legal compliance.
scoreAgent Reputation Score 300-850. Payment history + utilization + history length + behavior diversity + fraud record. Scores agents, not FCRA-regulated.
governancePolicy checks and approval queue. Allow / block / needs-approval 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.