Skip to content
Administrator edited this page Aug 12, 2026 · 4 revisions

dm-lite

Memory for Hermes, Codex, Claude Code, OpenCode, Devin, Grok CLI, Claude Desktop, and any MCP agent. dm-lite is daimon-memory v2: one small typed memory engine in a single binary. Hybrid recall, bitemporal history, multitenant storage (one database per tenant).

The README is the quickstart front door. This wiki is the detailed reference.

Pages

The mental model

dm-lite is client/server. You run dmem serve (locally as a managed loopback daemon, or on a host) and point clients at it. The CLI, the agent hooks, and the MCP server are all thin clients of that daemon; local versus remote is only the URL. On one machine the server and client live together (the quickstart); split them across hosts when you want shared memory.

It is one memory shared across your AI tools (Hermes, Codex, Claude Code, Devin, OpenCode, Grok CLI, Claude Desktop), with the integration included rather than left to you to wire. Switch tools, keep the same brain. Any MCP client can connect, and receives the persona and protocols too, not just the tools. Several agents can even share one tenant while each keeps its own persona and write attribution (per-agent identity tokens, see "Run as a server").

Memory is typed and curated (the agent saves distilled records with a kind, not raw transcripts), and recall fuses keyword and dense-vector search. It is bitemporal: it tracks both when a fact is true in the world and when you recorded it, so you can recall what was true at a past moment, or what you knew at one. Nothing is overwritten. Records can also be linked into a lightweight graph, with recurring domain nouns minted as typed entities, so a recall pulls in a hit's neighbours rather than one isolated note.

Requirements (short)

Resource use is dominated by the embedding model the server keeps resident, not by SQLite. Prebuilt releases ship candle + BAAI/bge-small-en-v1.5 (typically ~0.8-1.2 GiB RSS once warm). For English + Malay and other languages, override to intfloat/multilingual-e5-small (often ~1.2-1.5 GiB). Smaller builds (model2vec, or hash placeholder) exist if you rebuild and accept weaker or keyword-only recall. Full table and knobs: Embedding models.

Clone this wiki locally