
Lians Agent Memory
io.github.ebeirnePublished by GitHub account ebeirnev0.5.0Updated Oct 24, 2026
Bitemporal memory for AI agents with point-in-time recall and tamper-evident audit history.
The publisher's own server: Memory.fit
Overview
Gives coding agents a local, bitemporal memory store so they can recover task context, reject stale state, and gate completion on measured evidence.
- What you can do
- Lians Agent Memory stores project facts and task checkpoints in a local SQLite database and exposes them to an assistant over MCP, with tools for remembering, recalling, listing, correcting, and forgetting memories. It supports point-in-time recall and tamper-evident audit history, and can generate a bounded project handoff instead of replaying a transcript. A stricter Guard layer separates measured evidence from agent claims and keeps a completion gate closed while work is missing, unknown, failed, or blocked. An optional hosted or self-hosted server mode is also available.
- When to use it
- Useful when a coding agent needs to resume interrupted work across sessions or tools, when old checkpoints risk being silently reused after requirements change, or when you want completion claims backed by measured rather than self-reported evidence. The free local recovery path needs no Lians account.
- Requirements
- Runs locally over stdio, typically via uvx from the lians-sdk PyPI package (Python and uv required). Local mode stores data in a SQLite file, by default under the user's home directory. Environment variables include LIANS_AGENT_ID for the memory namespace, LIANS_NAMESPACE for the local tenant, LIANS_LOCAL_DB for the SQLite path, and LIANS_URL for an optional hosted or self-hosted server. LIANS_API_KEY is needed only for the hosted path. Desktop builds are macOS and Windows release candidates.
Installation
In SourceWeft
- Open Lians Agent Memory in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 4eb78dc
Tools
0Version history
1- v0.5.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Memory integrations

Memory.fit
fit.memoryOfficial publisher
Hosted Memory.fit server that lets an AI read your training, sleep, recovery and nutrition data and write back weekly plans, targets and meal plans.
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pgOfficial publisher
pg.ddx.io: the PostgreSQL community's memory's hosted MCP server, published by pg.ddx.io; no sign-in required; Streamable HTTP; 29 tools.
var.gg Naming Memory
gg.varOfficial publisher
Remote MCP server that suggests and searches code identifier names from domain concepts in Korean, Japanese, Chinese, Vietnamese and English, and exposes ERD…

Counterparts
ai.counterparts
Local-first long-term memory for Claude Code and Claude Desktop: the assistant writes notes about you and your projects and recalls them in later sessions.

LAHZE - Persian AI Memory Platform
Published by GitHub account pedramgholizadeh
LAHZE - Persian AI Memory Platform's hosted MCP server; no sign-in required; Streamable HTTP; 13 tools.