mengram
by alibaizhanov·★ 167·综合分 48
Mengram 是为 AI 代理设计的类人记忆系统,支持语义、情节和程序记忆,并能从失败中学习。
概述
Mengram 为 AI 代理提供全面的记忆解决方案,包含三种记忆类型:语义记忆(事实、偏好)、情节记忆(事件、决策)和程序记忆(不断演化的工作流)。它提供免费 API 访问以及 Python 和 JavaScript SDK,并与流行的框架如 LangChain、CrewAI 和 MCP 集成。系统具有独特的功能,如从失败中自动进化程序、生成认知档案以及支持 23 种语言的本地化多语言功能。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
选择 Mengram 是当 AI 代理需要持久的、可演进的记忆系统,能从失败中学习,尤其是在处理多语言上下文或程序性知识时。
什么时候不要选它
避免使用 Mengram 如果您需要完全自托管解决方案,因为它需要云 API 访问,或者如果您只需要简单的存储事实功能,不需要程序性记忆能力。
此 server 暴露的工具
从 README 抽取出 11 个工具searchSearch across all memory types for relevant facts
search_allSearch across all 3 memory types (semantic, episodic, procedural)
episodesRetrieve episodic memories (events, decisions, outcomes)
proceduresRetrieve procedural memories (workflows that evolve from failures)
addAdd conversation data to automatically extract facts, events, and workflows
askGet a synthesized answer with citations from all memories
procedure_feedbackReport procedure failures to automatically evolve workflows
get_profileGenerate a system prompt from all memories
add_fileUpload files to automatically extract memories
job_statusCheck the status of an async file processing job
create_webhookCreate webhooks to be notified when memories change
说明:Tool names were extracted from the README documentation of the MCP server. The README mentions '29 tools for memory management' but only explicitly documents 10 core tools in the examples. These appear to be the most useful and well-documen
可对比工具
安装
使用 npm 或 pip 安装 Mengram MCP 服务器:
npm install mengram-ai
# 或
pip install mengram-ai通过将以下内容添加到 config.json 来配置 Claude Desktop:
{
"mcpServers": {
"mengram": {
"command": "mengram",
"args": ["server", "--cloud"],
"env": { "MENGRAM_API_KEY": "om-..." }
}
}
}在 https://mengram.io/#signup 获取您的免费 API 密钥
FAQ
- Mengram 与其他记忆系统有何不同?
- Mengram 独特之处在于结合了三种记忆类型,并能从失败中自动进化程序,同时支持原生多语言功能和认知档案生成。
- 如何设置 MCP 集成?
- 安装软件包并配置您的 MCP 客户端以使用您的 API 密钥运行 'mengram server --cloud'。这通过 MCP 提供 29 个记忆管理工具。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by mengram-ai · 2026-02-25
mengram 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。