← Back to Leaderboard
MClaudioDrews

ClaudioDrews/memory-os

Seven-layer local memory stack for cross-session recall in Hermes Agent.

View on GitHub ↗
Engineering Health (Methodology)
B · 63/100
Maintenance Activity
● Updated 2mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption17/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedLocal AI
Total Stars
★ 1,398
24h Growth
+0
7d Growth
+2
Forks
130

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

ClaudioDrews/memory-os Star History (2026-05-31 - 2026-12-03) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +1.4k in 186d · avg +7/day 1.5k 738 0 2026-05-31: ★ 182026-06-13: ★ 1,0762026-06-27: ★ 1,1822026-07-11: ★ 1,2372026-07-25: ★ 1,2772026-08-08: ★ 1,3032026-08-22: ★ 1,3242026-09-05: ★ 1,3442026-09-19: ★ 1,3562026-10-03: ★ 1,3622026-10-17: ★ 1,3742026-10-31: ★ 1,3812026-11-12: ★ 1,3912026-11-24: ★ 1,3962026-12-03: ★ 1,398 ★ 1.4k 2026-05 2026-09 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Workspace and sessions: MEMORY.md, USER.md, and CREATIVE.md provide per-turn context; state.db adds SQLite FTS5 search over conversations.
Fact store: memory_store.db combines SQLite, HRR, FTS5, entity resolution, and feedback-adjusted trust scores.
Fabric integration: A bundled, upstream-incompatible Icarus fork exposes 16 tools and adds LLM-assisted session extraction and multi-source injection.
Retrieval fallback: Qdrant combines 4,096-dimensional cosine vectors with BM25 sparse retrieval, then falls back from hybrid to dense to lexical to SQLite.
Memory maintenance: A weekly decay scan and cosine-similarity merges above 0.92 manage the retrieval store; Vault Curator v3 adds wiki metadata, links, and indexes.
Context policy: Retrieval gates and per-session deduplication limit repeated context; Ground Truth ranks injected sources for the agent.
Best For

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.

Skip If

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.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
memory-os ★1.4k+2PythonMITSeven-layer local memory stack for cross-session recall in Hermes Agent.
cognee33.8k+174PythonApache-2.0Graph and vector retrieval for persistent agent memory across sessions
PageIndex40.9k+92PythonMITTree-indexed RAG for evidence retrieval from long PDFs without a vector database
hindsight64.7k+884PythonMITA 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.

Raw .md ↗
curl -sL https://repoforai.com/repo/ClaudioDrews/memory-os.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

ClaudioDrews/memory-os Star History on RepoForAI

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?

The bundled Icarus fork extracts session knowledge and injects context from Fabric, Qdrant, session history, and structured facts. The Ground Truth hierarchy instructs Hermes to use ranked context without repeating searches by default. The fork is not upstream-compatible; treat it as part of the Hermes integration rather than a drop-in Icarus upgrade.

Do I need a GPU, and what determines host resource use?

There is no fixed VRAM requirement in the available material. Size the host for Qdrant, Redis, the ARQ worker, SQLite, and local embedding work. Vector storage and indexing costs grow with the number of 4,096-dimensional vectors; local LLM memory needs depend on the model, context length, and concurrency. A hosted LLM moves inference off the host but leaves the memory stack in place.

Can I use it commercially and keep memory under my control?

The MIT license permits commercial use and self-hosting, subject to preserving the required copyright and license notices. The license does not settle data-handling compliance. Review retention and access controls for transcripts, facts, vectors, and wiki files, as well as provider terms if prompts or session text are sent to a hosted model.

When should I choose Memory OS over stock Hermes or another memory system?

Stock Hermes is the simpler choice when workspace files and basic session history are enough. Memory OS is worth testing when cross-session recall, ranked facts, and a curated wiki would materially improve the workflow. For mem0, Zep, or Letta, verify current self-hosting options and integration effort independently rather than assuming the alternatives are cloud-only.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining ClaudioDrews/memory-os? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature ClaudioDrews/memory-os on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare