能力标签
🔌
MCP工具

TeleMem

基于 Python · 让 AI 助手直接操作你的系统与工具
英文名:telemem
⭐ 470 Stars 🍴 34 Forks 💻 Python 📄 Apache-2.0 🏷 AI 8.0分
8.0AI 综合评分
mcpagentai-agentsconversational-ai
✦ AI Skill Hub 推荐

TeleMem 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

TeleMem 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 TeleMem,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。TeleMem 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 TeleMem 评为 AI 评分 8.0 分,属于同类工具中的优质选择。

📋 工具概览

TeleMem 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 470
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
Apache-2.0
AI 综合评分
8.0 分
工具类型
MCP工具
Forks
34

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

TeleMem 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/TeleAI-UAGI/telemem

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "telemem": {
      "command": "npx",
      "args": ["-y", "telemem"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 TeleMem 执行以下任务...
Claude: [自动调用 TeleMem MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "telemem": {
      "command": "npx",
      "args": ["-y", "telemem"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 77/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <a href="https://github.com/TeleAI-UAGI/telemem"> <img src="./assets/TeleMem.png" width="40%" /> </a> </p>

TeleMem: Building Long-Term and Multimodal Memory for Agentic AI

<p align="center"> <a href="https://arxiv.org/abs/2601.06037"> <img src="https://img.shields.io/badge/arXiv-Paper-red" alt="arXiv"> </a> <a href="https://github.com/TeleAI-UAGI/telemem/actions/workflows/ci.yml"> <img src="https://github.com/TeleAI-UAGI/telemem/actions/workflows/ci.yml/badge.svg" alt="CI"> </a> <a href="https://pypi.org/project/telemem/"> <img src="https://img.shields.io/pypi/v/telemem?color=blue" alt="PyPI"> </a> <a href="https://github.com/TeleAI-UAGI/telemem"> <img src="https://img.shields.io/github/stars/TeleAI-UAGI/TeleMem?style=social" alt="GitHub Stars"> </a> <a href="https://github.com/TeleAI-UAGI/TeleMem/blob/main/LICENSE"> <img src="https://img.shields.io/badge/license-Apache%20License%202.0-blue" alt="License: Apache 2.0"> </a> <img src="https://img.shields.io/github/last-commit/TeleAI-UAGI/TeleMem?color=blue" alt="Last Commit"> <img src="https://img.shields.io/badge/PRs-Welcome-red" alt="PRs Welcome"> </p>

**If you find this project helpful, please give us a ⭐️ on GitHub for the latest update.**

🤝 Contributions welcome! Feel free to open an issue or submit a pull request.

</div>

---

TeleMem is an agent memory management layer that can be used as <mark>a high-performance drop-in replacement for Mem0 with one line of code (import telemem as mem0)</mark>, deeply optimized for complex scenarios involving multi-turn dialogues, character modeling, long-term information storage, and semantic retrieval.

Through its unique context-aware enhancement mechanism, TeleMem provides conversational AI with core infrastructure offering higher accuracy, faster performance, and stronger character memory capabilities.

Building upon this foundation, TeleMem implements video understanding, multimodal reasoning, and visual question answering capabilities. Through a complete pipeline of video frame extraction, caption generation, and vector database construction, AI Agents can effortlessly store, retrieve, and reason over video content just like handling text memories.

The ultimate goal of the TeleMem project is to use an agent's hindsight to improve its foresight.

TeleMem, where memory lives on and intelligence grows strong.

Project Introduction

TeleMem enables conversational AI to maintain stable, natural, and continuous worldviews and character settings during long-term interactions through a deeply optimized pipeline of character-aware summarization → semantic clustering deduplication → efficient storage → precise retrieval.

flowchart LR A["Dialogue
messages"] --> B["Character-aware
summarization
(global + per-character)"] B --> C["Embedding +
similar-memory
retrieval"] C --> D["Write buffer
(batch flush)"] D --> E["LLM semantic
clustering & fusion"] E --> F[("FAISS index +
JSON metadata")] Q["Query"] --> S["Vector search
+ rerank"] F --> S S --> R["results"]

🔥 Research Highlights

  • Significantly improved memory accuracy: Achieved 86.33% accuracy on the ZH-4O Chinese multi-character long-dialogue benchmark, 19% higher than Mem0.
  • Doubled speed performance: Millisecond-level semantic retrieval enabled by efficient buffering and batch writing.
  • Greatly reduced token cost: Optimized token usage delivers the same performance with significantly lower LLM overhead.
  • Precise character memory preservation: Automatically builds independent memory profiles for each character, eliminating confusion.
  • Automated Video Processing Pipeline: From raw video → frame extraction → caption generation → vector database, fully automated
  • ReAct-Style Video QA: Multi-step reasoning + tool calling for precise video content understanding

---

Features

  • Automatic memory extraction: Extracts and structures key facts from dialogues.
  • Semantic clustering & deduplication: Uses LLMs to semantically merge similar memories, reducing conflicts and improving consistency.
  • Character-profiled memory management: Builds independent memory archives for each character in a dialogue, ensuring precise isolation and personalized management.
  • Efficient asynchronous writing: Employs a buffer + batch-flush mechanism for high-performance, stable persistence.
  • Precise semantic retrieval: Combines FAISS + JSON dual storage for fast recall and human-readable auditability.

Installation

pip install telemem            # core (text memory)
pip install "telemem[mcp]"     # + MCP server
pip install "telemem[video]"   # + video/multimodal pipeline
pip install "telemem[all]"     # everything

Install from source (editable), with the extras you need

pip install -e ".[all]" ```

Quick Start

Example

Set your OpenAI API key:

export OPENAI_API_KEY="your-openai-api-key"

```python

python examples/quickstart.py

import telemem as mem0

memory = mem0.Memory()

messages = [ {"role": "user", "content": "Jordan, did you take the subway to work again today?"}, {"role": "assistant", "content": "Yes, James. The subway is much faster than driving. I leave at 7 o'clock and it's just not crowded."}, {"role": "user", "content": "Jordan, I want to try taking the subway too. Can you tell me which station is closest?"}, {"role": "assistant", "content": "Of course, James. You take Line 2 to Civic Center Station, exit from Exit A, and walk 5 minutes to the company."} ]

memory.add(messages=messages, user_id="Jordan") results = memory.search("What transportation did Jordan use to go to work today?", user_id="Jordan") for hit in results["results"]: # same result shape as mem0 print(hit["memory"])


`Memory()` uses the default provider settings inherited from `mem0ai`. To use the repository's local Qwen + FAISS configuration, load `config/config.yaml` explicitly:
python from telemem.utils import load_config import telemem as mem0

config = load_config("config/config.yaml") memory = mem0.Memory(config=config)


The runnable examples also honor the same configuration through `TELEMEM_CONFIG`:
shell TELEMEM_CONFIG=config/config.yaml python examples/quickstart.py ```

Multimodal Example

Run the multimodal demo:

python examples/quickstart_mm.py

On the first run, frames, captions and VDB JSON will be generated under the chosen output_dir. The repository ships a small sample video; generating captions and the video database still requires configured VLM and embedding services unless you already have these artifacts locally.

Complete code example:

```python import telemem as mem0 from pathlib import Path from telemem.mm_utils.core import extract_choice_from_msg

📄 Metadata Example (_meta.json)

{
 "summary": "Characters discussed the upcoming action plan.",
 "sample_id": "session_001",
 "round_index": 3,
 "timestamp": "2024-01-01T00:00:00Z",
 "user": "Jordan" // Only present in person_*.json
}
All memories include summary, round number, timestamp, and character, facilitating auditing and debugging.

------

Experimental Configuration

| Method | Overall(%) | |:--------------------------------------------------------- |:---------- | | RAG | 62.45 | | _Mem0 | 70.20 | | MOOM | 72.60 | | A-mem | 73.78 | | Memobase | 76.78 | | TeleMem | 86.33 |

---

Development Environment

Using uv (recommended — creates .venv from the committed uv.lock for a reproducible environment):

uv sync --all-extras   # install TeleMem (editable) + all extras, incl. MCP
uv run python examples/quickstart.py

Or with conda + pip:

```shell

Create and activate virtual environment

conda create -n telemem python=3.10 conda activate telemem

Multimodal Extensions

Beyond text memory, TeleMem further extends multimodal capabilities. Drawing inspiration from Deep Video Discovery's Agentic Search and Tool Use approach, we implemented two core methods in the TeleMemory class to support intelligent storage and semantic retrieval of video content.

MethodDescription
add_mm()Process video into retrievable memory (frame extraction → caption generation → vector database)
search_mm()Query video content using natural language, supporting ReAct-style multi-step reasoning

Framework Integrations

TeleMem drops into any agent framework with the same two calls — search() before answering, add() after each exchange:

FrameworkExampleInstall
**LangChain**[examples/langchain_memory.py](examples/langchain_memory.py)pip install langchain-core langchain-openai
**LlamaIndex**[examples/llamaindex_memory.py](examples/llamaindex_memory.py)pip install llama-index-llms-openai
**Claude Desktop / Cursor / any MCP client**[MCP Server](#mcp-server)pip install "telemem[mcp]"

Because TeleMem is mem0 API-compatible, any framework adapter written for Mem0's OSS client also works — point it at telemem.Memory instead.

---

TeleMem vs Mem0: Core Advantages

TeleMem deeply refactors Mem0 to address characterization, long-term memory, and high performance. Key differences:

Capability DimensionMem0TeleMem
Multi-character separation❌ Not supported✅ Automatically creates **independent memory profiles** per character
Summary qualityBasic summarization✅ **Context-aware + character-focused prompts** covering key entities, actions, and timestamps
Deduplication mechanismVector similarity filtering✅ **LLM-based semantic clustering**: merges similar memories via LLM
Write performanceStreaming, single writes✅ **Batch flush + concurrency**: 2–3× faster writes
Storage formatSQLite / vector DB✅ **FAISS + JSON metadata dual-write**: fast retrieval + human-readable

| Multimodal Capability | Single image to text only | ✅ **Video Multimodal Memory**: Full video processing pipeline + ReAct multi-step reasoning QA |

🎯 aiskill88 AI 点评 A 级 2026-07-07

高性能MCP工具,适合对话式AI

⚡ 核心功能

👥 适合人群

Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师

🎯 使用场景

  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

高性能,语义化
💡 AI Skill Hub 点评

经综合评估,TeleMem 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ Apache-2.0 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 TeleMem
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 telemem
Topics mcpagentai-agentsconversational-ai
GitHub https://github.com/TeleAI-UAGI/telemem
License Apache-2.0
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/TeleAI-UAGI/telemem 🌐 官方网站  https://teleai-uagi.github.io/telemem/

收录时间:2026-07-07 · 更新时间:2026-07-07 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →