aayoawoyemi/Ori-Mnemos
Local-first persistent agentic memory powered by Recursive Memory Harness (RMH). Open source must win.
What it solves
Ori Mnemos provides a persistent, local-first memory infrastructure for AI agents. It eliminates the need for cloud-dependent vector databases or vendor lock-in by allowing agents to store and retrieve information using plain markdown files on disk, ensuring the user owns all their data.
How it works
Ori implements the Recursive Memory Harness (RMH) framework, treating memory as a navigable knowledge graph rather than a flat search index. It uses markdown files as nodes and wiki-links as edges. The system employs mathematical models of human cognition, including ACT-R activation decay (to forget irrelevant information) and Hebbian learning (to strengthen connections between notes retrieved together).
Retrieval is handled through a combination of BM25, embeddings, and PageRank fusion. For complex queries, the system uses "navigated recursion," where it decomposes a question into sub-questions and traverses the graph to find answers. It is accessible via a CLI, a programmatic library, and an MCP (Model Context Protocol) server for direct agent integration.
Who it’s for
It is designed for developers building AI agents that require long-term, cross-session memory that is private, local, and capable of evolving based on usage patterns.
Highlights
- Local-First Architecture: Uses markdown files and SQLite, requiring no API keys or cloud infrastructure for retrieval.
- Cognitive Forgetting: Implements ACT-R base-level learning equations to naturally decay and forget unimportant information.
- Graph-Based Retrieval: Uses Personalized PageRank and spreading activation to navigate memory via wiki-links.
- Recursive Exploration: Decomposes unresolved queries into sub-questions to steer the traversal of the knowledge graph.
- Agent Integration: Provides bridges for Claude Code, Hermes, OpenCode, and any MCP-compatible client.
Related
- Project
- Project
- Project
- Project
- Project