
Lians Agent Memory
io.github.ebeirne由 GitHub 帳號 ebeirne 發布v0.5.0更新於 Oct 24, 2026
Bitemporal memory for AI agents with point-in-time recall and tamper-evident audit history.
發布方自己的服務:Memory.fit
概覽
為編碼助理提供本機雙時態記憶,用來復原任務脈絡、拒絕過期狀態,並以實測證據把關完成條件。
- 可以做什麼
- Lians Agent Memory 將專案事實與任務檢查點存放在本機 SQLite 資料庫,並透過 MCP 提供給助理,具備記憶、召回、列出、修正與遺忘等工具。它支援特定時間點的回溯查詢與防竄改的稽核歷程,也能產生有界的專案交接摘要,而不是重播對話紀錄。更嚴格的 Guard 層會區分實測證據與助理自行宣稱的內容,並在工作缺漏、未知、失敗或受阻時讓完成閘門保持關閉。另可選用託管或自架伺服器模式。
- 適用情境
- 適合編碼助理需要跨工作階段或跨工具接續中斷工作的情況,也適合擔心需求變更後舊檢查點被默默沿用,或希望完成聲明由實測證據而非助理自述支撐的情境。免費的本機復原路徑不需要 Lians 帳號。
- 執行需求
- 透過 stdio 在本機執行,通常以 uvx 從 PyPI 套件 lians-sdk 啟動,需要 Python 與 uv。本機模式將資料存入 SQLite 檔案,預設位於使用者家目錄下。環境變數包括用於記憶命名空間的 LIANS_AGENT_ID、用於本機租戶的 LIANS_NAMESPACE、用於 SQLite 路徑的 LIANS_LOCAL_DB,以及用於選用託管或自架伺服器的 LIANS_URL。只有託管路徑需要 LIANS_API_KEY。桌面版為 macOS 與 Windows 候選發行版本。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Lians Agent Memory,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Recover the task. Reject stale state. Block unsupported done.
Quickstart · Why Lians · ContinuityBench · Install · Docs · Issues
[PyPI version] [npm version] [MCP Official Registry] [Apache 2.0 license]
Lians Guard
The current-state and completion guard for AI coding agents.
Lians recovers interrupted agent work, rejects stale task state, and blocks
done until the current task is ready for human review.
Your agent can forget the chat. It cannot forget what is finished, what changed, or what still has to pass.
- Recover. Resume a bounded current task across supported Claude Code and Codex sessions.
- Reject stale state. Bind checkpoints to current repository and task state so old evidence is not silently reused.
- Guard completion. Separate measured evidence from an agent's own claims and keep the gate closed while work is missing, unknown, failed, or blocked.
- Require review.
READY FOR HUMAN REVIEWis a handoff to a person, never a claim that the work is correct, approved, or safe to deploy. - Stay local. The free recovery path needs no Lians account, AI password, or provider API key.
Lians works with your existing AI account and editor. It does not replace your model, Git, CI, repository instructions, or human review.
Two layers, one agent loop
The open-source Lians Guard layer lives inside Codex through MCP, skills, hooks, and repository state. It remembers corrections and exposes evidence without taking over the model. The optional Lians Mission Control beta is the local control layer: give it one mission, let it choose a bounded Codex route, and require a real verifier before it returns PASS.
On supported Codex versions, one Mission Control mission now uses one Codex app-server thread instead of starting a new process and replaying a summary for every stage. Codex still owns authentication, tools, sandboxes, and execution; Lians owns the durable mission, usage policy, and receipt. App-server is currently experimental, so the one-shot adapter remains available.
Inspect the Mission Control source, read the bridge boundary, or follow the external proof-gate protocol.
One clear result after every agent session
The trust model is deliberately strict. measured_local, measured_ci, and
human_confirmed evidence can satisfy a criterion. agent_attested and
inferred_activity records remain useful context but cannot open the review
gate. An agent cannot promote its own checkpoint into a trusted class. Trusted
CI evidence requires an exact GitHub attestation and commit match plus an
interactive check-to-criterion mapping; human evidence requires interactive
confirmation. Read why Lians exists, the full
Lians Guard product contract, and the current market
pressure test.
Try it in two minutes
Choose the AI tool you already use:
For example, after installing uv, connect Codex with:
Restart Codex, then save one safe project fact and recover it in a fresh chat.
Local memory is stored in ~/.lians/mcp.db by default. This is the available
free recovery path; the full Guard workflow is currently a developer preview.
Follow the complete quickstart for setup, recovery, correction, deletion, and the Guard preview boundary.
What a fresh coding agent receives
Lians can generate a bounded project handoff instead of replaying a transcript:
The handoff is derived from current Lians state, not a manually maintained summary. Agent-reported work remains visible without being mislabeled as verified completion.
Why this is not another generic memory layer
Native memories are convenient when work stays inside one product. General memory is no longer a scarce category. Lians uses local memory for recovery, then focuses on the expensive gap: current task state and evidence-backed readiness.
The current competitive landscape pressure tests this position against native Claude Code, Codex, Cursor, GitHub Copilot, Entire, Factory, and AI review workflows.
Lians is not claiming that every project needs a separate memory layer. See the honest comparison and decision guide.
Project status
Lians is under active development. Available recovery features and preview Guard features are separated here so the repository does not imply a production guarantee that does not exist yet.
The macOS and Windows desktop builds remain release candidates pending platform signing and notarization. See the desktop preview boundary.
Current evidence
The included Claude-to-Codex continuity fixture recovered 10/10 expected facts, exposed 0 stale facts as current, and produced a 231-token handoff. These are bounded beta results, not a promise that every live coding session extracts perfectly. Run the experiment.
The developing ContinuityBench v0.1 publishes the proposed cross-agent, freshness, correction, erasure, provenance, and boundedness test contract. Its current Lians fixture is evidence for that fixture only; it is not presented as a completed competitor leaderboard.
A separate live test saved a synthetic project fact through Cursor, recalled it in a new Cursor chat and a fresh Claude Code session, and confirmed it was gone after deletion. Read the test method.
The Guard correctness benchmark exercises missing evidence, unknown criteria,
failed constraints, blockers, stale updates, and drift signals. It is a local,
deterministic test of the configured policy, not proof of semantic correctness
or a production outcome. Run packages/lians-easy/benchmarks/task_contract_correctness.py
to inspect the cases.
Build with Lians
Use the local Python SDK inside an application:
See the install guide for TypeScript, Go, Java, C, framework integrations, and self-hosting.
Running a class, club, hackathon, or campus developer group? Use the student and community kit. Contributors and package integrators can start with Supported paths and repository status.
Advanced capabilities
Lians also includes tools for project-scoped agent handoffs, signed selection and review receipts, local research and browser briefs, temporal reconstruction, lineage, information barriers, confirmed erasure, and bounded formal checks. These capabilities are useful for advanced or governed deployments but are not required for the starter memory workflow.
Development
Read CONTRIBUTING.md before opening a pull request. Feature ideas, integration requests, and reproducible bugs are welcome in GitHub Issues.
If Lians helps your workflow, star the repository so other AI-tool users can find it.
License
Apache 2.0. See LICENSE.
來源:README.md,提交 4eb78dc
工具
0版本歷史
1- v0.5.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 翻譯