reverie

diffsec/reverie
★ 1 stars Go 🤖 AI/LLM Updated today
Persistent memory system for LLM coding agents — MCP server implementing the Oblivion three-layer memory architecture with Ebbinghaus decay, two-gate retention, and local Ollama embeddings.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "reverie": {
      "command": "go",
      "args": [
        "run",
        "github.com/diffsec/reverie@latest"
      ]
    }
  }
}

README Excerpt

Persistent memory system for LLM coding agents. Reverie is an MCP server that implements the Oblivion memory architecture (arXiv 2604.00131). It provides three memory layers -- L1 clusters (procedural), L2 facts (semantic), and L3 episodes (episodic) -- with Ebbinghaus-curve decay, two-gate retention filtering, and local embeddings via Ollama. Single Go binary, no CGO, no internal LLM calls.

Tools (20)

memory_apply_judgmentmemory_decay_tickmemory_edge_addmemory_edge_listmemory_edge_removememory_entity_mentionmemory_entity_neighborsmemory_entity_upsertmemory_forgetmemory_getmemory_listmemory_merge_clustersmemory_reassign_clustermemory_recallmemory_reinforcememory_session_endmemory_session_initmemory_session_restorememory_session_snapshotmemory_split_cluster