feat: add MnemoPay action provider for agent economic memory#1089
feat: add MnemoPay action provider for agent economic memory#1089t49qnsx7qt-kpanks wants to merge 1 commit intocoinbase:mainfrom
Conversation
Adds a new action provider that integrates the MnemoPay SDK, giving AI agents economic memory — they can remember payment outcomes, learn from settlements and refunds, and build reputation over time. Actions: remember_outcome, recall_memories, charge_payment, settle_payment, refund_payment, check_balance, agent_profile. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🟡 Heimdall Review Status
|
|
Hey team! Added a live interactive demo to the PR description: try it here. It shows the feedback loop in action — an agent hiring freelancers, learning from settlements and refunds, and consistently picking the best value by round 7-8. The core idea: |
|
Hi team 👋 — just checking in on this. MnemoPay v0.4.0 shipped this week with fraud detection, ML anomaly detection (opt-in), and dispute resolution. The action provider in this PR is fully tested and ready to go. Happy to address any feedback or questions. Demo available if helpful. |
Summary
mnemopayaction provider that integrates the MnemoPay SDK, giving AI agents economic memory — they remember payment outcomes, learn from settlements/refunds, and build reputation over time.remember_outcome,recall_memories,charge_payment,settle_payment,refund_payment,check_balance,agent_profileWhy economic memory matters for agents
Today's AI agents are economically amnesiac — they make the same payment mistakes repeatedly, can't learn which providers deliver quality work, and have no reputation that persists across sessions. This is a fundamental limitation for any agent that handles money.
MnemoPay solves this by giving agents a memory-payment feedback loop:
Over time, agents develop a reputation score that reflects their economic track record. An agent with high reputation has a history of making good economic decisions — choosing reliable providers, fair prices, and successful transactions.
Example flow
Implementation details
twitter,wallet, and other action-providers (decorator-based, Zod schemas, factory function)supportsNetworkalways returnstrue) — operates at the application layerimport()to avoid bundling issuesMNEMOPAY_AGENT_ID,MNEMOPAY_DECAY_RATE)@mnemopay/sdkas a peer dependencyFiles changed
typescript/agentkit/src/action-providers/mnemopay/mnemopayActionProvider.ts— Main provider (7 actions)typescript/agentkit/src/action-providers/mnemopay/schemas.ts— Zod input schemastypescript/agentkit/src/action-providers/mnemopay/mnemopayActionProvider.test.ts— Full test coveragetypescript/agentkit/src/action-providers/mnemopay/index.ts— Exportstypescript/agentkit/src/action-providers/mnemopay/README.md— Documentationtypescript/agentkit/src/action-providers/index.ts— Added mnemopay exportTest plan
supportsNetworkreturns true for all networks@mnemopay/sdkinstalled)🤖 Generated with Claude Code
Live Demo
Try it now: https://t49qnsx7qt-kpanks.github.io/mnemopay-demo/
The Feedback Loop in 30 Seconds
How it works
5-line integration