total-agent-memory
by vbcherepanov·★ 34·综合分 46
为AI编程代理提供持久化记忆层,包含知识图谱、嵌入和3D可视化功能。
概述
total-agent-memory是一个为AI编程助手设计的先进记忆系统,支持Claude Code、Codex CLI和Cursor等工具。它维护一个持久化的本地知识库,学习开发者的工作方式而非仅仅记录对话内容。系统利用时序知识图谱、程序记忆和基于AST的代码库摄取,提供跨会话和项目的上下文记忆。通过结合BM25、密集向量、图关系等多种检索技术,在LongMemEval基准测试中达到了96.2%的R@5准确率。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
当您需要为AI编程代理提供持久化记忆,同时强调本地隐私保证且希望在没有云依赖的情况下跨会话保留上下文时,选择total-agent-memory。
什么时候不要选它
如果您需要跨多台机器的云端记忆同步,或要求完全管理的SaaS解决方案而不需要任何自托管,请不要选择此方案。
此 server 暴露的工具
从 README 抽取出 12 个工具memory_save_fastSave memory content quickly without LLM calls in fast mode
memory_search_fastSearch memory quickly with hybrid retrieval in fast mode
memory_explain_searchExplain how a search query was processed
memory_warmupWarm up the memory system for faster initial access
memory_perf_reportGet performance metrics for the memory system
memory_rebuild_ftsRebuild the full-text search index
memory_rebuild_embeddingsRebuild all embedding indexes with current models
memory_eval_locomoRun LoCoMo benchmark on memory system
memory_eval_recallEvaluate memory recall performance
memory_eval_temporalEvaluate temporal reasoning capabilities of memory
memory_eval_entity_consistencyEvaluate consistency in entity extraction across sessions
memory_eval_contradictionsCheck for contradictions in memory knowledge
可对比工具
安装
安装
前置要求
- Python 3.8+
- SQLite (已包含)
- 可选:Ollama用于高级功能
基本安装
pip install total-agent-memoryClaude Desktop集成
添加到Claude Desktop的config.json中:
{
"mcpServers": {
"total-agent-memory": {
"command": "python",
"args": ["-m", "total_agent_memory.server"],
"env": {}
}
}
}快速开始
total-agent-memory init
total-agent-memory servetotal-agent-memory 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。