MCP Catalogs
首页

total-agent-memory

by vbcherepanov·34·综合分 46

为AI编程代理提供持久化记忆层,包含知识图谱、嵌入和3D可视化功能。

developer-toolsai-llmknowledge-graph
9
Forks
2
活跃 Issue
本月
最近提交
2 天前
收录于

概述

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_fast

    Save memory content quickly without LLM calls in fast mode

  • memory_search_fast

    Search memory quickly with hybrid retrieval in fast mode

  • memory_explain_search

    Explain how a search query was processed

  • memory_warmup

    Warm up the memory system for faster initial access

  • memory_perf_report

    Get performance metrics for the memory system

  • memory_rebuild_fts

    Rebuild the full-text search index

  • memory_rebuild_embeddings

    Rebuild all embedding indexes with current models

  • memory_eval_locomo

    Run LoCoMo benchmark on memory system

  • memory_eval_recall

    Evaluate memory recall performance

  • memory_eval_temporal

    Evaluate temporal reasoning capabilities of memory

  • memory_eval_entity_consistency

    Evaluate consistency in entity extraction across sessions

  • memory_eval_contradictions

    Check for contradictions in memory knowledge

可对比工具

mem0lettazepcogneesupermemory

安装

安装

前置要求

  • Python 3.8+
  • SQLite (已包含)
  • 可选:Ollama用于高级功能

基本安装

pip install total-agent-memory

Claude 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 serve

total-agent-memory 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。