Pantheon · Memory god

Memory over find.

Mnemosyne is the Pantheon's memory god — one unified, provenance-tracked layer that writes and recalls across every memory scope the swarm has, so recall() becomes the default retrieval path instead of grep/find.

gh repo clone mdostal/mnemosyne && npm install && npm test
01 · What it does

One contract for every memory scope

The swarm already runs real memory infrastructure — remote Qdrant Cloud vector memory, a code/docs impact graph, and the hive's Obsidian knowledge vault. Mnemosyne doesn't reinvent any of it — it unifies what already runs behind a single, escalating, provenance-tracked API.

01

recall(query, scope, intent)

Walks the layer stack narrow↔broad, merges and ranks hits, and stamps full provenance on every result.

02

remember(content, scope, layer?)

Routes writes to the correct layer(s) and keeps vector + code-graph indexes coherent.

03

Loud failure, always

A degraded or unreachable layer is flagged explicitly in the response — never a silent fallback.

02 · The layer stack

Meta, broad, to file, raw

An ordered, escalating stack. Backends are pluggable per slot — Qdrant is the default vector backend, Obsidian the default meta store, but neither is a hard dependency.

meta (hive Obsidian vault — Consus knowledge home / canonical truth)enterprise (org-wide knowledge + standards, promoted from approved CBAs)project (per-project working memory, decisions, context)code-graph (typed impact graph: depends_on / cites / implements)vector (Qdrant Cloud — default backend, semantic recall)file (raw grep — loud-failure floor)
03 · Architecture

Component & flow

Full diagrams (including the recall() sequence flow) live in docs/architecture.md.

flowchart TB
  subgraph pantheon["Pantheon gods (callers)"]
    minerva["Minerva
planner"] argus["Argus
metrics"] swarm["swarm agents"] end subgraph mnemosyne["Mnemosyne — memory god"] api["recall(query, scope, intent)
remember(content, scope, layer?)"] router["layer router + escalation
(narrow to broad, merge + rank)"] prov["provenance stamping
(7 fields per hit)"] idx["continuous indexing
(Multica-native schedule)"] api --> router --> prov end subgraph layers["Layer stack (pluggable slots)"] meta["meta - Obsidian vault"] ent["enterprise"] proj["project"] cg["code-graph"] vec["vector - Qdrant Cloud"] file["file - grep (loud floor)"] end minerva --> api argus --> api swarm --> api router --> meta router --> ent router --> proj router --> cg router --> vec router --> file idx -.keeps fresh.-> vec idx -.keeps fresh.-> cg idx -.keeps fresh.-> meta vec -->|wraps| sm[("swarm-memory
+ Qdrant Cloud")] cg -->|wraps| sm api -.decision + metric record.-> argus consus["Consus / Janus
(read model)"] --> api
04 · Quickstart

Clone, install, run the tests

gh repo clone mdostal/mnemosyne
cd mnemosyne
npm install

npm test              # full suite
npm run test:e2e      # Minerva-style end-to-end integration test
npm start              # run the production recall/remember service (:8477)

See README.md for the full command reference, docs/http-api.md for the MnemosyneClient HTTP API, and hooks/README.md to wire the pre-recall/post-remember hooks into an agent runner.

05 · Role in Pantheon

One god, one capability slot

06 · Support the project

Mnemosyne is free and open source

MIT licensed. If Mnemosyne saves your swarm tokens, consider sponsoring the work or contributing a layer adapter, a doc, or a bug report.

♡ Sponsor on GitHub Contribute