linggen-memory
This repository is archived. Since Linggen 2.3 (November 2026) the
memory is part of Linggen itself: one program, ling, on one port. Its
code, the plugin for Claude Code and Codex, and every new release are in
linggen/linggen
(crates/linggen-memory, plugins/linggen).
- New here? Install Linggen from https://linggen.dev, then add the
plugin:
claude plugin marketplace add linggen/linggen --sparse .claude-plugin plugins
and claude plugin install linggen@linggen (Codex:
codex plugin marketplace add linggen/linggen).
- Already running
ling-mem 1.x? Installing Linggen 2.3 or later
takes over your store where it is — nothing to migrate. Afterwards
replace the old plugin linggen@linggen-memory with linggen@linggen.
ling-mem 1.13.0 is the last release from this repository. Its binaries
stay in the releases here and get no further fixes.
- OpenClaw is no longer supported.
Below is the README as it stood at 1.13.0.
One memory of you, shared by every agent you use — Claude Code, Codex, OpenClaw, and Linggen's own Ling and Yinyue.
Tell Claude Code something on Monday; Codex knows it on Tuesday. One local daemon, one store on your machine. No SaaS, no API key, no signup.
Not just remember and recall — everything a brain does. A good memory holds some things for a day and others for years, brings back what matters, lets go of what does not, collapses duplicates, merges what belongs together, checks its own work, and settles contradictions when it finds them. That is what ling-mem does.
It works on its own. Install it into the agents you already use and stop there if you like. It is also the memory of Linggen — so if you ever meet Yinyue, the companion there, she already knows you on day one.
Status: stable — latest release 1.13.0. Store schema and the CLI/HTTP/MCP contract are frozen. Prebuilt binaries for macOS Apple Silicon and Linux (x86_64, aarch64; glibc 2.39+, Ubuntu 24.04+). The pre-refactor code-indexing tool is preserved at the v0-legacy git tag.
How it works
┌──────────────────────── IN YOUR TURN ────────────────────────┐
│ the Linggen engine + the plugin — on every host │
│ │
│ capture ──▶ recall ──▶ scope ──▶ reconcile │
└───────────────────────────┬──────────────────────────────────┘
writes │ ▲ reads
▼ │
╔══════════════════════════════════════════════════════════════╗
║ ling-mem — one local daemon, one store ║
║ every row and every mechanical operation. no model inside. ║
╚══════════════════════════════════════════════════════════════╝
reads │ ▲ writes back
▼ │
┌─────────────────────── AT 3AM, UNATTENDED ───────────────────┐
│ the memory agent running the dream mission │
│ │
│ dream ──▶ forget ──▶ audit ──▶ review queue │
└───────────────────────────┬──────────────────────────────────┘
▼ what it cannot settle alone
┌────────────────────┐
│ solve — with you │
└────────────────────┘
Both halves of the loop meet at the same store. The day half runs anywhere the plugin is installed. The night half needs Linggen, which ships the mission scheduler — install it alongside Claude Code or Codex to close the loop.