ClaudeCodeMod

All shelves / MCP servers

Hippo memory

io.github.kitfunso/hippo-memory · 793 stars · TypeScript · MIT

MCP server One memory for every agent you'll ever use.

Listed in: Best MCP servers for memory

Install

The repo has no one-line install. Follow its README.

Published as

  • npmhippo-memorystdio

From the server's entry in the official MCP Registry.

Open the repo

Files

README.md

Hippo

One memory for every agent you'll ever use.

Inspired by the human hippocampus, hippo saves what you teach one coding agent in your repo, and your other agents read it, so switching agents stops meaning starting over.

npm npm downloads CI license website

hippo init adding memory to one project

Works with:    Claude Code, Codex, Cursor, Pi, OpenClaw, OpenCode, any MCP client
Imports from:  ChatGPT, Claude (CLAUDE.md), Cursor (.cursorrules), Slack, markdown
Storage:       SQLite with markdown mirrors you can read and commit
Dependencies:  Zero runtime deps. Node.js 22.16+. Embeddings: `hippo init` installs the local Transformers.js embedder (`@huggingface/transformers@4.3.2`, about 480 MB) into a global npm install, and `--no-embeddings` skips it. An API embedder (OpenAI/Voyage/Cohere) is opt-in.

Contents: Install · Follow one memory · What hippo does · Results · Comparison · Benchmarks · Setup in detail · Agent setup · MCP server · How it works · CLI · FAQ · Contributing


Install

Paste one prompt into your agent:

Install hippo-memory for me by following https://github.com/kitfunso/hippo-memory/blob/master/llms-install.md step by step. Run every command yourself and finish with hippo doctor.

Or by hand:

npm install -g hippo-memory

# then, in your project
hippo init

Installing the package alone captures nothing, and what runs after init depends on the agent.

hippo init creates a .hippo/ store in the project, adds a short block to an existing CLAUDE.md or AGENTS.md, installs Claude Code's hooks, schedules a daily run at 6:15am that stores lessons from the day's commits and installs the local embedder for recall by meaning. --no-hooks, --no-schedule and --no-embeddings skip those parts. Codex runs hippo's hooks only once you trust them in /hooks. hippo doctor checks the install. What hippo init changes lists every file it writes, and llms-install.md is the guide the prompt above follows.


Follow one memory

  1. You correct your agent once. Say always, never or must, and hippo's session-end hook pins it.
  2. Next session, it's already there. Your rules load before your first prompt.
  3. Every agent reads it. All your agents read one store, so switching loses nothing.
  4. Each prompt gets what's relevant. Your pinned rules, plus up to 5 memories that share its words.
  5. A wrong memory gets weaker. After a bad answer, hippo outcome --bad weakens the memories behind it.
  6. A new fact replaces the old. With hippo supersede, the old one leaves recall but stays on record.
  7. Unused fades, pinned stays. Unused memories weaken over a year or two, and pinned ones never fade.

What hippo does

What it does Where
Capture Rules and errors from each session, found by word patterns. SessionEnd hook
Recall Keyword search with no model or network call, and --why shows the match. hippo recall "why did the deploy break" --why
Outcomes A bad mark weakens a memory, and each recall keeps it longer. hippo outcome --bad
Mirror A markdown copy of every memory to grep, commit and review. .hippo/
Dashboard Memory health by project, on localhost. hippo dashboard
Git history Learns from the last 30 days of commits, then each day's. hippo learn --git
Sleep Merges related memories and stores faded ones, ready to restore. hippo sleep
Import Brings in the notes your agents already keep, unchanged. hippo import --agents

Repeat mistakes per 100 chances

Real sessions on 29 repositories, with the plan registered before the run.

Claude Code with Repeats per 100 chances
No memory 83
Built-in memory 21
Built-in plus hippo 11

Cost with hippo: 1.006 times, the same.

The result has every figure, and Benchmarks has the rest of the test.

Public memory tests

One answer model and scorer for every system we ran in a test.

Test Questions hippo Other system
DMR 495 77.6 full chat 83.6
PersonaMem v1 584 72.4 MemOS 61.2, published
LongMemEval-S 495 88.5
LoCoMo 395 89.4 Mem0 94.9

hippo used its local embedder, plus its local reranker on DMR. MemOS's score is from its own setup. How we test.


Zero model calls to store a memory

Other memory tools run what you save through a language model, an LLM on top of your LLM.

Tool LLM calls per memory Unit
hippo 0 per memory, default path
Mem0 1 per add
Zep (Graphiti) 2+ per episode, more for duplicates and dates
Letta 2+ per turn that writes memory, V1 server
Supermemory count not public uses a model, per its docs (low confidence)
Cognee 1 per text chunk, with a key
LangMem 1+ per run
MemOS 1 per message window

Storing the LoCoMo test chats took Mem0 5,882 language-model calls, one per turn, and hippo none (the count). Counts come from each product's public code and docs, 13 Nov 2026.

The exception is hippo sleep, which sends text to Anthropic when ANTHROPIC_API_KEY is set, and {"extraction":{"enabled":false}} turns it off. With HIPPO_LLM_BASE_URL and HIPPO_LLM_MODEL set, the text goes to that OpenAI-compatible endpoint instead, and never to Anthropic.

Your own model needs two variables, and two more are optional. HIPPO_LLM_BASE_URL is the endpoint, such as https://llm.internal/v1. Hippo posts to <base>/chat/completions. HIPPO_LLM_MODEL is the model name it sends on every call. HIPPO_LLM_API_KEY is optional and goes out as a Bearer token; it holds visible ASCII only, with no space or newline. The URL must use https unless it is on this machine. Set HIPPO_LLM_ALLOW_HTTP=1 to allow plain http to another host, and set NODE_EXTRA_CA_CERTS to trust a private certificate authority. Hippo refuses to call a model, and says why, when the base URL has no model, when a model or key is set without a base URL, when the URL carries a query or a fragment, when plain http lacks the opt-in, or when a key cannot be a header. A refusal never falls back to Anthropic.


One memory, three readers

You, your team and your platform lead read the same store.

  • The developer. Say a rule with never, always or must, and every session starts with it.
  • The team. Commit the markdown copy and review a rule in a pull request.
  • The platform lead. One team server gives everyone the same store and their own key.
Agent What hippo adds
Claude Code CLAUDE.md + 9 hooks
Codex AGENTS.md + 2 hooks
Cursor plugin: rule + MCP (extensions/cursor-plugin), or reads AGENTS.md
Pi reads AGENTS.md
OpenClaw plugin
OpenCode plugin
Gemini CLI extension: gemini extensions install https://github.com/kitfunso/hippo-memory
Kiro power: import https://github.com/kitfunso/hippo-memory/tree/master/extensions/kiro-power
Any MCP client hippo mcp, 13 tools

hippo dashboard opens a local page with each project's memory health.


Memory is infrastructure you own

Your agents' memory belongs in a file you can read, diff and delete, whichever agent you use next year.

  • Today: a team server that shares one store over MCP, with API keys, roles, an audit log, and Slack and GitHub connectors.
  • Planned: a commercial edition with SSO, SCIM, SIEM export, hosting and an SLA.

