← Voltar
0/100r/ethdev · u/LifeTelevision1146 · Wevolv3 · Development

Built an MCP memory server that replaces RAG with verified persistent memory for on-chain agents and here's the architecture - open source AGPLv3

Abrir no Reddit ↗
💡 Por que é um lead: [OTHER/BROADCAST]

Post original

I've been running Modgudr in production and wanted to share the design, because I think there's a real gap in how most agent frameworks handle memory. The problem with RAG for financial agents: RAG retrieves by semantic similarity. For a chatbot, that's fine. For an agent managing real capital, it means: Stale information can surface if it's semantically similar to the current query. There's no mechanism to detect when a retrieved fact contradicts something established more recently. Temporal authority is invisible, the vector store doesn't know that last week's risk posture superseded last month's. What Modgudr does instead? There are three staged before anything enters the memory. Recall: check new information against existing memory. Verify: if there's a conflict, flag it, resolve it, record the resolution reason permanently. Commit: write only verified, non-contradictory facts to the knowledge graph, with source + G1–G5 confidence grade. Session start injects a compact AAAK-compressed context block (typically 200 tokens or lesser, up to 30× compression) so your agent picks up exactly where it left off, without retrieval lottery. Why this matters for on-chain agents? Governance agents need to remember prior vote rationale so they can't be fed a re-framed version of a previously rejected proposal. Risk agents need to know why a parameter was adjusted, not just that it was. Execution agents need to learn from failure across sessions, not just within one. Integration: It's an MCP server. If you're on ElizaOS, one config entry: { "plugins": ["@fleek-platform/eliza-plugin-mcp"], "settings": { "mcp": { "servers": { "modgudr": { "type": "sse", "url": "http://localhost:7432" } } } } } Any MCP compatible client works. Binaries for Linux (x86_64, ARM64) and Windows. 3.3MB RAM footprint. AGPLv3 open source. Commercial licence for proprietary embedding. Full writeup on the architecture and three DeFi use cases: https://modgudr.com/blog/defi-ai-agent-memory-verified-mcp/ Source and downloads: https://modgudr.com Happy to answer questions on the AAAK compression format or the verification gate implementation.   submitted by   /u/LifeTelevision1146 [link]   [comments]

Rascunhos

Sem rascunho (score abaixo do threshold). Ajuste o threshold em Configurações se quiser gerar rascunho para leads com score menor.

Status