
uudam42/agent-memory-engine 是从 https://github.com/uudam42/agent-memory-engine. 导入的 MCP 服务器候选
概览
uudam42/agent-memory-engine 是从 https://github.com/uudam42/agent-memory-engine. 导入的 MCP 服务器候选
概述(AI 翻译)
为编码代理提供本地优先的持久内存和项目知识运行时。
英文 |中文
记忆引擎特工
本地优先的MCP运行时,为编码代理提供持久的、有证据支持的项目内存和跨会话的扎根项目知识。
为什么它存在
编码代理面临一个根本问题:每次会话都是冷冰冰的。
- 他们在每次会议之间忘记了项目的背景。
- 它们反复扫描仓库,重新学习模块的功能。
- 他们失去调试课程和历史决策。
- 平面RAG无法区分稳定约束、过去事件、架构决策和原始代码证据。
- 即使是大型上下文窗口,仍然需要智能优先级和代币预算。
Memory Engine 通过维护一个结构化、有证据支持的内存树和一个索引项目知识库来解决这个问题——两者都是本地的,都是自动的,无需基础设施。
核心能力
| 能力 | 详情 |
|---|---|
| 持久内存树 | MemoryNode层级结构:约束、架构、模块、决策、事件、过程 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Local-first persistent memory and project knowledge runtime for coding agents.
English | 中文
Agent Memory Engine
A local-first MCP runtime that gives coding agents persistent, evidence-backed project memory and grounded project knowledge across sessions.
Why it exists
Coding agents face a fundamental problem: every session starts cold.
- They forget project context between sessions.
- They repeatedly scan repositories to re-learn what modules do.
- They lose debugging lessons and historical decisions.
- Flat RAG cannot distinguish stable constraints, past incidents, architecture decisions, and raw code evidence.
- Even large context windows still require intelligent prioritization and token budgeting.
Memory Engine solves this by maintaining a structured, evidence-backed memory tree alongside an indexed project knowledge base — both local, both automatic, no infrastructure required.
Core capabilities
| Capability | Details |
|---|---|
| Persistent memory tree | MemoryNode hierarchy: constraints, architecture, modules, decisions, incidents, procedures |
| Evidence-backed memory | Each node links to source Evidence entries (test output, code references, review notes) |
| Candidate staging | Reflection generates MemoryCandidates before promoting to the live tree |
| Confidence-aware promotion | create / update / merge / supersede / discard / needs_review |
| Conflict detection | High-risk areas (auth, schema, state-machine, retry) flagged for review |
| Ancestor consolidation | Parent node summaries auto-updated after each promotion |
| Agent-native recall | Intent-aware retrieval before coding tasks — no manual queries |
| Progressive inspection | Drill down into any memory node, its children, and linked evidence |
| Automatic post-task reflection | Agent reports outcome → system decides whether and how to retain knowledge |
| Knowledge ingestion | Markdown, code, ADR, test reports, runtime logs, git diffs |
| Local FTS5 search | SQLite FTS5 with porter tokenizer; no external search engine |
| Optional semantic retrieval | Persistent local sqlite-vec backend with sentence-transformers / Ollama / FastEmbed (ONNX Runtime) embeddings (Phase 13); default OFF, no required deps |
| Lexical structured fallback | Full retrieval without vector backend or Docker |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"memory-engine": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/agent-memory-engine",
"memory-engine-mcp",
"--project-root",
"/absolute/path/to/your-project"
]
}
}
}