# MnemoPay > Free, open-source (Apache 2.0) audit and governance SDK for AI agents: tamper-evident hash-chained audit bundles, policy checks, human approvals, and EU AI Act Article 12-shaped evidence exports. Memory, an agent reputation score and payment rails are optional modules. Evidence tooling, not legal compliance. MnemoPay is built by J&B Enterprise LLC (Dallas, TX). Latest: @mnemopay/sdk 1.15.2 on npm (TypeScript); `mnemopay` 1.3.0 on PyPI (a smaller Python port with its own audit chain, no ledger or persistence). MCP server: `npx -y @mnemopay/sdk`; the approval and governance tools are opt-in (`MNEMOPAY_TOOLS=hitl,governance`), the default group exposes 14 memory/wallet/transaction tools. ## What it does - **Audit chain**: `AuditChain` records events (id, sequence, timestamp, kind, payload) and rolls them into a Merkle root; `verifyBundle` recomputes it. Edits and deletions change the root. It proves internal consistency, not time of creation, unless the root is stored or anchored elsewhere. In 1.15.2, `verifyBundle` alone does not catch an exact duplicate of the final event on an odd-length bundle; check unique ids and contiguous sequence numbers as well (see the how-to). - **Policy and approvals**: `evaluateAction` returns allowed, blocked, or needs-approval; `routeVerdict` and an `ApprovalStore` queue the human decision. - **Article 12-shaped bundles**: mission, events, CSV, chain and a checksummed manifest with a six-month default retention field. Not legal compliance; whether a system is high-risk is a legal question. - **Anchoring seam**: `OnChainAnchorSink` interface plus a mock. No production deployment anchors on chain yet; one third party anchored a MnemoPay test bundle on Base mainnet on 2026-11-01. - **Optional modules**: persistent memory, Agent Credit Score (300-850, not FICO, not FCRA-regulated), payment rails (Stripe, Paystack, Lightning, x402, AP2). Live settlement is only verified against mocks and an opt-in Stripe test-mode test. ## EU AI Act timing (checked 2026-11-04) Article 12 record-keeping duties for stand-alone high-risk AI systems apply from 2 December 2027 (embedded in products: 2 August 2028), after Regulation (EU) 2026/1744 (Digital Omnibus on AI) moved the original 2 August 2026 date. Six-month log retention is in Articles 19 and 26(6). Explainer with sources: https://mnemopay.com/blog/eu-ai-act-article-12-logging-ai-agents ## Start here - [Build a tamper-evident audit log for an AI agent (runnable, verified on 1.15.2)](https://mnemopay.com/blog/tamper-evident-audit-log-ai-agent-typescript) - [Human approval for AI agent actions, in code and over MCP](https://mnemopay.com/blog/human-approval-for-ai-agent-actions-mcp) - [EU AI Act Article 12 logging for AI agents, with sources](https://mnemopay.com/blog/eu-ai-act-article-12-logging-ai-agents) - [AI agent audit trail vs observability logs](https://mnemopay.com/blog/agent-audit-trail-vs-observability-logs) - [Developers](https://mnemopay.com/developers) and [SDK](https://mnemopay.com/sdk) - [Signed sample Article 12 bundle (synthetic)](https://mnemopay.com/proof/article12-demo) ## Install - Node: `npm install @mnemopay/sdk` - Python: `pip install mnemopay` - MCP: `claude mcp add mnemopay -s user -- npx -y @mnemopay/sdk` ## Pricing - **Open source, self-hosted**: free, full SDK. - **Design-partner pilots**: scoped and priced by email for one agent workflow. https://mnemopay.com/design-partners - **Pro, $49/mo**: managed rails and hosted score storage; checkout is self-serve on https://mnemopay.com/pricing. Usage pricing is not final. - **Growth / Enterprise**: set up by email (jeremiah@getbizsuite.com). ## Companion products - GridStamp: cryptographic proof-of-presence for robots and drones (`npm install gridstamp`). https://mnemopay.com/gridstamp - MnemoPay Mobile: on-device memory and wallet for mobile AI apps. https://mnemopay.com/mobile ## Journal (older essays) - [The harness is the moat](https://mnemopay.com/blog/the-harness) - [Receipts beat claims](https://mnemopay.com/blog/receipts-beat-claims) - [Why agents need credit scores](https://mnemopay.com/blog/agent-credit-score) - [Proof-of-presence, a primer](https://mnemopay.com/blog/proof-of-presence-primer) - [Why MCP servers need native trust](https://mnemopay.com/blog/mcp-servers-native-trust) - [MnemoPay vs Coinbase Payments MCP vs x402](https://mnemopay.com/blog/mnemopay-vs-coinbase-mcp-vs-x402) - Index: https://mnemopay.com/blog ## Links - Site: https://mnemopay.com - GitHub (SDK): https://github.com/mnemopay/mnemopay-sdk - npm: https://www.npmjs.com/package/@mnemopay/sdk - PyPI: https://pypi.org/project/mnemopay/ - Contact: jeremiah@getbizsuite.com ## Honest limits Small project: single-digit GitHub stars, no named production deployment yet. Broader open-source alternatives exist, for example Microsoft's agent-governance-toolkit. Hardware-backed signing is untested. No tokens, no chain required.