There's no team result yet, so open an issue for a holdout pilot. Open source and commercial says what each edition holds.


Comparison

Hippo is for coding agents on machines you control. Mem0 fits better when the memory belongs to your app's end users, Zep when you want a managed knowledge graph built from business data, and Letta Code when you want an agent that edits its own memory. The table is a feature snapshot, not a verdict, and it holds no scores: Benchmarks has those, split by setup.

Feature* Hippo MemPalace Mem0 Basic Memory Zep Letta Cognee Memoria EverMind
Decay by default Yes No No No No No No No No
Retrieval strengthening Yes No No No No No Partial (recall tuning) No Partial (Skill Memory distills patterns)
Reward-proportional decay Yes No No No No No No No No
Hybrid search (BM25 + embeddings) Yes Embeddings + spatial Yes (semantic + BM25 + entity) No Yes (graph + vec) ? Yes (GraphRAG) Yes (vector + full-text) Yes (mRAG, multi-modal)
Schema acceleration / knowledge graph Yes (schema) No Partial (entity linking; graph memory on Pro) No Yes (temporal KG) No Yes (auto-ontologies) No (typed claims) Yes (hierarchical: user/group/agent)
Conflict detection + resolution Yes No Partial (hosted platform marks superseded facts) No Yes (auto-invalidate stale facts) No No Yes (auto-detect + quarantine) Partial (temporal tracking)
Multi-agent shared memory Yes No No No Yes Yes (shared memory blocks) Yes Yes (branch/merge across sessions) Yes (multi-agent coordination)
Transfer scoring Yes No No No No No No No No
Outcome tracking Yes No No No No No No No Partial (Cases: agent trajectories)
Confidence tiers Yes No No No No No No No No
Spatial organization No Yes (wings/halls/rooms) No No No No No No No
Lossless compression No Yes (AAAK, 30x) No No No No No No No
Cross-tool import (ChatGPT/Claude/Cursor) Yes No No No ? No Partial (28 data sources) No (Git ops) Partial (mRAG: PDFs/images/URLs)
Auto-hook install Yes No No No No No No No No
MCP server Yes Yes Yes (hosted, needs an account) Yes Yes (hosted, needs an account) Yes (hosted, needs an API key) Yes (first-party Claude/LangGraph) Yes ?
Zero runtime deps Yes No (ChromaDB) No No No (managed service) No (npm deps) No (Python deps) Yes (single Rust binary) No (managed + OSS)
Git-friendly Yes No No Yes No Yes (memory tracked in git) No Yes (Git is the model) ?
Framework agnostic Yes Yes Partial Yes Yes Yes Yes Yes Yes
License MIT (open) Apache-2.0 (open) Proprietary cloud (Graphiti: Apache-2.0) Apache-2.0 MIT (core) Apache-2.0 Apache-2.0 (OSS) + cloud

* The Mem0, Zep and Letta columns were last checked against each vendor's own pages on 2026-09-28.

Side-by-side pages on the website: hippo vs mem0 · hippo vs Zep · hippo vs Letta · CLAUDE.md vs MEMORY.md.


Benchmarks

We built hippo and ran these tests, so read them as a vendor's numbers. We ran rivals on the same answer model where we could. Scores marked published come from each team's own setup, so we give no ranks. The same results are on hippo-memory.com/benchmarks.

Repeat mistakes in real Claude Code sessions

Each run corrects Claude Code once and then, 2 to 4 tasks later, gives it a task where the same mistake is possible. We ran it on 29 repositories, registered first.

Claude Code with Repeats in 100
No memory 83
Claude Code's built-in memory 21
Built-in memory plus hippo 11

The chart counts first chances 2 to 4 tasks after the correction. The registered measure, the first chance in each mistake family over 148 units, gives 14.9 points fewer repeats with hippo [5.5, 24.3], at the same cost, a ratio of 1.006 [0.964, 1.049]. On tasks with no lesson to apply, neither the cost nor the share solved changed.

Round 4, already preregistered, tests which parts of hippo drive the gain.

Official-setup rows side by side

Hippo 3.5.1 run with the same answer model, judge and settings as the published rows.

