原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Lians Agent Memory

作者:Lians-ai版本 0.5.0i★ –i在你的电脑上运行
注册名称io.github.ebeirne/lians

安装

概览

作者提供的说明(英文原文)

Bitemporal memory for AI agents with point-in-time recall and tamper-evident audit history.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:LIANS_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 0 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LIANS_URL, LIANS_API_KEY, LIANS_AGENT_ID, LIANS_LOCAL_DB, LIANS_NAMESPACE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "lians": {
      "command": "uvx",
      "args": [
        "lians-sdk"
      ],
      "env": {
        "LIANS_URL": "your-value",
        "LIANS_API_KEY": "your-value",
        "LIANS_AGENT_ID": "your-value",
        "LIANS_LOCAL_DB": "your-value",
        "LIANS_NAMESPACE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add lians --env LIANS_URL=your-value --env LIANS_API_KEY=your-value --env LIANS_AGENT_ID=your-value --env LIANS_LOCAL_DB=your-value --env LIANS_NAMESPACE=your-value -- uvx lians-sdk

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "lians": {
      "command": "uvx",
      "args": [
        "lians-sdk"
      ],
      "env": {
        "LIANS_URL": "your-value",
        "LIANS_API_KEY": "your-value",
        "LIANS_AGENT_ID": "your-value",
        "LIANS_LOCAL_DB": "your-value",
        "LIANS_NAMESPACE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "lians": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lians-sdk"
      ],
      "env": {
        "LIANS_URL": "your-value",
        "LIANS_API_KEY": "your-value",
        "LIANS_AGENT_ID": "your-value",
        "LIANS_LOCAL_DB": "your-value",
        "LIANS_NAMESPACE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • LIANS_URL env
    Optional base URL of a hosted or self-hosted Lians server; omit for local SQLite mode
  • LIANS_API_KEY 机密 env
    API key with read and write scopes
  • LIANS_AGENT_ID env
    Agent identifier used as the memory namespace
  • LIANS_LOCAL_DB env
    Local SQLite path used when LIANS_URL is omitted
  • LIANS_NAMESPACE env
    Local tenant namespace

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ! 注意

    作者与仓库一致

    发布者(ebeirne)不是仓库所有者(Lians-ai);可能是其他人代为上架的

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7275 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7275 个服务器的 27% 更新
  • 基础检查结果等于或优于此分类中其他 7275 个服务器的 30%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Lians Agent Memory 安全吗?

它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:LIANS_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.0)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Recover the task. Reject stale state. Block unsupported done.

Quickstart · Why Lians · ContinuityBench · Install · Docs · Issues

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 REVIEW is 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

RECOVERED

Task: Fix OAuth callback handling Next: Re-run the callback integration test

STALE Reason: The authentication requirement changed after this checkpoint

BLOCKED Missing: OAuth callback integration test Untrusted: "tests passed" was reported by the agent, not measured

READY FOR HUMAN REVIEW Measured locally: callback tests passed Measured by CI: required checks passed

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:

ToolFastest setup
Codex app, CLI, or IDEOne command
Claude CodeTwo plugin commands
CursorOne-click MCP install
Other MCP clientsMinimal MCP setup

For example, after installing uv, connect Codex with:

codex mcp add lians --env LIANS_MCP_ENABLED_TOOLS=remember,recall,list_memories,correct_memory,forget_memory -- uvx --from "lians-sdk[mcp]" lians-mcp

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:

Reported complete; verify:
  • migrated the orders API to /v2/orders

Still open:

  • verify the migration against current Git state
  • update documentation

Decisions:

  • keep pytest

Changed:

  • /v1/orders is stale; use /v2/orders

Next:

  • update documentation before touching unrelated UI

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.

ApproachBest fitBoundary
Native tool memoryOne AI tool, minimal setupUsually stays inside that vendor
AGENTS.md or CLAUDE.mdStable repository instructionsMust be maintained manually
Transcript replayReconstructing one conversationLarge, noisy, and may revive stale decisions
Free Lians recoveryResume current project context across supported toolsRequires a local connection to each tool
Lians GuardDetect stale state and gate readiness with typed evidenceTeam workflow is still in developer preview

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.

CapabilityStatus
Local memory through MCP and PythonAvailable
Codex, Claude Code, and Cursor local recovery setupAvailable
Inspect, correct, and confirmed permanent deletionAvailable
Bounded context and signed selection receiptsAvailable
Automatic Claude-to-Codex project handoffBeta
Typed evidence and evidence-backed task gateDeveloper preview
Local Git workspace fingerprint on checkpointsDeveloper preview
Automatic stale evidence invalidationIn development
Attested GitHub Actions evidence intakeDeveloper preview
Local Guard reportingDeveloper preview
Shared team queuePlanned
Cross-platform clean-install CIRequired by the new Guard workflow; first hosted run pending
Guided desktop installer and local control centerRelease candidate
Mission Control Protect-versus-Maximum betaCandidate; proof gate preregistered
Persistent one-mission/one-Codex-thread bridgeBeta; app-server is experimental

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:

pip install "lians-sdk[local]"
from datetime import datetime, timezone

from lians import LocalLiansClient

memory = LocalLiansClient(db_path=".lians/memory.db") memory.add( agent_id="my-agent", content="The project uses Python 3.12 and pytest.", event_time=datetime.now(timezone.utc), )

result = memory.recall( agent_id="my-agent", query="Which Python version and test runner should I use?", )

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.

  • Memory engine
  • Cross-agent continuity experiment
  • Agent-work verification
  • Security model
  • Community and managed product boundary
  • Supported paths and repository status

Development

git clone https://github.com/Lians-ai/Lians.git

cd Lians python -m pip install -e ".[dev]" python scripts/test_all.py

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 o

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx