跳到主要内容
Plugin

causal-memory

JingxuanC/causal-memory

因果记忆插件:零依赖的 MCP stdio 桥,把 causal-memory 服务的 17 个工具以干净名(无 mcp__ 前缀)挂载——本地 SQLite 记录「决策 结果」因果边(caused / enabled / prevented),压缩后记忆仍存活——另注入一段常驻系统提示词。需先将 causal-memory 服务端装到 PATH(pip install causal-memory,或下载预编译包)。

形态
Plugin 插件
安装
通过 profile 安装
需要密钥
是
近月下载
—
最近推送
2 天前更新

项目说明

From README

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.English · 简体中文 --- 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 --- ---

Original description

Causal memory layer for AI agents — MCP server that records decisionoutcome relationships. Survives compaction.

安装方式

通过 profile 安装 · 需要额外配置密钥

README 解析
shell
git clone https://github.com/JingxuanC/causal-memory.git
shell
npx skills add JingxuanC/causal-memory@causal-memory
shell
pip install maturin

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 执行命令
  • 读取文件
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 3 天仍在推送;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量。

维护活跃
100
实用度
82
生态热度
45
上手便捷
74
信号质量
100
数据置信度
100%
评分怎么算