Benchmark hippo Mem0 Zep MemOS Supermemory Honcho Hindsight EverMemOS Memobase Other
LoCoMo, Mem0 paper setup
Long chat recall, gpt-4o-mini answers; official setup
69.22
embedder, 30 per speaker, all 1,540
66.88
gpt-4o-mini
65.99
gpt-4o-mini
- - - - - - 68.44
Mem0g · gpt-4o-mini
LoCoMo, OmniMemEval shared setup
Long chat recall, gpt-4.1-mini answers; official setup
74.72
embedder, top 20, 1,535 of 1,540 (5 test items never scored)
77.68
gpt-4.1-mini
63.83
gpt-4.1-mini
88.83
gpt-4.1-mini
73.53
gpt-4.1-mini
- 81.99
gpt-4.1-mini
82.75
gpt-4.1-mini
- 90.71
cachly · gpt-4.1-mini
LongMemEval-S, gpt-4o reader
Long chat recall, gpt-4o answers; official setup
81.8
reranker, top 10 (embedder 78.2), official gpt-4o judge
- 71.2
gpt-4o
- 81.6
gpt-4o
- - - - 86.0
EmergenceMem Internal · gpt-4o-2024-08-06
LongMemEval-S, OmniMemEval shared setup
Long chat recall, gpt-4.1-mini answers; official setup
83.84
embedder, top 20, 495 of 500 (5 test items never scored)
56.00
gpt-4.1-mini
79.80
gpt-4.1-mini
89.20
gpt-4.1-mini
66.07
gpt-4.1-mini
- 72.20
gpt-4.1-mini
80.40
gpt-4.1-mini
- 91.20
Maasv · gpt-4.1-mini
PersonaMem v1, MemOS suite setup
Personalisation, gpt-4o-mini answers; official setup
61.97
embedder, top 20, mean of 3 runs
43.1
gpt-4o-mini
57.8
gpt-4o-mini
61.2
gpt-4o-mini
53.9
gpt-4o-mini
- - - 58.9
gpt-4o-mini
56.8
MemU · gpt-4o-mini
PersonaMem v2, OmniMemEval shared setup
Personalisation, gpt-4.1-mini answers; official setup, with a caveat
35.10
embedder, top 20, one run, 4,995 of 5,000 (5 test items never scored)
36.76
gpt-4.1-mini
32.34
gpt-4.1-mini
40.58
gpt-4.1-mini
39.64
gpt-4.1-mini
- 37.98
gpt-4.1-mini
35.94
gpt-4.1-mini
- 39.86
Maasv · gpt-4.1-mini
EverMemBench, GPT-4.1-mini answers
Changing facts, GPT-4.1-mini answers; official setup, with a caveat
44.20
embedder, top 10, mean of 9 categories
37.09
GPT-4.1-mini
39.97
GPT-4.1-mini
42.55
GPT-4.1-mini
- - - - 34.27
GPT-4.1-mini
37.44
Full Context · GPT-4.1-mini
BEAM-100K, OmniMemEval shared setup
Long-horizon memory, gpt-4.1-mini answers; official setup
67.98
embedder, top 20, 395 of 400 (5 test items never scored)
70.41
gpt-4.1-mini
68.70
gpt-4.1-mini
66.87
gpt-4.1-mini
65.98
gpt-4.1-mini
- 70.22
gpt-4.1-mini
58.64
gpt-4.1-mini
- 76.38
Maasv · gpt-4.1-mini
BEAM-10M, OmniMemEval shared setup
Long-horizon memory, gpt-4.1-mini answers; official setup
56.84
embedder, top 20, all 200
43.33
gpt-4.1-mini
56.11
gpt-4.1-mini
56.75
gpt-4.1-mini
52.49
gpt-4.1-mini
- 59.75
gpt-4.1-mini
47.73
gpt-4.1-mini
- 65.09
Maasv · gpt-4.1-mini
HaluMem-Medium
Hallucination control, GPT-4o answers; official setup, with a caveat
70.23
embedder, top 20, GPT-4o answers and judge
53.02
GPT-4o
55.47
GPT-4o
67.23
GPT-4o
54.07
GPT-4o
- - - 35.33
GPT-4o
54.66
Mem0-Graph · GPT-4o
HaluMem-Long
Hallucination control, GPT-4o answers; official setup, with a caveat
65.99
embedder, top 20, GPT-4o answers and judge
28.11
GPT-4o
50.19
GPT-4o
64.44
GPT-4o
53.77
GPT-4o
- - - 33.60
GPT-4o
32.44
Mem0-Graph · GPT-4o
IMLogic, Table 5
Multiple-choice accuracy, GPT-5.1 answers, no judge; official setup
38.33
embedder, top 30, one run, 2,215 of 2,216 (1 test item never scored)
38.18
GPT-5.1
- 39.44
GPT-5.1
- - - 43.50
GPT-5.1
- 44.18
T-Mem · GPT-5.1
MemFail, coexisting facts
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
10/100
embedder, top 5, all items
35/100
gpt-5-mini
- - - - - - - 25/100
A-Mem · gpt-5-mini
MemFail, conditional
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
93/100
embedder, top 5, all items
58/100
gpt-5-mini
- - - - - - - 95/100
A-Mem · gpt-5-mini
MemFail, conditional hard
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
38/100
embedder, top 5, all items
13/100
gpt-5-mini
- - - - - - - 35/100
A-Mem · gpt-5-mini
MemFail, persona base
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
120/143
embedder, top 5, all items
14/143
gpt-5-mini
- - - - - - - 125/143
A-Mem · gpt-5-mini
MemFail, persona misleading
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
146/157
embedder, top 5, all items
137/157
gpt-5-mini
- - - - - - - 156/157
StructMem · gpt-5-mini
MemFail, long-hop
Tests passed, gpt-5-mini answers and judge; official setup, with a caveat
3/92
embedder, top 5, all items
13/92
gpt-5-mini
- - - - - - - 23/92
StructMem · gpt-5-mini
InMind, naive query
Share of tasks judged right, gpt-5-mini answers and judges; official setup
59.20
embedder, top 10, all 125 tasks
76.0
gpt-5-mini
- - - - - - - 99.2
A-Mem · gpt-5-mini
InMind, target recall
Share of tasks judged right, gpt-5-mini answers and judges; official setup
4.00
embedder, top 10, all 125 tasks
2.4
gpt-5-mini
- - - - - - - 5.6
A-RAG · gpt-5-mini
InMind, application
Share of tasks judged right, gpt-5-mini answers and judges; official setup
4.80
embedder, top 10, all 125 tasks
3.2
gpt-5-mini
- - - - - - - 8.8
HippoRAG 2 · gpt-5-mini
MEME, Table 2
Mean of six task accuracies, gpt-4.1-mini answers, gpt-4o judge; official setup
0.25
embedder, top 20, 32K filler
0.28
gpt-4.1-mini
- - - - - - - 0.03
Graphiti · gpt-4.1-mini
TriggerBench, Table 3 Base
Prospective memory accuracy, gpt-4.1 answers, gpt-4o judge; official setup
54.29
embedder, top 6, 1,260 of 1,265 (5 test items never scored)
53.20
gpt-4.1
- - - - - - - 41.42
A-Mem · gpt-4.1
DolphinBench, official Claude Code setup
Agent memory, Claude Code with Sonnet 5; official setup
in build 32.3
Claude Code, Sonnet 5 · 194/600
- - - 35.8
Claude Code, Sonnet 5 · 215/600
- - - 26.3
Built-in · Claude Code, Sonnet 5 · 158/600
How each row ran
  • LoCoMo, Mem0 paper setup. Run as the Mem0 paper ran it, with Mem0's released evaluation code (mem0ai/mem0 aae5989e78): all 1,540 questions in categories 1 to 4, 30 memories per speaker, gpt-4o-mini answers under the paper's prompt, and the code's gpt-4o-mini judge. The paper itself does not name its judge. One run. The paper's full-context baseline scores 72.9, above every memory row. Compare the overall score only: our category labels follow our own mapping.
  • LoCoMo, OmniMemEval shared setup. Run as OmniMemEval's run_locomo_eval.sh runs every backend (MemTensor/OmniMemEval ff13e4a5): hippo's top 20 memories, gpt-4.1-mini-2025-04-14 answers and the gpt-4o-mini-2024-07-18 judge on the 1,540 questions in categories 1 to 4. The 5 smoke-test questions are never scored, so the score covers 1,535. Contributors ran some of the published rows.
  • LongMemEval-S, gpt-4o reader. The answer model and the judge match the published gpt-4o rows: gpt-4o-2024-08-06 reads hippo's top 10 memories, and the official script's prompts on gpt-4o-2024-08-06 judge all 500 questions. Each system keeps its own retrieval, as in the published rows. The cell shows the reranker setup, 81.8; the embedder setup scores 78.2. We chose the reranker after seeing its Sonnet scores and recorded that before its run. EmergenceMem does not name its judge.
  • LongMemEval-S, OmniMemEval shared setup. Run as OmniMemEval's run_lme_eval.sh runs every backend (MemTensor/OmniMemEval ff13e4a5): the cleaned LongMemEval-S file, hippo's top 20 memories, gpt-4.1-mini-2025-04-14 answers and the gpt-4o-mini-2024-07-18 judge. The 5 smoke-test questions are never scored, so the score covers 495 of 500.
  • PersonaMem v1, MemOS suite setup. Run as MemOS's evaluation suite runs every vendor row (MemTensor/MemOS 3a16e5fe): the same data files and top 20, PM_ANSWER_PROMPT as one system message to gpt-4o-mini-2024-07-18 at temperature 0, 3 runs per question, scored as the mean of the run accuracies over all 589 rows. Each system keeps its own retrieval and memory text.
  • PersonaMem v2, OmniMemEval shared setup. Run as OmniMemEval's run_pmv2_eval.sh runs every backend (MemTensor/OmniMemEval ff13e4a5): the 32k split, hippo's top 20 memories, gpt-4.1-mini-2025-04-14 answers and rule matching in place of a judge, one run as the script's default. The published rows average repeated runs and do not say how many. The 5 smoke-test questions are never scored, so the score covers 4,995 of 5,000.
  • EverMemBench, GPT-4.1-mini answers. The answer model, prompts, top 10, multiple-choice scorer and the 9-category mean match the paper's Table 4 (EverMind-AI/EverMemBench e10b3d5): gpt-4.1-mini-2025-04-14 at temperature 0 answers all 2,400 items. One setting differs: open answers are judged by gpt-5.6-sol through codex with the authors' prompts, and the repository's default judge is gemini-3-flash-preview; the paper names no judge. A second judge, gpt-4o-2024-08-06 with the same prompts, agrees with codex on 96.9% of open verdicts and scores hippo 44.75. The default setup scores 41.66 with codex and 42.50 with gpt-4o.
  • BEAM-100K, OmniMemEval shared setup. Run as OmniMemEval's run_beam_eval.sh runs every backend (MemTensor/OmniMemEval ff13e4a5): the nugget score at the 100K scale, hippo's top 20 memories, gpt-4.1-mini-2025-04-14 answers and the gpt-4o-mini-2024-07-18 judge. The 5 smoke-test questions are never scored, so the score covers 395 of 400.
  • BEAM-10M, OmniMemEval shared setup. The same setup as the BEAM-100K row at the 10M scale (MemTensor/OmniMemEval ff13e4a5), on all 200 questions.
  • HaluMem-Medium. Question answering only, with the paper's GPT-4o answers and judge (gpt-4o-2024-08-06, temperature 0) and the same data, question set, top 20 and prompts.
  • HaluMem-Long. Question answering only, with the paper's GPT-4o answers and judge (gpt-4o-2024-08-06, temperature 0), the same setup as the HaluMem-Medium row. hippo ran it with its embedder on 20 Nov 2026.
  • IMLogic, Table 5. Table 5 of arXiv 2606.23283: conversation-level multiple-choice accuracy with GPT-5.1 answers, top-30 retrieval and a GPT-4o-mini memory backbone for every method. hippo ran it with its embedder on 21 Nov 2026: gpt-5.1-2025-11-13 at temperature 0, the authors' prompt and option shuffle, and exact option matching. hippo makes no model call when it stores a memory, so it needs no memory backbone. 1 smoke-test item is never scored.
  • MemFail, coexisting facts. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • MemFail, conditional. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • MemFail, conditional hard. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • MemFail, persona base. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • MemFail, persona misleading. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • MemFail, long-hop. Run as MemFail's task scripts run it (MemFail 61ab3028): the same data and seed, top 5, a gpt-5-mini test-taker and each task's own gpt-5-mini judge, on all items. hippo ran it with its embedder on 22 Nov 2026, one run. The products run GPT-4.1-mini inside to write memories; hippo makes no model call when it stores a memory and keeps raw turns. The paper plots the product scores in Figure 1 and prints no table, so each product number is read from the figure's vector SVG, where every error bar equals the 95% Wilson interval of its count. The product numbers are read from the paper's Figure 1, which prints no table.
  • InMind, naive query. Run as InMind's evaluation package runs it (InMind 5a2ab268): all 125 tasks, gpt-5-mini answers with 16,384 completion tokens, and the three binary gpt-5-mini judges with the repo's prompts. hippo ran it with its embedder on 22 Nov 2026, one run, top 10, as Mem0 and A-Mem use. The product rows are the paper's MiniLM block, the same embedder hippo uses (all-MiniLM-L6-v2).
  • InMind, target recall. Run as InMind's evaluation package runs it (InMind 5a2ab268): all 125 tasks, gpt-5-mini answers with 16,384 completion tokens, and the three binary gpt-5-mini judges with the repo's prompts. hippo ran it with its embedder on 22 Nov 2026, one run, top 10, as Mem0 and A-Mem use. The product rows are the paper's MiniLM block, the same embedder hippo uses (all-MiniLM-L6-v2).
  • InMind, application. Run as InMind's evaluation package runs it (InMind 5a2ab268): all 125 tasks, gpt-5-mini answers with 16,384 completion tokens, and the three binary gpt-5-mini judges with the repo's prompts. hippo ran it with its embedder on 22 Nov 2026, one run, top 10, as Mem0 and A-Mem use. The product rows are the paper's MiniLM block, the same embedder hippo uses (all-MiniLM-L6-v2).
  • MEME, Table 2. Run as MEME's run_main_experiment.sh runs it (MEME cb8164d8): the 32K filler set, top 20, gpt-4.1-mini-2025-04-14 answers at temperature 0, the gpt-4o-2024-08-06 judge, and the paper's trivial-pass filter. hippo ran it with its embedder on 22 Nov 2026, one run. Mem0 extracts facts with gpt-4.1-mini; hippo stores each turn whole with no model call. The 5 smoke-test questions are never scored.
  • TriggerBench, Table 3 Base. Run as TriggerBench's run_mem0.sh runs the Mem0 row (TriggerBench 9e2185c3): Base context, top 6, gpt-4.1 answers at temperature 0.6 with 1,024 tokens, and the paper's PMJudge on gpt-4o-2024-08-06. hippo ran it with its embedder on 22 Nov 2026, one run. 5 smoke-test tasks are never scored, so hippo's score covers 1,260 of 1,265 tasks.
  • DolphinBench, official Claude Code setup. The same setup as the published Claude Code rows: one Claude Code turn with the hippo plugin for each of the 13,539 messages, each test in a fresh sandbox with memory writes off, Sonnet 5 and the gpt-5.6-sol judge. The run is in build, so there is no score yet.
