Overview
Hippo Memory is a local-first, MIT-licensed memory layer for AI coding agents written in TypeScript with zero runtime dependencies. It stores project and global memories in a local SQLite database alongside human-readable, git-trackable markdown mirrors so knowledge travels across Claude Code, Codex, Cursor, OpenClaw, OpenCode, Pi, and any MCP or HTTP client.
Key Features
- Local SQLite and Markdown Mirrors: Keeps memories in a local
.hippo/SQLite store with readable markdown mirrors that can be inspected or committed to version control; captured user messages are stored without a markdown mirror. - Zero LLM Calls on Save and Default Recall: Runs BM25 search out of the box with no model or network call required;
hippo initinstalls a local Transformers.js embedder when hippo is a global npm install (--no-embeddingsskips it), and an API embedder (OpenAI, Voyage, or Cohere) is opt-in. - Outcome-Weighted Recall: Strengthens memories that get used, lowers the rank of bad recalls, retires outdated facts via
hippo supersede, and gives error-tagged memories double half-life. - Cross-Tool Portability and Import: Shares one store across coding agents via native hooks, instruction blocks, CLI, MCP server, and HTTP API, with
hippo importcommands for ChatGPT exports,CLAUDE.md,.cursorrules, and markdown notes; Slack and GitHub content comes in through webhook connectors andbackfillcommands. - Automated Consolidation: Runs
hippo sleepto extract lessons from recent git commits, import agent notes, deduplicate entries, and promote high-value lessons to a global store;hippo sleepsends text to Anthropic whenANTHROPIC_API_KEYis set (extraction.enabled: falseturns this off), or to an OpenAI-compatible endpoint instead whenHIPPO_LLM_BASE_URLandHIPPO_LLM_MODELare set.
Use Cases
- Persisting project conventions, architectural decisions, and past bug fixes across coding-agent sessions without re-teaching the agent.
- Switching between Claude Code, Codex, Cursor, and MCP-compatible tools while sharing one local project memory store.
- Keeping engineering knowledge in SQLite and markdown on the local machine; text leaves it only through an API embedder, a reranker, model-read rule capture (
capture.followUpRules),hippo refine, orhippo sleepwithANTHROPIC_API_KEYor a custom model endpoint (HIPPO_LLM_BASE_URLandHIPPO_LLM_MODEL) set, and memories ingested from Slack and GitHub carry a source reference (slack://provenance,artifact_ref).
