{"repo":"JingxuanC/causal-memory","free":true,"listed":false,"github":"https://github.com/JingxuanC/causal-memory","clone":"git clone https://github.com/JingxuanC/causal-memory.git","description":"Causal memory layer for AI agents — MCP server that records decision→outcome relationships. Survives compaction.","language":"Rust","stars":35,"topics":[],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"causal-memory An agent memory system with a causal core — and the only one that models inhibition. Facts, temporal state, and decision → outcome causal edges on one SQLite store, powered by a hippocampus-style engine: typed spreading activation (excitatory and inhibitory), Hebbian co-occurrence reinforcement, Q-value dynamics, and immutable SWR consolidation. Agents recall what happened, when it was true, why it worked — and what would happen if they acted differently. --- Why Every agent forgets why it made past decisions after a few context compactions. It re-fixes the same bug the same wrong way, re-debates the same architecture choice, relearns the same lesson. This happens because causal information is the most fragile type under text compaction . Real-LLM benchmark (grok-build's production compaction prompt): Compactions (k) Textual recall Causal-table recall --- --- --- 1 100% 100% 2 85% 100% 3 55% 100% 5 45% 100% The causal table survives because it lives outside the agent's context window — compaction cannot touch it. --- Benchmarks CausalEval — the causal memory benchmark (primary) Most agent-memory benchmarks (LoCoMo, LongMemEval, Memora) test fact recall (\"what is the user's preference\"). causal-memory's differentiators — typed causal edges, inhibition, intervention prediction, cross-task transfer — are invisible on those suites. CausalEval measures them. Design: the causal graph is the answer key. Typed DAGs are generated deterministically; conversations are narr","default_branch":null,"files":null,"tree":[],"storefront":"/r/JingxuanC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JingxuanC/causal-memory/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}