Our own setup

Every other benchmark we ran. Our setup differs from the published rows, so these scores do not sit beside theirs.

Benchmark hippo Mem0 Zep MemOS Supermemory Honcho Hindsight EverMemOS Memobase Other
LoCoMo
Long chat recall, Sonnet 5 answers
91.5
embedder, top 200, gpt-4o-mini judge, 400 sample
92.5
not stated · unit not stated
75.14
not stated
- - 89.9
Claude Haiku 4.5
89.61
Gemini-3 Pro
93.05
not stated
75.78
not stated
90.0
Backboard · not stated
LongMemEval-S
Long chat recall, Sonnet 5 answers
88.4
embedder, top 200, official gpt-4o judge
94.4
not stated · unit not stated
71.2
gpt-4o
- 85.2
gemini-3-pro
92.6
Gemini 3 Pro
91.4
Gemini-3 Pro
83.00
not stated
- 94.87
Mastra Observational Memory · gpt-5-mini
LongMemEval-M
Very long chat recall, Sonnet 5 answers
78.4
default, top 200, official gpt-4o judge
- - - - - - - - -
DMR
Multi-session recall, Sonnet 5 answers
77.6
reranker, top 20
- 98.2
gpt-4o-mini
- - - - - - 98.0
Full-conversation baseline · gpt-4o-mini
DMR, gpt-4o-mini answers
Multi-session recall, gpt-4o-mini answers
85.60
reranker, top 20, Speaker 1 role
- 98.2
gpt-4o-mini
- - - - - - 98.0
Full-conversation baseline · gpt-4o-mini
PersonaMem v1
Personalisation, Sonnet 5 answers
72.4
embedder, top 20
43.1
gpt-4o-mini
57.8
gpt-4o-mini
61.2
gpt-4o-mini
53.9
gpt-4o-mini
- - - 58.9
gpt-4o-mini
56.8
MemU · gpt-4o-mini
PersonaMem v2
Personalisation, Sonnet 5 answers
50.1
embedder, top 20
- - 40.58
not stated
- - - 53.25
not stated
- 55.2
Qwen3-4B agentic memory · Qwen3-4B-Instruct-2507
PrefEval
Preference following, Sonnet 5 answers
83.0
default, top 5
63.7
gpt-4o-mini
39.9
gpt-4o-mini
71.9
gpt-4o-mini
56.7
gpt-4o-mini
- - - 34.1
gpt-4o-mini
92.15
Claude 3 Sonnet + RAG · Claude 3 Sonnet
EverMemBench
Changing facts, Sonnet 5 answers
56.4
default, top 10, mean of 9 categories
37.09
GPT-4.1-mini
39.97
GPT-4.1-mini
42.55
GPT-4.1-mini
- - - - 34.27
GPT-4.1-mini
72.61
Full Context · Gemini-3-Flash
BEAM-100K
Long-horizon memory, Sonnet 5 answers
72.4
embedder
- - - - 63.0
claude-haiku-4-5
73.4
not stated
- - 79.0
cognee · not stated
BEAM-500K
Long-horizon memory, Sonnet 5 answers
70.6
embedder
- - - - 64.9
claude-haiku-4-5
71.1
not stated
- - 35.9
LIGHT · Llama-4-Maverick
BEAM-1M
Long-horizon memory, Sonnet 5 answers
69.9
default
64.1
gpt-5
- - - 63.1
claude-haiku-4-5
73.9
not stated
- - 33.6
LIGHT · Llama-4-Maverick
BEAM-10M
Long-horizon memory, Sonnet 5 answers
54.3
embedder
48.6
gpt-5
- - - 40.6
claude-haiku-4-5
64.1
not stated
- - up to 67.0
cognee · not stated
ConvoMem
Conversation memory, Sonnet 5 answers
59.6
default, top 20
- - - - - - - - 92.9
MemPalace · not stated
HotPotQA-24
Multi-hop questions, F1, Sonnet 5 answers
91.0
reranker, top 15, all 24 questions, one run
12.0
not stated
- - - - - - - 84.1
Cognee · not stated
DolphinBench, shortcut run
Agent memory, Claude Code with Sonnet 5
45.0
270/600 · Claude Code, Sonnet 5
32.3
Claude Code, Sonnet 5 · 194/600
- - - 35.8
Claude Code, Sonnet 5 · 215/600
- - - 26.3
Built-in · Claude Code, Sonnet 5 · 158/600
Terminal-Bench 2.0
Agent coding tasks, Claude Code with Sonnet 5
9/10
first 10 of 89 tasks, 1 trial; Claude Code with no memory 9/10
- - - - - - - - -
How each row ran
  • LoCoMo. Judged again with the Mem0 paper's prompt on gpt-4o-mini, the judge in Mem0's released code. This row still scores a 400-question sample with Sonnet 5 answers, and the published rows use all 1,540 questions. The "LoCoMo, Mem0 paper setup" row runs that setup in full.
  • LongMemEval-S. Judged with the official script's prompt for each question type and its judge, gpt-4o-2024-08-06, over all 500 questions. One setting differs: the answer model is Sonnet 5, and each published row uses its own. The Mem0 cell used its runner's lenient judge prompt, so it stays grey. The "LongMemEval-S, gpt-4o reader" row uses a gpt-4o reader.
  • LongMemEval-M. Judged with the official script's prompts and its gpt-4o-2024-08-06 judge, over all 500 questions. The answer model is Sonnet 5. No product publishes an answer score for M.
  • DMR. Our harness caps the score: the whole chat scores 83.6% here, against 94% to 98% in the Zep paper.
  • DMR, gpt-4o-mini answers. gpt-4o-mini answers, as in Zep's rows, and the prompt now says the answerer is Speaker 1. The harness check failed: the whole chat scores 92.4 here, against 98.0 for the paper's full-conversation row with the same model, so our setup still caps the score. Compare each system with the whole chat in its own setup only: Zep +0.2 points, hippo's reranker setup -6.8 points. Neither paper names its judge.
  • PersonaMem v1. The vendor rows all answer with gpt-4o-mini under MemOS's prompt, one model for every system. Against the authors' own board of full-context models (best 52%), our score compares with a caveat. A rule that picks the longest option scores 48.9%.
  • PersonaMem v2. The paper's row uses the same text split and scorer with another answer model. The MemOS and EverMemOS rows do not say how they ran. A rule that picks the longest option scores 45.0%.
  • PrefEval. The paper's RAG rows keep the whole chat in the prompt; ours shows 5 retrieved turns. The vendor rows use another data split, top 10 and gpt-4o-mini.
  • EverMemBench. Every published row answers with GPT-4.1-mini, one model for every system, and ours answers with Sonnet 5.
  • BEAM-100K. Hindsight uses another answer prompt and Gemini models with a budget it does not state. Honcho scores event ordering another way. cognee ran one conversation. Mem0 publishes no 100K score.
  • BEAM-500K. Hindsight uses another answer prompt and Gemini models with a budget it does not state. Honcho scores event ordering another way. The LIGHT row comes from the paper's scorer.
  • BEAM-1M. Mem0's row uses the same runner code, prompts and scorer. Mem0 answered and judged with gpt-5 and showed 200 memories; we use Sonnet 5, gpt-5.6-sol and 100. The other rows use other scorers or setups.
  • BEAM-10M. Mem0's row uses the same runner code, prompts and scorer. Mem0 answered and judged with gpt-5 and showed 200 memories; we use Sonnet 5, gpt-5.6-sol and 100. The other rows use other scorers or setups.
  • ConvoMem. The sample design is ours, and no published number exists at 50 conversations. The MemPalace row is a 300-item sample with no stated model or judge.
  • HotPotQA-24. F1 over all 24 questions with Cognee's own scorer, from one run with Sonnet 5 answers. Cognee averages 45 runs and names no answer model, and one question moves the score by about 4 points.
  • DolphinBench, shortcut run. Our run wrote each message straight to the store with no agent turn, used a recall hook we wrote, and judged through codex, which the official validator rejects.
  • Terminal-Bench 2.0. The first 10 of 89 tasks, 1 trial each at medium effort; the rule is 5 trials, and the matching Claude Code row used max effort. The 2.0 board is closed, and the open board is 4.1.
