Hippocampus is one shared, curated memory for all of a person’s AI agents. Picture a residency agent, a campus agent, a home finder and a job scout, all working on the same move to Lisbon. Without shared memory, each keeps its own notes and the facts drift apart: two appointment dates, three spellings of one email address. Hippocampus gives them one memory. It’s an Obsidian vault of plain markdown notes, and a curator keeps it honest.
The name describes the mechanism. Agents write fast, raw episodic memories. Every night Hippocampus sleeps and consolidates them into semantic memory: notes about the people, organizations, places, things and goals in your life.
The loop in five beats
- Agents remember. An agent calls
rememberover MCP (a local tool without MCP can write one new file toinbox/<agent-id>/instead), with a kind that says what sort of memory it is: a fact, an observation, a decision, a task, a question, an interaction, or a kind the vault defines. It returns at once, without waiting for any model. - The inbox holds it. New episodes are unverified but not invisible.
recallreturns matching ones underpending, and the dashboard’s Inbox page lists them all. - The vault sleeps. On a schedule, the curator takes a batch of episodes, oldest first:
hippo sleepwith a model of your choice, or an agent you trust answering the server’s questions. It works out what each one is about, extracts the claims, and reconciles them with what’s already known. See The curator. - Canon, chronicle, disputes. Accepted facts land in entity notes with a status and their provenance. Each episode is appended to the day’s chronicle, then removed from the inbox. Contradictions the rules can’t settle become dispute notes.
- You rule. You are the human. On the dashboard’s Disputes page (the Council, in the codex look), or by writing
ruling:in a dispute note, you decide what’s true, and your word outranks every agent.
Agents read canon back whenever they like, with recall, get, ask_canon and briefing. Goal progress has a fast lane too: update_goal edits a goal note directly instead of waiting for the next sleep. See Goals and progress.
Small steps, strict schemas
The curator doesn’t hand the vault to a language model. Each model call is small, and its answer must match a strict schema (zod). Invalid answers are retried with the errors fed back. Then deterministic code applies the result. The model never writes a file.
| Step | Who | What happens |
|---|---|---|
| Rulings | code | Applies ruling: values you wrote into dispute notes |
| Mentions | model | Lists the entities an episode says something about |
| Resolve | code, then model | Matches by name and alias first; otherwise the model picks from search candidates or says “new” |
| Claims | model | Extracts facts, relations, goal progress, commitments and guidelines about the resolved entities |
| Reconcile | code | Decides rumor, canon, keep or dispute, by fixed precedence rules |
| Chronicle | code | Appends the episode to the day’s log (secrets redacted) and clears it from the inbox |
| Summaries | model | Refreshes the summary paragraph of each touched note |
A kind can skip the model entirely: an interaction that only carries structured data (who, which channel) is applied by code alone.
Small steps are what let a local model, for example in LM Studio or Ollama, do the job overnight. Status decisions never depend on the model’s mood: they come from the precedence table.
What lives in the vault
The vault is a plain folder of markdown, usually a private git repo you open in Obsidian.
| Folder | Holds |
|---|---|
characters/ factions/ locations/ items/ lore/ |
Notes about people, organizations, places, things and know-how, e.g. factions/migration-agency.md |
goals/ arcs/ |
Goals and the arcs they belong to: goals/residence-permit.md, arcs/lisbon-arc.md |
party/ |
The agents, one sheet each: party/home-finder.md |
chronicle/ |
The day-by-day log of consolidated episodes |
inbox/ |
Episodes waiting for the next sleep |
disputes/ |
Contradictions waiting for your ruling |
secrets/ |
Encrypted secret values, one .age file per field |
_hippo/ |
config.yaml, the types and kinds in schema/, Obsidian templates, Dataview dashboards, the morning review |
HANDBOOK.md |
The agents’ handbook, regenerated on every sleep |
Which folders exist, and what each kind of note and memory means, is itself written down as notes in _hippo/schema/. See Types, kinds and presets.
An episode is a small markdown file:
---
agent: residency-agent
kind: fact
at: 2026-09-27T14:03:00+01:00
about: ["[[residence-permit]]", "Agência de Migração"]
---
The Agência de Migração appointment moved to 2026-10-14 10:30 at the Alfama office.
Who writes what
- Agents only add new files to
inbox/, through MCP or GitHub. They never edit canon directly. The one exception isupdate_goal, a structured edit to a goal’s status, objectives, progress and due date. - The curator writes canon notes, the chronicle, disputes,
HANDBOOK.mdand_hippo/review.md. Its git commits are signed Hippocampus. - You can edit anything. The curator rewrites only the managed regions of a note, the parts between
%% hippo:begin … %%and%% hippo:end … %%, plus thefactsandrelationsproperties. Everything else, such as your## Notes, is never touched.
Because agents only ever add new files, their writes never collide, and git stays the source of truth. Any search index can be rebuilt from the vault.
A short glossary
| Term | Meaning |
|---|---|
| Episode | One raw memory from one agent, waiting in the inbox |
| Canon | Accepted truth; agents may rely on it |
| Rumor | Reported, not yet verified; check before acting |
| Dispute | Sources disagree; the human must rule |
| Lane | An agent’s job, and the domains it has authority over |
| Kind | What sort of memory an episode is: fact, observation, decision, task, question, interaction, or one the vault defines |
| Goal | Something to get done, with a status, an owner, and optionally a due date, progress and objectives |
| Chronicle | The append-only log of what happened, day by day |
| Sleep | The nightly consolidation pass |
Next, see how a single fact earns its status in Facts and their status.