开源生态MCPAI编程记忆管理开源开发者工具

Show HN: Mnemolith – AI coding memory that goes stale when your code changes

来源:Hacker News AI收录:2026/10/22

✦ AI 解读

Mnemolith 是一个 MCP 服务器,为 Claude Code、Cursor、Codex 等 AI 编程工具提供跨会话的项目记忆,并解决记忆过时问题。当代理保存记忆时,可将其关联到依赖文件并存储 git blob 哈希;文件内容一旦变化(无论是否提交),相关记忆会被搁置并标记待审,避免代理继续依赖失效信息。项目还提供本地仪表板,展示记忆来源、工具、会话及文件版本等。

Hi HN, I'm Anish. I built Mnemolith because the AI coding tools I use (Claude Code, Cursor, Codex) either forget my project between sessions, or remember things that quietly stopped being true. Tell the agent "we use Postgres", migrate to MySQL two weeks later, and it keeps building on the old fact.How it works:- It's an MCP server, so Claude Code, Cursor and Codex share one memory per project (keyed by the git repo). - When the agent saves a memory, it can link it to the files it depends on. Mnemolith stores each file's git blob hash. If the file's contents change (committed or not), the memory is set aside and flagged for review, so the agent stops relying on it. - A local dashboard shows what the agent remembers, where each memory came from (tool, session, file versions), and its full history. You can confirm a memory is still true, or retire it and say what's true now. - Contradictions are judged by the agent, not by a similarity threshold. In my calibration, "we use Postgres" vs "we migrated to MySQL" only scored 0.30 similarity, so a threshold can't tell a contradiction from an unrelated fact. - Current memories can sync into a managed section of AGENTS.md / CLAUDE.md, so they get reviewed in PRs.Under the hood it runs on an engine I wrote from scratch in Java: a Redis-compatible server with a built-in memory model and an HNSW vector index. Embeddings run locally (all-MiniLM-L6-v2). Everything stays on your machine.It's early (v0.2.1). There's no team sync yet beyond the AGENTS.md/CLAUDE.md files, and it needs Java 11+ (it downloads a private copy if you don't have one).I'd really like feedback, especially from people running coding agents on real codebases. What does your agent keep getting wrong? Comments URL: https://news.ycombinator.com/item?id=50199581 Points: 1 # Comments: 0
查看原文 ↗

相关推荐

H2oai/jdupes: H2O.ai fork of jdupes
✦ AI 摘要H2O.ai 在 GitHub 上发布了 jdupes 的分支版本。jdupes 是一个用于查找和去重重复文件的命令行工具,H2O.ai 的分支可能包含针对其内部需求的修改或增强。该项目在 Hacker News 上仅获得 1 分且无评论,关注度较低,但对需要文件去重功能的开发者可能有一定参考价值。
Open Source Mobile-Use MCP and AI Agent
✦ AI 摘要这是一个在 Hacker News 上分享的开源项目 buddy-android,提供移动端使用的 MCP 和 AI Agent 实现。项目托管于 GitHub,目前关注度较低(1 分、1 条评论),但为在 Android 设备上构建和运行 AI 智能体提供了开源参考,适合对移动端 Agent 和 MCP 协议感兴趣的开发者研究。
Show HN: Koala – Run AI Agents in Isolated Linux VMs on macOS
✦ AI 摘要Koala 是一个在 Hacker News 上展示的开源项目,旨在让用户在 macOS 上通过隔离的 Linux 虚拟机运行 AI 智能体。它提供了安全沙箱环境,避免智能体直接访问宿主机系统,适合需要隔离执行 AI 代理任务的开发者。项目通过 Homebrew 分发,目前关注度较低。