Finding the right session

On LongMemEval-S, hippo's benchmark scripts put an answer session in the top five for 98.0% of 500 questions with the free local MiniLM embedder. That is the best of five settings, chosen after the run, on a measure close to its ceiling. Requiring every answer session, the same runs score 86.8 to 88.5%. The hippo recall command on a default install scores 85.6% [82.4, 88.6]. On one store of all 19,195 sessions, recall fell to 47.2% in June 2026.

What the two rerankers bought

--reranker cross-encoder reorders the top 50 memories with a free model on your machine, and is off by default. On DMR it lifted hippo's answers from 73.1 with the embedder alone to 77.6, by 4.4 points [0.6, 8.3]. On PersonaMem v1 and HotPotQA-24 the change was within the noise.

--reranker jev sends the top candidates to the hosted TypeSafe Jev API, and is off by default. On 300 developer queries from a private store, the right memory ranked first for 62% of them, against 41% with the free local cross-encoder. Three graded-answer tests showed no better answer rate. It buys a shorter context for about 0.0004 USD a recall, and it sends your query and candidate text to a third party.

What didn't work
  • Sleep lowered recall by 3.6 points [1.4, 5.8] on one scorer and raised it a little on another, so we claim no benefit for it.
  • Decay made no measurable difference, on a synthetic test that gives a 365-day half-life little time to act.
  • The old 7-day default was a bug that cost recall, so the default moved to 365 days.
  • Seven smaller experiments failed, stalled or were thrown out, among them a correction detector at 0.82 precision against a 0.90 bar.
  • One early headline number did not reproduce, and we retracted it.
