Skip to content

JadesMemory v0.1.0 — Memory Foundation

Latest

Choose a tag to compare

@Enchore Enchore released this 04 Dec 17:40

JadesMemory v0.1.0 — Memory Foundation

Different agents. Shared memories.
Your data, your control.
Created by Enchore Jade.

JadesMemory is a local-first memory infrastructure for AI agents, powered by your own knowledge vault. This early development version provides a small, traceable foundation for shared memory across trusted agents. MIT licensed, Copyright (c) 2026 Enchore Jade.

Included

  • Memory Core: Source Envelopes, stable identifiers, content hashes, duplicate/edit detection, evidence references, corrections and scoped exclusion primitives.
  • Seven read-only MCP tools: memory_search, memory_read, memory_context, memory_timeline, memory_related, memory_status and memory_sources.
  • Local stdio transport through the official MCP Python SDK; no network listener by default.
  • External Obsidian-compatible Vault configuration, scoped Markdown links, fictional demo data, native templates and generated Dashboard output.
  • Experimental single-ledger CAS/journal, OS locks and crash recovery.

Validation

Windows, macOS and Linux CI each build and install wheel and sdist in isolated environments. Each artifact runs 46 tests: Windows passes all 46; macOS/Linux pass 45 with only the Windows-specific junction test skipped. Native symlink escape checks pass on all three platforms. Tests cover real stdio, Vault boundaries, malformed configuration, process interruption, lock exclusion, Dashboard and uninstall preserving the fictional Vault.

Quick start — Python 3.11+

git clone --branch v0.1.0 https://github.com/Enchore/JadesMemory.git
cd JadesMemory
python -m venv .venv
# Activate .venv with your platform's standard command.
python -m pip install ".[mcp]"
jadesmemory --config examples/demo-config.json status
jadesmemory-mcp --config examples/demo-config.json

Connect the last command through a trusted stdio MCP client. Use an external configuration for your own schema-compatible memory ledger; this version does not automatically index every Markdown Vault. Windows has an artifact-specific hashed lock; other platforms need their own reviewed resolution.

Privacy and safety

The repository contains program code and fictional examples, not the developer's memories. No arbitrary-file or MCP write tool is registered. Responses are bounded and treated as untrusted data. Local-first does not mean data can never leave a device: cloud clients may receive returned memories. Authorize the minimum Vault subset and retain client-side prompt-injection safeguards. No external embedding service is enabled.

Known limitations and next steps

Search is keyword-based, not semantic. Single-ledger writes are experimental; exclusion is not complete erasure of Markdown or history. Production multi-file publishing, Git receipt/checkpoint workflows and platform chat adapters are not fully generalized. memory_status does not independently certify Git. The server is not an OS sandbox against malicious local filesystem races.

Next: reviewed platform locks, governed write proposals, verified source adapters, version-pinned production shadow tests, and optional semantic retrieval only with explicit consent. Obsidian MCP plugins remain optional and independent; none is required or automatically installed.


JadesMemory v0.1.0 — Memory Foundation(早期開發版本)

Different agents. Shared memories.
Your data, your control.
Created by Enchore Jade.

JadesMemory 以使用者自己的知識庫,為可信任的多個 AI Agent 提供本地優先、可追溯的共享記憶基礎。採 MIT License,Copyright (c) 2026 Enchore Jade。本版為早期開發版本。

首批功能

  • Memory Core:Source Envelope、穩定識別碼、內容雜湊、重複/修改偵測、證據定位、更正及限定範圍排除。
  • 七項唯讀 MCP 工具:memory_search、memory_read、memory_context、memory_timeline、memory_related、memory_status、memory_sources。
  • 使用官方 MCP Python SDK 的本地 stdio,預設不開啟網路監聽。
  • 外部 Obsidian 相容 Vault 設定、範圍受限的 Markdown 關聯、完全虛構的示例、原生模板及產生式 Dashboard。
  • 實驗性單一 ledger CAS/journal、作業系統鎖及異常恢復。

跨平台驗證

Windows、macOS、Linux CI 分別建置並在獨立環境安裝 wheel 和 sdist。每種套件執行46項測試:Windows全數通過;macOS/Linux各45項通過,僅跳過Windows專屬junction測試。三平台原生symlink逃逸測試皆實際通過。範圍包含真實stdio、Vault邊界、錯誤設定、程序硬中斷、跨程序鎖、Dashboard及卸載後保留虛構Vault。

安裝與快速開始(Python 3.11+)

git clone --branch v0.1.0 https://github.com/Enchore/JadesMemory.git
cd JadesMemory
python -m venv .venv
# 使用作業系統對應指令啟用 .venv。
python -m pip install ".[mcp]"
jadesmemory --config examples/demo-config.json status
jadesmemory-mcp --config examples/demo-config.json

最後一項由可信任的stdio MCP客戶端連接。自己的記憶資料使用外部設定及符合Schema的ledger;本版不會自動索引所有Markdown。Windows提供特定平台的雜湊鎖檔,其他平台仍需各自審查與固定依賴。

隱私與安全

倉庫只有程式及虛構示例,不含開發者的私人記憶。沒有任意檔案或MCP寫入工具,回應有限額且作為不可信資料。本地優先不代表資料永不離開裝置:雲端客戶端可收到工具結果,應限制可用Vault範圍並保留客戶端提示注入防護。沒有預設外部embedding服務。

限制與後續方向

目前是關鍵字檢索,不是語義檢索。單一ledger寫入仍屬實驗;排除不代表完整清除Markdown或歷史。生產級多檔案發布、Git收據/檢查點與平台聊天適配器尚未全部通用化。memory_status不獨立認證Git;本服務也不是防範本機惡意檔案競態的作業系統沙箱。

後續優先完善平台鎖檔、受控寫入提案、可驗證來源適配器、固定版本生產影子驗證,及取得明確同意後的可選語義檢索。Obsidian MCP插件為獨立選配,不是強制依賴,也不會自動安裝。

First public repository date / 首次公開日期: 2026-12-05.

Source archives only; no wheel, sdist or PyPI publication is included. / 僅提供 GitHub 原始碼封存檔,未附加 wheel/sdist,也未發布 PyPI。