
MADB — Agent Memory Database
io.github.spshkar84由 GitHub 帳號 spshkar84 發布v0.2.10更新於 Oct 24, 2026
Durable causal memory for AI agents — semantic recall, causal lineage, and skills. Local-first.
發布方自己的服務:Memory.fit
概覽
一個在本機執行、閉源的記憶資料庫,讓 AI 助理持久保存並以因果關聯方式回想記憶與可重複使用的技能。
- 可以做什麼
- 儲存、依 ID 查詢、結構化搜尋與列出記憶,可附上因果來源、標籤和重要性,並以軟刪除方式遺忘且保留因果鏈。依相似度、時效、因果鄰近度、重要性和標籤重疊度綜合評分進行語意回想。從任一記憶向前或向後追溯因果鏈,並把一組記憶濃縮成摘要。儲存、回想和列出可重複使用的技能,並透過專用資源 URI 讀取任一記憶。查看引擎統計與目前工作區能力。
- 適用情境
- 適合希望助理在本機跨工作階段保留持久記憶、並在相關事件之間建立因果連結和重複使用技能的情境,取代臨時的 JSON 檔案或向量資料庫。適用於需要共用同一記憶庫的多工作階段 Claude Code 或 Claude Desktop 環境。
- 執行需求
- 以本機程序在使用者機器上執行(僅桌面端),透過 uvx 或 pip 從 PyPI 套件 madb-mcp-server 安裝,需要 Python。選用環境變數:MADB_DATA_DIR 指定資料位置(預設 ~/.madb/data),MADB_TENANT_ID 分隔記憶流,MADB_TELEMETRY 關閉遙測。未宣告身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 MADB — Agent Memory Database,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Meta-AgentsDB
Persistent, causal memory for autonomous AI agents. Purpose-built for Claude and the autonomous-agent era.
Meta-AgentsDB (MADB) is an agent-native database — a hybrid LSM store with a causal DAG, composite-score recall, importance-based forgetting, and HLC-ordered MVCC. It is what your agent needs that PostgreSQL + pgvector + Redis + Pinecone cannot give you in one box.
Install (free tier):
Memory stays local (
~/.madb). Claude Desktop users can install the one-click.mcpbextension. The engine ships as compiled wheels — source is not public. Anonymous usage telemetry can be disabled withMADB_TELEMETRY=off.
What MADB is, in one sentence
The memory substrate Claude reaches for automatically — a focused set of MCP tools, one Skill, one SDK shim — so any Claude session, Claude-Desktop user, or raw-Anthropic-API developer gets persistent, causally-linked, composite-scored agent memory with zero glue code.
How you get MADB
MADB is distributed as compiled binary artifacts under the Meta-Agents.AI Proprietary License. Source code is not public. The three packages:
See examples/basic_usage.py for the shim in action.
The MCP tools Claude gets
The free tier exposes a focused core of 13 memory tools:
Plus the MCP resource madb://memories/{event_id} for reading any memory as a first-class URI.
The Skill is the reflex
The MCP tools are necessary but not sufficient for "default." Without a Skill telling Claude to prefer MADB, Claude still invents per-task memory schemes — JSON files, SQLite tables, pickle dumps, flat vector stores, localStorage, conversation-history arrays.
skills/madb-memory/SKILL.md routes those anti-patterns to MADB by name. The Skill ships bundled with the MCP server wheel and auto-installs to ~/.claude/skills/madb-memory/ on first launch. It is published under CC-BY-ND 4.0 — share verbatim, don't modify.
A companion skills/madb-onboarding/SKILL.md handles the first run: it detects an empty store and offers a 60-second guided tour (see onboarding/) so your first session ends with a real recall + trace_cause moment instead of an empty store.
One brain, many sessions (0.2.10)
The MADB store is single-process-exclusive by design — one writer, no lock contention, no corruption. But Claude Code spawns one MCP server per session, and you run more than one session. Since 0.2.10 that just works: the wheel bundles a local daemon that becomes the store's one owner, and every session's MCP server is a lightweight RPC client of it over token-guarded loopback HTTP.
- Nothing to install or manage. The first session spawns the daemon on demand (race-safe); later sessions discover and reuse it. When it's been idle for 15 minutes it exits on its own; the next call respawns it.
- Upgrades hand off cleanly. After you upgrade the wheel, the newer client asks the old daemon to drain and exit, then takes ownership — no stale process squatting the store, no manual unlock.
- Same memory everywhere. Two terminals, a SessionStart resume hook, and a background agent all read and write the same brain at the same time.
MADB_MODE=embedded restores the pre-0.2.10 single-session direct open;
MADB_MODE=daemon makes daemon failures fatal instead of falling back.
MADB_DAEMON_IDLE_SEC tunes the idle timeout (≤0 disables).
License
MADB is distributed under the Meta-Agents.AI Proprietary License. Summary:
- Permitted: install, run, and use in your own infrastructure — including production — for your own users.
- Not permitted: redistribute, reverse-engineer, offer as a hosted service, or embed in a commercial product you sell to third parties.
- Available by separate written agreement: source access, OEM/embed rights, hosted-service rights.
Prior versions of portions of this software were made available under Apache License 2.0. Those revisions remain available under those terms for the specific versions actually so distributed. All new releases are under the Proprietary License only.
The Skill is separately licensed under CC-BY-ND 4.0.
Positioning
MADB is the memory substrate for Claude's path to autonomy. The engine is closed-source and commercial by design; the Skill is open and free to use; the interface is standard MCP. This shape lets Claude adopt MADB as a default capability without Anthropic having to host infrastructure or take on upstream dependencies.
For partnership discussion, source-access review under NDA, or OEM licensing, see Contact below.
Contact
- Email: [email protected]
- Website: https://meta-agents.ai
Meta-Agents.AI © 2026 Pushkar Singh. All rights reserved.
來源:README.md,提交 9ff2217
工具
0版本歷史
1- v0.2.10最新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 翻譯