Open-source framework for persistent AI agent memory with local storage and graph-based retrieval

What this is
A developer is building an open-source framework for persistent AI agent memory that operates entirely locally without cloud dependencies. The system stores data as Markdown files on disk and uses wiki-links to create graph edges between notes.
Key technical details
The framework implements several specific features extracted from the source:
- Storage architecture: Local Markdown files on disk with Git for version control
- Graph structure: Wiki-links serve as graph edges connecting notes
- Retrieval system: Four-signal fusion approach combining:
- Semantic embedding
- Keyword matching
- PageRank graph importance
- Associative warmth
- Memory management: Graph-aware forgetting system based on ACT-R cognitive science where:
- Notes decay over time unless accessed
- Used notes remain alive and relevant
- Graph and semantic neighbors stay relevant through spreading activation
- Spreading activation: When a note is accessed, connected notes get "warmer" too, helping the agent anticipate relevance before tasks begin
- Performance: 22 MB total storage after three months of use, described as "extremely efficient"
- Development status: First two GitHub issues filed, small community forming around keeping AI memory free and decentralized
This type of local memory system is useful for AI coding agents that need persistent context across sessions without relying on cloud services or external APIs.
📖 Read the full source: r/LocalLLaMA
👀 See Also

HF Viewer: Visualize Any Hugging Face Model Graph Instantly
HF Viewer is a browser-based tool that renders an interactive architecture graph for any Hugging Face model. Paste a URL or repo name, inspect the graph without local setup.

Terrarium: Open-Source Sandbox for Agentic Environments with Time Machine Rewind
A versatile sandboxing solution for running multiple AI agents securely on any VPS or cloud. Features isolated worlds, reverse-proxy management, GUIs, and a time machine to rewind container state.

Local Tool Visualizes Claude Code Session Data
A Python script reads Claude Code session data stored locally in ~/.claude/ and generates a scroll-driven visualization with D3.js charts showing daily activity, project breakdown, tool usage, and coding rhythm heatmaps.

repo-mem: Open-Source MCP Server Adds Persistent Team Memory to Claude Code
repo-mem is an open-source MCP server that adds persistent, shared memory to Claude Code sessions using SQLite and Git. It solves team isolation by storing observations in per-user databases that get committed to the repository.