ClaudioDrews/memory-os
Seven-layer local memory stack for cross-session recall in Hermes Agent.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Memory OS is a Hermes-specific memory and retrieval stack, not a replacement database engine. Its seven layers give different forms of memory separate storage and retrieval paths: Markdown workspace files for every-turn context, SQLite FTS5 session history in state.db, structured facts in memory_store.db, cross-session Fabric recall, Qdrant vector retrieval, a curated wiki, and a Ground Truth policy that ranks injected sources in the prompt.
The bundled icarus/ fork extends Hermes with LLM-assisted session extraction, recall tools, and injection from Qdrant, sessions, and facts alongside Fabric. Vault Curator v3 handles wiki metadata, linking, and index generation. The Python host dependencies include qdrant-client and fastembed, plus redis and arq for the queue and worker stack. Ground Truth governs how the agent uses retrieved material; it is not a separate store or an independent fact verifier.
Key Capabilities & Differentiators
Qdrant pairs 4,096-dimensional cosine vectors with BM25 sparse retrieval. Its four-stage fallback runs from hybrid to dense to lexical to SQLite, preserving a lookup path without assuming that all modes return equivalent results. The fact store uses SQLite, HRR, and FTS5, with entity resolution and a feedback loop that updates trust scores. A weekly decay scan and semantic merging above 0.92 cosine similarity help control memory growth.
Fabric exposes 16 tools, including fabric_recall, fabric_write, and fabric_brief. Retrieval gates and per-session deduplication limit repeated context, while the Ground Truth policy tells Hermes to use ranked injected records rather than re-querying by default. Hermes can connect to OpenRouter, OpenAI, Anthropic, or Ollama; that flexibility applies to LLM inference, while the Qdrant retrieval setup still has a concrete vector-dimension requirement.
Trade-offs & Limitations
Compared with stock Hermes, the clearest reason to adopt Memory OS is to recover past decisions across sessions instead of keeping everything in workspace notes. The price is more state to operate: Qdrant, Redis, a background worker, and a Hermes-specific Icarus fork that is not upstream-compatible. For a non-Hermes application, first compare the cost of adapting this integration with adding a framework-neutral memory layer to the existing stack.
The Ground Truth hierarchy can avoid redundant tool calls, but it does not make extracted facts true. Stale or misattributed records can have more influence once the agent is told to trust them; test corrections on real histories and check that semantic merges preserve distinctions that matter. The MIT license is permissive, but comparisons with mem0, Zep, or Letta should turn on independently checked deployment options and integration costs, not on an assumption that those projects require a cloud service.
Hardware & Deployment Guide
Run it alongside Hermes Agent with Python 3.11+ and Docker infrastructure for Qdrant, Redis, and an ARQ worker. The tree includes setup.sh, .env.example, QUICKSTART.md, docker/, and infrastructure/. The memory services can stay on the host while Hermes uses either a local model through Ollama or a hosted API. Local storage does not imply offline inference: a hosted provider may receive session text for extraction or memory context in prompts, depending on the configured path.
Size disk and RAM for retained sessions, Qdrant indexes, and wiki data; size compute for embedding, worker concurrency, and any local LLM. There are no published sizing figures in the available material. With no tagged release listed, pin a tested commit and verify the Hermes integration, backup and restore, and retrieval fallback before relying on it for durable memory.
Teams already running Hermes Agent that repeatedly revisit the same projects and want self-hosted history retrieval, a structured fact store, and a curated wiki.
Workspace notes are enough, the application needs a framework-neutral memory backend, or the team cannot operate the extra services and validate what the agent learns from past sessions.
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| memory-os ★ | 1.4k | +2 | Python | MIT | Seven-layer local memory stack for cross-session recall in Hermes Agent. |
| cognee | 33.8k | +174 | Python | Apache-2.0 | Graph and vector retrieval for persistent agent memory across sessions |
| PageIndex | 40.9k | +92 | Python | MIT | Tree-indexed RAG for evidence retrieval from long PDFs without a vector database |
| hindsight | 64.7k | +884 | Python | MIT | A bank-based memory service that turns agent interactions into durable knowledge |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ClaudioDrews/memory-os.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about memory-os
How does Memory OS connect retrieval to the Hermes prompt?
Do I need a GPU, and what determines host resource use?
Can I use it commercially and keep memory under my control?
When should I choose Memory OS over stock Hermes or another memory system?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy