
aide-memory
io.github.aide-memory由 GitHub 账号 aide-memory 发布v0.6.3更新于 Oct 24, 2026
Persistent memory layer for AI coding agents — your agent remembers what you taught it.
发布方自己的服务:Memory.fit
概览
面向 AI 编程助手的本地持久记忆层,可跨会话和跨工具捕获、按路径限定并召回项目知识。
- 可以做什么
- 按偏好、技术事实、区域上下文、团队准则四类分层存储、更新和删除记忆,用 glob 路径限定范围,并区分个人与共享记忆。搜索和列出已存记忆,支持关键词搜索及可选的语义搜索。导入已有记忆,并按文件路径召回相关上下文。通过编辑器钩子自动捕获知识:识别纠正、定期提示反思、会话开始时注入重要记忆。将项目目录下的 JSON 记忆文件提交到 Git,与团队同步。
- 适用场景
- 当你反复向编程助手解释约定、决策或某块代码的背景知识,或希望在一个编辑器中捕获的上下文能带到另一个编辑器、并共享给同一代码区域的同事时适用。适合希望按路径精准召回、而非整份规则文件始终注入的 Claude Code 和 Cursor 用户。
- 运行要求
- 以本地 stdio 进程运行,从 npm 安装;需要 Node.js 18 或更高版本以及 npm 或 npx。无需 Docker、外部数据库、API 密钥或云账户。初始化会安装编辑器钩子并写入项目配置文件;可选的语义搜索使用 Transformers.js 或 Ollama。
安装
在 SourceWeft 中
- 打开 控制台中的 aide-memory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
aide-memory
Auto-captured, auto-recalled, path-scoped memory for AI coding agents and teams.
Website: https://aide-memory.dev
Docs: https://aide-memory.dev/docs
Install: npm install -g aide-memory && aide-memory init
The problem
Coding with agents has made developers significantly more productive. But it's created a new kind of friction.
You explain how the feature you're building ties into the rest of the system, the way you like to structure your code, the patterns to follow in this area. The agent gets it. You ship great work together. Next session, it's a blank slate. You re-explain the same things.
Critical decisions being made during conversations aren't being captured. Preferences, corrections, area knowledge, guidelines. So much valuable context doesn't persist, doesn't flow to the next session, to a different tool, or to a teammate's agent when they pick up work in the same area.
Rules files (CLAUDE.md, .cursorrules) help, but they have real limits:
- No unified convention or structure. A team guideline, a personal preference, an area decision, and a stack fact all blur into one file. The whole file gets injected on every turn, even when most of it might not be relevant to the area the agent is working in.
- Corrections don't make it back. What you teach the agent in conversation doesn't make it back into the rules file on its own.
- Tool-specific. What you teach your agent in Claude Code doesn't carry to Cursor unless you copy the file over manually.
- Unscoped recall. The whole file lands in context, or nothing does. There's no prompt for the agent to pull a relevant subset based on the file it just opened.
aide-memory fills these gaps. It sits alongside your rules files, not above or below. Rules files for static, always-on guidance. aide-memory for the dynamic, scoped knowledge that grows with the codebase.
How it works
Capture happens automatically
Six hooks fire across the session lifecycle, installed by aide-memory init:
- UserPromptSubmit: detects corrections ("no, use X instead") and prompts the agent to store them scoped to the code area
- Stop: periodic reflection ("anything worth remembering?") on a tunable schedule picks up decisions and findings
- SessionStart: injects top preferences, guidelines, and priority-always memories so the agent starts with context
- PreToolUse: before the agent reads or edits a file, checks if relevant memories exist for that path and prompts recall
- PostToolUse: records what was recalled so re-reads don't re-prompt
- PreCompact: clears session tracking before context compaction so post-compact reads re-prompt cleanly
Recall is scoped
Memories attach to code areas via glob scopes (src/components/dashboard/**, packages/api/**). When the agent opens a file, aide-memory matches the path against stored scopes and surfaces what's relevant to that area.
Four layers organize the knowledge:
Recall ranks area_context first (most specific), then technical, then preferences, then guidelines. Scoped memories rank above project-wide ones.
Git-synced for teams
Memories are JSON files under .aide/memories/. Commit, push, pull. A post-checkout git hook rebuilds the local cache after git pull so your teammate's agent picks up your context on their next file read. Personal preferences (preferences/personal/) are gitignored. Team conventions travel with the repo.
Cross-tool
Claude Code and Cursor read the same .aide/memories/ directory. A memory captured in one tool is available in the other. Codex, Copilot, and Windsurf get a rules template at launch; deeper integration may come based on user feedback.
Quick start
Full walkthrough: https://aide-memory.dev/docs/quick-start
What's in the box
- 7 MCP tools:
aide_recall,aide_remember,aide_update,aide_forget,aide_search,aide_memories,aide_import - 13 CLI commands:
init,recall,remember,update,forget,search,list,stats,recall-log,config,sync,migrate,cleanup - 6 hooks wired into the editor at
init - 4 typed memory layers with personal/shared split for preferences
- FTS5 keyword search plus optional semantic search via Transformers.js or Ollama
Tunable
aide-memory ships with defaults you can adjust:
- How often the agent gets prompted to reflect and store context
- How specific a scope needs to be before a memory surfaces per-file vs session-start-only
- How much context gets injected at session start
- Which hooks are active (disable per-file blocking, turn off correction detection)
- Personal vs shared preferences (gitignored or committed, configurable per-project)
aide-memory init seeds .aide/config.json with all public settings. Full reference: https://aide-memory.dev/docs/configuration
Privacy
Memory content stays on your machine. Anonymized usage counts (event type, hashed machine ID, platform, Node version) ship to PostHog by default so we can see which features are used. Disable with AIDE_TELEMETRY=off.
Editor support
Per-editor details: https://aide-memory.dev/docs/supported-editors
Requirements
- Node.js 18 or later
- npm or npx
No Docker. No external databases. No API keys. No cloud accounts.
License
Free to use. See LICENSE for terms.
Documentation
Full docs: https://aide-memory.dev
来源:README.md,提交 ccde82f
工具
0版本历史
1- v0.6.3最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。
其他 Memory 集成

Memory.fit
fit.memory官方发布者
托管式 Memory.fit 服务器,让 AI 读取你的训练、睡眠、恢复与饮食数据,并写回每周计划、每日目标和饮食计划。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方发布者
pg.ddx.io: the PostgreSQL community's memory 的托管 MCP 服务,由 pg.ddx.io 发布;无需登录;Streamable HTTP;29 个工具。
var.gg Naming Memory
gg.var官方发布者
远程 MCP 服务器,可根据领域概念推荐并检索韩、日、中、越、英多语言的代码标识符名称,并提供 ERD 结构查询。

Counterparts
ai.counterparts
面向 Claude Code 与 Claude Desktop 的本地优先长期记忆:助手自行写下关于你和项目的笔记,并在之后的会话中回忆起来。

LAHZE - Persian AI Memory Platform
由 GitHub 账号 pedramgholizadeh 发布
以波斯语为先的地理记忆平台:发现地点,起草并发布仅限波斯语的记忆。AI 翻译