
TrueMemory
by buildingjoshbetter·★ 77·综合分 48
高性能的AI代理记忆系统,在SQLite上本地运行并集成MCP服务器。
概述
TrueMemory是一个精密的记忆系统,使AI代理能够跨会话记住长期数据。它采用受神经科学启发的6层检索管道,通过编码门在存储前过滤信号中的噪声。系统完全在单个SQLite文件上本地运行,确保隐私和可移植性。它通过生命周期钩子自动捕获对话,与多个AI助手集成,包括Claude Code、Cursor和Gemini CLI。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要为AI代理提供持久记忆,离线工作,并优先考虑隐私性时选择TrueMemory。
什么时候不要选它
如果您需要真正的MCP服务器功能进行自定义工具集成,不要选择它 - 它主要是一个具有MCP钩子的记忆系统,而非独立的MCP服务器。
此 server 暴露的工具
从 README 抽取出 10 个工具addStore a memory in the system
searchSearch memories using the 6-layer pipeline with reranking
search_deepPerform multi-round agentic search for higher accuracy
search_vectorsPure vector cosine similarity search without full pipeline
getRetrieve a specific memory by its ID
get_allRetrieve all memories with pagination support
updateUpdate the content of a specific memory
deleteDelete a specific memory by ID
delete_allDelete all memories for a specific user
statsGet memory system statistics
可对比工具
安装
安装
**快速安装(推荐):**
# Mac/Linux
curl -LsSf https://raw.githubusercontent.com/buildingjoshbetter/TrueMemory/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/buildingjoshbetter/TrueMemory/main/install.ps1 | iex**Python库(供开发者):**
pip install truememory**Claude Desktop集成:** 安装后,添加到您的Claude Desktop配置中:
{
"mcpServers": {
"truememory": {
"command": "uv",
"args": ["run", "truememory", "serve"]
}
}
}FAQ
- TrueMemory与其他记忆系统有何不同?
- TrueMemory使用受神经科学启发的6层检索管道,通过编码门在存储前过滤噪声。它在SQLite上完全本地运行,同时在记忆基准测试中取得了最先进的成果。
- TrueMemory是否离线工作?
- 是的,Edge和Base层完全离线运行,无需API密钥。Pro层需要LLM API密钥进行查询扩展,但仍在本地处理数据。
TrueMemory 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。