Check our work

The score files for five of these public tests and their write-ups are in the repo, under benchmarks/public.

Benchmark results · Eval documents · Report a mistake


Setup in detail

Many repos at once. Read what it changes first. hippo init --scan <folder> looks for git repos in the folder and up to three levels below it, skipping dot-folders and node_modules. Each repo gets a .hippo/ store, seeded with lessons from the last 365 days of its commits and with its agent memories, and is added to the daily run's list. For the agents it finds, it installs the same user-level hooks as hippo init: 9 Claude Code hook entries in ~/.claude/settings.json, the OpenCode plugin, and the Copilot files when the Copilot CLI is installed. It also sets up the daily 6:15am run, a crontab line on Linux and macOS or a scheduled task on Windows. It adds no block to any repo's CLAUDE.md or AGENTS.md. --no-hooks, --no-schedule and --no-learn leave out the hooks, the daily run and the history import.

hippo init --scan ~

After setup, hippo sleep runs when a Claude Code or OpenCode session ends, and in the daily 6:15am job for every project. Codex runs it at session end only if you installed its wrapper. It does five things:

  1. Learns from today's git commits
  2. Imports what your coding agents remember, about this project and about you (Agent memories)
  3. Consolidates memories (decay, merge, prune)
  4. Deduplicates identical memories, keeping the stronger copy
  5. Shares high-value lessons to a global store so they surface in every project
# Manual usage
hippo remember "FRED cache silently dropped the tips_10y series" --tag error
hippo recall "data pipeline issues" --budget 2000

Full release history: CHANGELOG.md · GitHub Releases

What hippo init changes

Run hippo init inside one project. This is everything it writes, in the project and on your machine:

  • The project's store. A .hippo/ folder: SQLite plus markdown mirrors. On the first run in a git repo it learns lessons from the last 30 days of commits.
  • Instruction files. A block between <!-- hippo:start --> and <!-- hippo:end --> in the project's CLAUDE.md or AGENTS.md, only if that file already exists. Codex, Cursor, OpenClaw, OpenCode and Pi read AGENTS.md.
  • Claude Code, when the project has CLAUDE.md or .claude/settings.json: 9 hook entries in ~/.claude/settings.json, one each on SessionEnd, UserPromptSubmit, PreCompact, PostCompact, PostToolUseFailure and PostToolUse and three on SessionStart. Framework Integrations says what each one runs.
  • OpenCode, when the project has .opencode/ or opencode.json: a plugin at ~/.config/opencode/plugins/hippo.ts.
  • Codex, when the project has AGENTS.md or .codex and Codex is installed ($CODEX_HOME, else ~/.codex, exists): 2 hook entries in Codex's hooks.json, one on UserPromptSubmit that sends your pinned memories plus up to 5 that match the prompt with every prompt and one on SessionStart after a compaction. Codex runs them only after you trust them once in /hooks. Init also prints hippo hook install codex, the opt-in that wraps the Codex launcher to capture sessions; hippo hook uninstall codex removes hippo's hooks and the wrapper.
  • GitHub Copilot, when the Copilot CLI is installed, whatever the project holds. Init takes $COPILOT_HOME (else ~/.copilot) holding more than a hooks folder as the sign. It writes the same files as hippo hook install copilot: hippo's hooks/hippo.json, a hippo server in mcp-config.json and a block in copilot-instructions.md. When VS Code has a User folder, it also adds the server to that folder's mcp.json and writes prompts/hippo.instructions.md. With VS Code alone, run hippo setup. integrations/copilot.md lists each file and how to remove them.
  • A daily run at 6:15am, one per machine: a crontab line on Linux and macOS, a scheduled task named hippo-daily-runner on Windows. It runs hippo learn --git --days 1 and then hippo sleep in every project listed in ~/.hippo/workspaces.json, and init adds this project to that list.
  • The local embedder, when hippo is a global npm install and no embedder is installed yet: @huggingface/transformers@4.3.2 in the same global folder, about 480 MB. It goes in before anything else, can take a few minutes, and runs with --ignore-scripts, so no install script in that package tree runs. Its model (Xenova/all-MiniLM-L6-v2, 87 MB) downloads from Hugging Face the first time hippo embeds. Under npx, pnpm, yarn, bun or as a project dependency, init prints the command for that setup instead. npm uninstall -g hippo-memory leaves the embedder in place; npm uninstall -g @huggingface/transformers removes it.
  • Agent memories. On every run, the notes your coding agents keep about this project go into its store, and the ones about you go into the global store. Agent memories lists what is read.
cd my-project
hippo init

# Initialized Hippo at /my-project/.hippo
#    Directories: buffer/ episodic/ semantic/ conflicts/
#    Files: hippo.db stats.json
#    Auto-installed claude-code hook in CLAUDE.md
#    Auto-installed hippo session-end SessionEnd hook in claude-code settings
#    (one line per hook entry)
#    Scheduled machine-level daily runner (6:15am) via crontab

To leave parts out: --no-hooks skips the instruction files and hooks, --no-schedule the daily run, --no-embeddings the embedder install, and --no-learn the git history and agent memory import. HIPPO_SKIP_AUTO_INTEGRATIONS=1 skips the same files and hooks that --no-hooks does, HIPPO_SKIP_SCHEDULE=1 skips the daily run as --no-schedule does, and HIPPO_SKIP_EMBEDDER_INSTALL=1 skips the embedder as --no-embeddings does.

Agent memories

Most coding agents now keep their own notes between sessions. Hippo reads them, whatever the tool, so what one agent learned reaches the others. It reads files only and never writes to another tool's folders.

