
OMEGA Memory
io.github.omega-memory由 GitHub 账号 omega-memory 发布v1.3.0更新于 Oct 24, 2026
Persistent memory, coordination, and learning for AI agents. Local-first, 25 MCP tools.
发布方自己的服务:Memory.fit
概览
本地优先的记忆服务器,让 AI 助手跨会话保存、检索并回忆决策、经验与偏好。
- 可以做什么
- 存储决策、经验、错误和偏好等记忆,带语义嵌入与去重,之后可编辑、删除、评分或建立关联。按语义相似度、精确短语、时间线或浏览方式检索记忆,并自动呈现相关内容。保存与恢复任务检查点,读取或更新用户画像,设置基于时间的提醒。获取会话简报、操作规则、统计、矛盾检查以及针对当前任务的精简上下文包。通过合并、压缩、备份与恢复维护存储,并可选地请另一个模型提供第二意见。
- 适用场景
- 适合长期与编码助手协作、希望它记住架构选择、约定和以往错误而不必每次重新说明的场景。也适合希望记忆保存在本机而非厂商云端的用户。
- 运行要求
- 以本地 Python 包(omega-memory)运行,需要 Python 3.11 或更高版本,并安装在隔离环境中。安装过程会下载 ONNX 嵌入与重排模型(约 220 MB),并向 Claude Code 的配置文件写入服务器与钩子条目。核心记忆功能无需 API 密钥;可选的第二意见工具需要自备相应提供商的 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 OMEGA Memory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
OMEGA
Cross-model memory for AI agents. Local-first. Works with Claude, GPT, Gemini, Cursor, Claw Code, and any MCP client. Your agent's brain shouldn't live on someone else's server, or be locked to one provider.
[Python 3.11+] [PyPI] [License]
The Problem
AI coding agents are stateless. Every new session starts from zero. The "solutions" either lock you into one model provider or send your codebase context to their cloud.
- Context loss. Agents forget every decision, preference, and architectural choice between sessions. Developers spend 10-30 minutes per session re-explaining context that was already established.
- Repeated mistakes. Without learning from past sessions, agents make the same errors over and over. They don't remember what worked, what failed, or why a particular approach was chosen.
- Cloud memory = someone else's database. Services like Mem0 require API keys and send your data to their servers. When they change pricing, get acquired, or go down, your agent's accumulated intelligence disappears.
- Vendor lock-in. Anthropic's Memory Tool only works with Claude. OpenAI's memory only works with GPT. Switch models, lose your memory.
OMEGA solves this. Memory, coordination, and learning that runs entirely on your machine. Works with every major LLM and coding agent. No cloud. No API keys. No vendor lock-in.
Quick Install
OMEGA needs Python 3.11 or newer. Check with python3 --version: macOS ships Python 3.9, which is too old. If pip answers No matching distribution found for omega-memory, that is the reason; install a newer Python first (for example brew install [email protected], or from python.org).
Install OMEGA into its own environment. Homebrew's Python refuses a plain pip install (PEP 668), and an isolated install keeps OMEGA's dependencies away from your projects. Pick one:
Keep the quotes around "omega-memory[server]": zsh, the default macOS shell, treats bare square brackets as a pattern and fails. The [server] extra installs the MCP server, which also runs the hook daemon; without it Claude Code gets no OMEGA tools and no hooks.
Then:
omega setup --dry-run shows what setup would change without writing or downloading anything.
Claude Desktop
This registers OMEGA as an MCP server in Claude Desktop's config. Restart Claude Desktop to activate.
Cursor, Windsurf, Cline, Codex, Antigravity
Codex and Antigravity get their config file written; for the others setup prints the JSON block to paste. For any other MCP client, omega setup --client venv prints the command and arguments to use. Hooks (automatic capture and surfacing) are available with Claude Code only.
Library-only install (no MCP server)
If you only need OMEGA as a Python library for scripts, CI/CD, or automation, install it into your project's environment:
This gives you the full storage and retrieval API without running an MCP server. Hooks need the MCP server (the hook daemon runs inside it), so a library-only install has no automatic capture or surfacing.
From Source
omega setup will:
- Create
~/.omega/(or$OMEGA_HOMEif you set it) - Download the ONNX embedding model, bge-small-en-v1.5 (~130 MB), and a reranker (~90 MB) to
~/.cache/omega/models/ - Register
omega-memoryas an MCP server (Claude Code auto-detected, or specify--client) - Install session hooks into
~/.claude/settings.json - Add an OMEGA block to
~/.claude/CLAUDE.md
If a step fails, the summary marks it [FAIL] with the reason and setup exits with an error.
60-Second Quickstart
OMEGA works through natural language — no API calls, no configuration. Just talk to Claude.
1. Tell Claude to remember something:
"Remember that the auth system uses JWT tokens, not session cookies"
Claude stores this as a permanent memory with semantic embeddings.
2. Close the session. Open a new one.
3. Ask about it:
"What did I decide about authentication?"
OMEGA surfaces the relevant memory automatically:
That's it. Memories persist across sessions, accumulate over time, and are surfaced automatically when relevant — even if you don't explicitly ask.
Key Features
-
Memory & Learning — Stores decisions, lessons, error patterns, and preferences with semantic search. Claude recalls what matters without you re-explaining everything each session. Tools cover compaction, consolidation, timeline, graph traversal, and checkpoint/resume.
-
Multi-Agent Coordination (omega-pro) — File and branch locking, session management, task queues with dependencies, intent broadcasting, and agent-to-agent messaging, so agents don't overwrite each other's work.
-
Intelligent LLM Routing (omega-pro) — Classifies tasks and routes to the optimal model. Coding → Claude Sonnet. Quick edit → Llama 8b at 1/60th the cost. 1M token context → Gemini Flash. 5 providers, 4 priority modes, sub-2ms intent classification.
-
Knowledge Base (omega-pro) — Ingest PDFs, markdown, web pages, and text files into a searchable knowledge base with semantic chunking.
-
Entity Registry (omega-pro) — Multi-entity corporate memory with relationships, hierarchies, and entity-scoped memories/profiles/documents.
-
Secure Profile (omega-pro) — AES-256 encrypted personal data storage with macOS Keychain integration.
How OMEGA Compares
Anthropic's Memory Tool stores data client-side but requires Claude API calls for all memory operations. OMEGA runs entirely on-device, including embeddings (ONNX).
Anthropic Memory is for Anthropic. OMEGA is for everyone.
Architecture
Single database, modular handlers. Optional modules (coordination, router, entity, knowledge, profile) are available with OMEGA Pro and register into the same server process. No separate daemons, no microservices.
MCP Tools Reference
OMEGA runs as an MCP server inside Claude Code. By default it shows the client five tools (omega_store, omega_welcome, omega_protocol, omega_tools, omega_call) to save context: omega_tools lists everything available and omega_call runs any of it. Set OMEGA_CONDENSED=0 in the server's environment to expose every tool directly.
Core tools
OMEGA Pro adds coordination, routing, entity, knowledge base, and profile tools.
CLI
Free and Pro
Core is free and open source. On the free tier, once the store holds 2,000 memories search switches from semantic search to a plain text match, and new memories stop being stored at 5,000. omega status shows where you are. OMEGA Pro removes both limits.
Advanced Details
Hooks
All hooks run fast_hook.py, which hands the work to the hook daemon inside the MCP server over ~/.omega/hook.sock. If no server is running, the hooks return at once without doing anything, except reply capture, which runs on its own; none of them blocks Claude Code.
Memory text the hooks inject is labelled as stored data, not instructions.
With OMEGA Pro, additional coordination handlers register automatically: session lifecycle, file/branch claim guards, heartbeat, and git push guards.
HTTP daemon (optional)
omega serve install runs one shared server under launchd instead of one per session (macOS). It listens on 127.0.0.1:8377, refuses requests whose Host or Origin is not local, and requires a bearer key kept in ~/.omega/mcp_api_key. omega serve migrate-config points Claude Code at the daemon and writes that key into its config; omega serve restore-config switches back.
Storage
Search Pipeline
- Vector similarity via sqlite-vec (cosine distance, 384-dim bge-small-en-v1.5)
- Full-text search via FTS5 (fast keyword matching)
- Type-weighted scoring (decisions/lessons weighted 2x)
- Contextual re-ranking (boosts by tag, project, and content match)
- Deduplication at query time
Memory Lifecycle
- Dedup: SHA256 hash (exact) + embedding similarity 0.85+ (semantic) + Jaccard per-type
- Evolution: Similar content (55-95%) appends new insights to existing memories
- TTL: Session summaries expire after 1 day, lessons/preferences are permanent
- Auto-relate: Creates
relatededges (similarity >= 0.45) to top-3 similar memories - Compaction: Clusters and summarizes related memories
Memory Footprint
- Startup: ~31 MB RSS
- After first query (ONNX model loaded): ~337 MB RSS
- Database: ~10.5 MB for ~242 memories
What Gets Modified
omega setup modifies these files outside ~/.omega/:
~/.claude.json— Addsomega-memoryMCP server entry~/.claude/settings.json— Adds hook entries~/.claude/CLAUDE.md— Adds a managed<!-- OMEGA:BEGIN -->block
All changes are idempotent.
Troubleshooting
omega doctor shows FAIL on import:
- Ensure
pip install -e ".[server]"from the repo root - Check
python3 -c "import omega"works
MCP server fails to start:
- Install the server extra into the same environment as OMEGA:
pip install "omega-memory[server]"(orpipx install --force "omega-memory[server]")
MCP server not registered:
- Run
omega setupagain, or run theclaude mcp add -s user omega-memory -- ...command thatomega doctorprints: it names the Python from OMEGA's own environment
Hooks not firing:
- Run
omega hooks doctor;omega hooks setuprepairs missing or outdated entries - Check
~/.omega/hooks.logfor errors
Development
Uninstall
Manually remove OMEGA entries from ~/.claude/settings.json and the <!-- OMEGA:BEGIN --> block from ~/.claude/CLAUDE.md.
Contributing
License
Apache-2.0. See LICENSE.
来源:README.md,提交 31c90ef
工具
0版本历史
1- v1.3.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 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 翻译