MnemosyneOS/mnemosyne 预览 preview

MnemosyneOS/mnemosyne

Mnemosyne OS 8.0.0 — a zero-dependency, local-first AI memory system. Graph memory, multimodal ingestion, reranking, temporal reasoning, a hash-chained audit ledger, lossless compression, and 31 MCP tools.

catalog descriptioncatalog 简介 / catalog description:Mnemosyne OS 8.0.0 — zero-dependency, local-first AI memory system (MCP / API / CLI / Python). MIT. https://ai-memory.net

Project Overview项目介绍

mnemosyne OS is a zero-third-party-dependency, local-first AI memory engine that installs via pip install mnemosyne-os and runs as a Python library, a CLI, an HTTP API, or a Model Context Protocol server, exposing 31 MCP tools together with a built-in web console and REST endpoints on /v1, /v2, /v3. The core ships with graph memory, multimodal ingestion, reranking, temporal reasoning, a hash-chained audit ledger, and AIC lossless compression, while 72 optional provider adapters cover 20 LLM vendors, 13 embedders, 28 vector stores, six graph stores, and five rerankers — including OpenAI, Qdrant, and Cohere — letting teams swap cloud or self-hosted backends without rewriting application code. Integration guidance with DeepSeek Harness and other agent clients lives in docs/DEPLOY_DEEPSEEK_HARNESS.md, docs/COMPATIBILITY.md, and CHANGELOG.md.

It is aimed at individual developers, agent engineers, and teams that need persistent, auditable memory under local-first or air-gapped constraints, because the built-in rule extractor and offline embedder let Memory() boot, write, and search without any API key, model download, or database installation. A typical workflow begins with mnemosyne init to create a brain directory, uses mnemosyne add to store facts and mnemosyne search --user-id for filtered recall, or drives the engine programmatically through Memory, MemoryClient, or the MemoryBrain facade that returns cost-aware envelopes such as results, cost = brain.recall("...", k=5, budget_tokens=100). When an LLM is added via Memory.from_config, missing credentials automatically fall back to the rule-based engine and surface the reason inside m.describe()["degraded"], so nothing degrades silently.

Runtime requirements are Python 3.8 or newer on a laptop, server, or serverless host, with the core package declaring an empty install_requires so nothing is pulled in unless the user opts into a provider. The repository itself is tagged NOASSERTION, but the README and PyPI badge state that the license is MIT, and users should inspect LICENSE directly before redistribution. First-run users are advised to run python verify.py for the self-check, then scripts/verify_api.py, scripts/verify_memory_lifecycle.py, scripts/verify_precision_recall.py, and scripts/verify_recall_quality.py for offline API, lifecycle, precision, and recall regression coverage, and to read docs/ACCEPTANCE_GUIDE.md, docs/RECALL_STRATEGY.md, and docs/KNOWN_DEFECTS.md to understand the recall strategy and confirmed defects before production deployment.

mnemosyne OS 是一款零第三方依赖、本地优先的 AI 记忆引擎,通过 pip 安装即可作为 Python 库、CLI、HTTP API 或 MCP 服务器使用。它内置图记忆、多模态摄取、重排序、时序推理、哈希链审计账本和无损压缩等能力,并对外暴露 31 个 MCP 工具,同时随包提供 Web 控制台与 REST 接口。其 72 个可选组件覆盖 20 家 LLM、13 种 embedder、28 个向量库、6 种图存储与 5 个 reranker,可在 OpenAI、Qdrant、Cohere 等云端与本地方案中自由切换,并通过 docs/DEPLOY_DEEPSEEK_HARNESS.md 说明如何以 MCP 方式接入 DeepSeek Harness 等多类智能体客户端。

它面向需要持久记忆、检索增强或审计能力的个人开发者、Agent 工程师以及本地化部署团队,可在无外网或受限环境中直接使用内建规则提取器与离线 embedder 完成增删改查与按用户过滤的召回。典型流程为 mnemosyne init 后用 add 写入事实,search 进行检索,或以 Python Memory 对象、MemoryBrain 引擎门面进行编程化调用;当线上模型可用时再升级到带 LLM 的配置,未配置时自动降级并在 describe()["degraded"] 中指明原因。

项目要求 Python 3.8 及以上,核心包 install_requires 为空,可运行于笔记本、服务器乃至无服务器平台;许可证标注为 MIT,仓库则声明 NOASSERTION,需以 LICENSE 文件为准。首次运行建议执行 python verify.py 自检,并阅读 docs/ACCEPTANCE_GUIDE.md、docs/RECALL_STRATEGY.md、docs/KNOWN_DEFECTS.md 了解召回策略与已知缺陷。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 37 stars - an early-stage project星标 37,属于早期项目
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
  • Not DSH-native: a multi-platform tool that may require Node / Electron or another runtime first非 DSH 原生,是多平台兼容工具:可能要先装 Node / Electron 等运行时
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:MnemosyneOS/mnemosyne

把 MnemosyneOS/mnemosyne 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

mnemosyne OS

mnemosyne OS

PyPI · GitHub · 中文

PyPI License: MIT Python 3.8+ Model Context Protocol Zero dependencies Downloads X

繁體中文 Español Русский Deutsch ไทย 한국어 日本語

Mnemosyne OS 8.0.0 — a zero-dependency, local-first AI memory system. Graph memory, multimodal ingestion, reranking, temporal reasoning, a hash-chained audit ledger, lossless compression, and 31 MCP tools.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev picturereader 下一个 Next dsh-web-lan-access →