When: hippo init (every run), init --scan, init --global, hippo setup, every hippo sleep and the daily run. At session end a folder with its own store gets it through sleep; a folder without one sends its project's notes to the global store, marked with the project's name. After a Claude Code compaction, the session's own notes folder is read as well.

What is read, per tool (each tool's own environment variables and settings decide where its home is):

  • Claude Code: the project's auto memory notes under ~/.claude/projects/<project>/memory/ (front matter required, MEMORY.md skipped), and the autoMemoryDirectory folder from your user settings.
  • Codex: the User Profile, preferences and tips in ~/.codex/memories/memory_summary.md.
  • Gemini CLI: the "Gemini Added Memories" section of ~/.gemini/GEMINI.md, and the project's auto memory folder when that feature is on.
  • GitHub Copilot Chat in VS Code: the memory tool's user memories and the repository memories of this project's workspace.
  • OpenClaw: the workspace's MEMORY.md.
  • Qwen Code: the project's auto memory folder and your user memories.

Each imported memory follows its note. It stays while the note exists, is replaced when the note changes, and is set aside as dormant when the note is deleted (hippo dormant lists it and can restore it). A note shorter than 10 characters, one that looks like it holds a secret (an API key, a password, an auth header or a token), and one whose text you rejected with hippo reject are skipped. Email addresses are stored masked, and notes are cut at 1,500 characters.

Not read: Windsurf (the file format is not documented, and Cascade reached end of life on 1 July 2026); Cursor, Copilot CLI and GitHub's Copilot Memory (the memories live on the vendor's servers); Kiro (the local store is not documented); Cline and Roo memory banks (files in the repository, which hippo import --markdown covers); Amp, Aider, Continue, OpenCode and pi (no memory feature found).

hippo import --agents runs the import by hand; in a folder without a store it does what session end does there. With --dry-run it shows each tool's home, the folders found and what would change, and writes nothing. To choose tools, set "agentMemories": { "tools": ["claude-code", "codex"] } in .hippo/config.json ([] turns the import off), or HIPPO_AGENT_MEMORY_TOOLS=claude-code,codex in the environment (none turns it off), which wins over config.


Cross-Tool Import

Hippo imports the notes and rules you already keep in other tools. hippo import --agents reads what your coding agents remember (Agent memories); these commands read files:

# ChatGPT memory export
hippo import --chatgpt memories.json

# Claude's CLAUDE.md (skips existing hippo hook blocks)
hippo import --claude CLAUDE.md

# Cursor rules
hippo import --cursor .cursorrules

# Any markdown file (headings become tags)
hippo import --markdown MEMORY.md

# Any text file
hippo import --file notes.txt

All import commands support --dry-run (preview without writing), --global (write to ~/.hippo/), and --tag (add extra tags). Duplicates are detected and skipped automatically.

Conversation Capture

Store memories from conversation text. Word patterns, not a model, find decisions, rules, errors and preferences.

# Pipe a conversation in
cat session.log | hippo capture --stdin

# Or point at a file
hippo capture --file conversation.md

# Preview first
hippo capture --file conversation.md --dry-run
Rules from follow-up turns (opt-in, uses a model)

Word patterns pin a later turn only when it holds a rule word (never, always, must, make sure) or a preference word that names code or limits a choice. Any other statement that names code or limits a choice, such as "Run the tests with pnpm test:unit, not the bare pnpm test", stays an unpinned note that only a matching prompt or hippo recall brings back. Patterns store nothing from "That file is generated, so changes belong in the template it comes from." With {"capture": {"followUpRules": "model"}} in .hippo/config.json and a model set (ANTHROPIC_API_KEY, or HIPPO_LLM_BASE_URL for your own endpoint), a session capture also asks a model which of your sentences state a lasting rule. Hippo stores those sentences, in your own words, as pinned rules.

  • What it sends: your turns after the first one in the session, the last 20, each cut to 1,000 characters. Pasted blocks, fenced code and log lines are removed first, and secrets, email addresses and home paths are masked. The assistant's replies are never sent.
  • To whom: your own endpoint when HIPPO_LLM_BASE_URL is set, else Anthropic with your ANTHROPIC_API_KEY, in one call per session capture. A failed call logs one line and capture keeps its pattern rules. A session with no project never makes the call.
  • On and off: the default is "off". Set "model" to turn it on; set "off" again, or unset ANTHROPIC_API_KEY and HIPPO_LLM_BASE_URL, to turn it off.
What you type

