Skip to content
AddHunt
Agent skills & plugins

Mnemon

Local persistent memory for AI coding agents

Works with macOS, Linux, WindowsOpen source

Visit mnemon.dev#3 of the day
  • Open source
  • Licence: Apache-2.0

In short

Mnemon is an open-source, local memory engine for AI agents such as Claude Code, Codex and Cursor, shipped as one binary with SQLite storage. It suits developers who want agents to remember decisions across sessions without extra model calls or API keys.

What you get

  • Single binary with SQLite storage
  • No API keys or extra model calls
  • Four relation graphs with intent-aware recall
  • Memory shared across agents on one machine
  • Automatic setup for supported coding agents
  • dsh-mnemon plugin for DeepSeek Harness

The details

Mnemon gives coding agents a memory that survives the end of a session. It splits the work in two: the LLM the agent already runs judges what is worth remembering, and Mnemon does the deterministic part itself, which covers storage, indexing, search and decay. No second model is called on writes and no API keys are needed.

How memory works

Commands such as remember, link, recall and retain record facts with a category, importance and related entities, and exact repeats are skipped. Records are connected through four relation graphs (temporal, entity, semantic and causal), and recall can take an intent, for example asking why a decision was made. Memory is shared across agents on the same machine.

Agents and ecosystem

The mnemon setup command finds supported agents and connects them; among them are Qoder, Claude Code, Pi, OpenClaw, Codex, Kimi Code, Trae, Cursor, Hermes and OpenCode. A separate plugin, dsh-mnemon, adds layered memory to DeepSeek Harness with swappable sources and providers.

Install

Mnemon is written in Go, licensed under Apache-2.0 and installs through npm, Homebrew or Go on macOS, Linux and Windows, with Node 22+ needed for the npm route. An accompanying research paper on arXiv describes a dual-process memory agent built on the same ideas.

Alternatives to Mnemon

All alternatives

Questions

Does Mnemon call an LLM when it stores a memory?

No. The agent's own LLM decides what to keep, and Mnemon handles storage, indexing, search and decay deterministically without another model.

Which agents can use Mnemon?

Running mnemon setup connects agents it finds on the machine, such as Claude Code, Codex, Cursor, OpenCode, OpenClaw, Trae and Qoder. DeepSeek Harness is supported through the dsh-mnemon plugin.

How is it installed?

Through npm, Homebrew or Go on macOS, Linux and Windows. The npm route needs Node 22 or newer.

More like this