The session-end hook also saves each message you type of 3 or more words, as you typed it. A fact you tell the agent in chat, such as a name or a date, then comes back in a later session. Hippo never saves the agent's replies.

  • How it is stored: one kind='raw' row per message, with the tag user-message, the owner user:<you> and a session:<id>/<hash> reference. Secrets and email addresses are masked first. A message over 2,000 characters keeps your own words without the pasted code, then is cut.
  • Where: only the project's own store. The global store, hippo capture --stdin and --file never save messages.
  • When it comes back: a prompt that shares words with it, or hippo recall. It never fills the prompt hook's recent list, has no markdown mirror, and is never shared to the global store or merged.
  • On and off: the default is on. Set {"capture": {"userMessages": false}} in .hippo/config.json to turn it off. To remove one message, run hippo forget <id> --archive --reason <why>.
  • A capture after each reply (--turn, as VS Code's agent mode runs) never calls the model, so those runtimes gain little.
Slack ingestion (E1.3)

Hippo accepts Slack Events API webhooks at POST /v1/connectors/slack/events. Configure SLACK_SIGNING_SECRET (validated on every request) and point Slack at https://<your-host>/v1/connectors/slack/events. Messages land as kind='raw' memories with slack://team/channel/ts provenance and a slack:public:Cxxx or slack:private:Cxxx scope. Source deletions are honored (GDPR). To rotate the secret, put the new one in SLACK_SIGNING_SECRET and the old one in SLACK_SIGNING_SECRET_PREVIOUS, and set SLACK_SIGNING_SECRET_PREVIOUS_UNTIL to an ISO date (2026-12-01 means 00:00 UTC that day) or timestamp. From then on requests signed with the old secret are refused, with one warning in the log. Left unset, the old secret works for as long as it stays in the environment.

Backfill an existing channel: SLACK_BOT_TOKEN=xoxb-... hippo slack backfill --channel C0000. Inspect malformed events: hippo slack dlq list.

Multi-workspace deployments populate slack_workspaces (team_id, tenant_id) to route events per tenant; single-workspace falls back to HIPPO_TENANT.

GitHub webhooks land the same way at POST /v1/connectors/github/events. Backfill a repository's issues and comments with hippo github backfill --repo <owner/name>. Every memory carries kind, scope, owner and artifact_ref, and one API call deletes a memory. For GitHub Enterprise Server, set GITHUB_ENTERPRISE_URL=https://<host>, using the host name the server is configured with. Backfill then calls https://<host>/api/v3, and refs, repo: tags, scopes and cursors carry the host, as in github://<host>/<owner/name>/issue/<n>; github.com refs do not change. GHES webhooks keep working unchanged while GITHUB_ENTERPRISE_URL is unset. Once you set it, new rows carry the host in their scope and repo: tag, and older rows keep the bare form. If the store took GHES webhooks before you set it and never took github.com ones, also set GITHUB_ENTERPRISE_BARE_REFS_HOST to the same host, so a deletion archives the older copy and a backfill skips items those webhooks stored; without it hippo never treats a row with no host as a GHES row. hippo github dlq replay checks the server the payload names for every row, whatever its bucket. Grant member keys the host form too, query both scopes, and set the variable before you replay any host_mismatch row. Once the variable is set, every github.com delivery parks as host_mismatch, so a store that takes both github.com and GHES hooks must keep the variable unset or split to two servers.

Active task snapshots

Hippo can save the task in progress, so a later session can pick it up where this one stopped.

hippo snapshot save \
  --task "Ship SQLite backbone" \
  --summary "Tests/build/smoke are green, next slice is active-session recovery" \
  --next-step "Implement active snapshot retrieval in context output"

hippo snapshot show
hippo context --auto --budget 1500
hippo snapshot clear

hippo context --auto prints the active task snapshot before long-term memories when the calling session saved it, so agents get both the immediate thread and the deeper lessons. A snapshot from another session prints as one line that names the command that shows it.

Session event trails

Hippo can store short session events and link them to the active snapshot, so context output shows the latest steps as well as the last summary. The trail prints for the calling session's own snapshot; for another session's, the command in the pointer line prints it.

hippo session log \
  --id sess_20260326 \
  --task "Ship continuity" \
  --type progress \
  --content "Schema migration is done, next step is CLI wiring"

hippo snapshot save \
  --task "Ship continuity" \
  --summary "Structured session events are flowing" \
  --next-step "Surface them in framework hooks" \
  --session sess_20260326

hippo session show --id sess_20260326
hippo context --auto --budget 1500

Hippo mirrors the latest trail to .hippo/buffer/recent-session.md so you can inspect the short-term thread without opening SQLite.

Session handoffs

When you're done for the day (or switching to another agent), create a handoff so the next session knows exactly where to pick up:

hippo handoff create \
  --summary "Finished schema migration, tests green" \
  --next "Wire handoff injection into context output" \
  --session sess_20260403 \
  --artifact src/db/index.ts

hippo handoff latest              # show the most recent handoff
hippo handoff show 3              # show a specific handoff by ID
hippo session resume              # re-inject latest handoff as context

The per-prompt hook (Claude Code and Codex) prints only your own session's handoff. It no longer prints another session's handoff, not even as a pointer. To pick up another session's work, run hippo context --auto.

Working memory

Working memory is a bounded scratchpad for current-state notes. It's separate from long-term memory. Entries stay until you run hippo wm flush.

hippo wm push --scope repo \
  --content "Investigating flaky test in store.test.ts, line 42" \
  --importance 0.9

hippo wm read --scope repo        # show current working notes
hippo wm clear --scope repo       # wipe the scratchpad
hippo wm flush --scope repo       # same as clear; nothing runs it at session end

The buffer holds a maximum of 20 entries per scope. When full, the lowest-importance entry is evicted.

Explainable recall

--why shows, for each memory recall returns, the words of your query it matched, the embedding similarity when an embedder is on, and where the memory came from:

hippo recall "data pipeline" --why --limit 5

hippo explain "<query>" prints the full score breakdown for each result.


How It Works

Every memory has a strength. It fades on a half-life, grows each time the memory is recalled, and drops when you mark it wrong. The hippocampus inspired the design, and we tested each part on its own. On synthetic tests, outcome marks and recall strengthening helped and decay made no measurable difference. Sleep lowered recall on one scorer, and the rest is unmeasured. The design notes are in PLAN.md and RESEARCH.md.

  • Buffer. New information lands here for the session.
  • Episodic. Timestamped memories that fade unless they are used.
  • Semantic. Patterns merged from related episodes during sleep, by word overlap.

The store is SQLite (.hippo/hippo.db). The markdown files are mirrors written after each change. index.json is no longer refreshed by writes, deletes or recalls, so a copy an older version left on disk goes stale. Read the store through the CLI, the MCP server or the HTTP API.

flowchart TD
    I[New information] --> B[Buffer<br/>session-only, no decay]
    B -->|encode: tags, strength, half-life| E[Episodic Store<br/>timestamped, decay by default<br/>retrieval strengthens, errors stick]
    E -->|hippo sleep<br/>replay + merge| S[Semantic Store<br/>merged memories, stable<br/>schema-aware]
    E -.->|decay| X[forgotten]
    S -.->|recall| E
    classDef bio fill:#fff4dc,stroke:#a8742d,color:#2b1b00
    classDef forgotten fill:#f5f5f5,stroke:#999,color:#666,stroke-dasharray:5 5
    class B,E,S bio
    class X forgotten
Loading

Key Features

A memory's life across a typical session, before walking each feature in turn:

sequenceDiagram
    autonumber
    actor Agent
    participant B as Buffer
    participant E as Episodic
    participant S as Semantic
    Agent->>B: hippo remember "cache dropped tips_10y" --error
    B->>E: encode (half_life=730d, valence=neg)
    Note over E: strength=1.0
    Agent->>E: hippo recall "data pipeline"
    E-->>Agent: returns memory (rank 1)
    Note over E: half_life 730d → 732d, retrieval_count++
    Agent->>E: hippo outcome --good
    Note over E: reward_factor 1.0 → 1.25
    Agent->>S: hippo sleep
    S->>E: merge 3 related episodic → 1 semantic
    Note over E,S: original episodic decays, pattern survives
Loading
Decay by default

Facts

Kind
MCP server
Repo
kitfunso/hippo-memory
Group
Uncategorized
Stars
793
License
MIT
Language
TypeScript
Last push
2026-11-22
Forks
46
MCP Registry
io.github.kitfunso/hippo-memory
Homepage
hippo-memory.com
Topics
agent-memory, ai-agents, claude-code, llm, long-term-memory, mcp, memory, model-context-protocol, ai-memory, claude-code-plugin, codex, coding-agent, cursor, llm-memory, local-first, mcp-server, openclaw, opencode, persistent-memory, gemini-cli-extension

Also in Best MCP servers for memory

  1. 13Codebase Memorydeusdata/codebase-memory-mcpHigh-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.49.1k
  2. 72Honchoio.github.plastic-labs/honchoMemory that reasons: continual learning for stateful agents. Better context, fewer tokens.8.1k
  3. 123Basic Memorybasicmachines-co/basic-memoryAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN4.7k

Also new this week

  1. 73rust-anythingio.github.erkamyaman/rust-anythingRewrite an app in Rust one piece at a time, checked against the original's recorded behavior.8.1k
  2. 144obsidian-wikiio.github.Ar9av/obsidian-wikiMemory for agents in a markdown vault you own: search, read, write, recap, context packs.3.8k
  3. 150Z-Libraryio.github.heartleo/zlibSearch and download Z-Library books, fix e-book metadata, and send books to Kindle or WeRead.3.5k