# Repository Briefing: kitfunso/hippo-memory
> Source: https://repoforai.com/repo/kitfunso/hippo-memory (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/kitfunso/hippo-memory
- **Official Docs / Website**: https://hippo-memory.com
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.22.0 (2026-11-30) — https://github.com/kitfunso/hippo-memory/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI, Local AI, Self-Hosted
- **Momentum**: 801 ★ total (+0 24h / +6 7d) · 49 forks
- **Topics**: `agent-memory`, `ai-agents`, `ai-memory`, `claude-code`, `claude-code-plugin`, `codex`, `coding-agent`, `cursor`, `gemini-cli-extension`, `llm`, `llm-memory`, `local-first`
- **When to Use**: Best for: Developers and teams switching between coding agents who want repository-specific rules, mistakes, and lessons in a local or self-hosted store they can review. Skip if: You primarily need application end-user memory, a managed temporal knowledge graph, or Markdown that acts as an editable source of truth.

## Overview
```text
### Architecture & Core Mechanics
Hippo is a TypeScript, repository-scoped memory layer for coding agents, not a general-purpose RAG backend. The `hippo` CLI runs on Node.js 22.16 or newer with no runtime package dependencies in the core. The project-local `.hippo/` store uses SQLite and generates one Markdown mirror per memory for inspection and review; those files are not a write-back interface.

Client adapters are distinct from the store. Claude Code uses `CLAUDE.md` and hooks, Codex uses `AGENTS.md` and hooks that require approval, and Cursor can use a plugin with a rule and MCP. Where session-end hooks are active, they detect rules and errors by word patterns. Pinned rules load at session start; the per-prompt flow adds up to five memories based on word matches. Generic clients can call the 13 tools exposed by `hippo mcp`.

### Key Capabilities & Differentiators
Hippo supports BM25 and hybrid retrieval with optional embeddings. Keyword-only recall needs no model or network call, and `hippo recall --why` explains why an item matched. Recall strengthens entries, negative feedback weakens them, pinned items do not decay, and superseded items remain on record without appearing in recall. Existing notes can be imported from sources including ChatGPT, `CLAUDE.md`, `.cursorrules`, Slack, and Markdown.

The default write path makes no LLM calls; that is separate from the choice of embedding provider and from optional extraction in `hippo sleep`. In a maintainer-run Claude Code evaluation across 29 repositories, repeat mistakes were 26 per 100 opportunities with built-in memory and 12 with built-in memory plus Hippo. That result is more directly relevant to a coding-agent pilot than chat-memory scores, but it does not establish the same effect on other agents or workloads.

### Trade-offs & Limitations
Hippo is a good fit when a repository is the unit of memory and corrections should follow developers across coding agents. Mem0 is a better candidate for application end-user memory, Zep for a managed temporal knowledge graph, and Letta Code for agents that edit their own memory. Hippo's pattern-based capture avoids an LLM call on the default write path, but implicit corrections can escape those patterns. Test capture and recall in each intended client; shared storage does not mean identical hook behavior.

The Markdown mirror makes memories easy to diff and review, but editing it does not update SQLite, and committing it can expose captured text to everyone with repository access. The core is MIT-licensed; SSO, SCIM, SIEM export, and the admin view belong to the commercial team offering. Treat the benchmark results as workload-specific: for example, Hippo scored 74.72 against Mem0's 77.68 in the shared OmniMemEval LoCoMo setup, so the evidence does not support a blanket retrieval advantage.

### Hardware & Deployment Guide
With Node.js 22.16 or newer, run `npm install -g hippo-memory`, then `hippo init` in the project and `hippo doctor` to check the setup. Package installation alone does not capture anything. Initialization creates the project store and can modify agent instructions, install hooks, schedule daily Git learning at 6:15 a.m., and install the local embedder. Use `--no-hooks`, `--no-schedule`, and `--no-embeddings` to opt out of those steps. The local `@huggingface/transformers@4.3.2` install is about 480 MB; keyword-only operation avoids it.

For shared deployment, the self-hosted team server exposes the store over MCP with API keys, roles, and an audit log. API embeddings are opt-in. To keep memory text local, also check `hippo sleep`: extraction can send text to Anthropic when `ANTHROPIC_API_KEY` is set, or to a configured OpenAI-compatible endpoint instead. Recent releases expanded integration coverage: v3.20.0 added Agent Plugins 1.0 compatibility for VS Code and Copilot CLI alongside Claude Code; v3.21.0 added GitHub App authentication for backfill; v3.22.0 added default-branch push capture for reverts, reapplies, and CODEOWNERS changes.
```

## Key Capabilities
```text
- Persistence: Project-local SQLite with tool-generated Markdown mirrors for Git review.
- Retrieval: BM25 and optional embeddings; keyword-only recall needs no model or network call, and `--why` explains the match.
- Memory lifecycle: Recall strengthens entries, `hippo outcome --bad` weakens them, and `hippo supersede` removes them from recall without erasing history.
- Client integration: An npm-installed `hippo` CLI, client-specific plugins and hooks, and 13 tools exposed by `hippo mcp`.
- Embedding options: Local Transformers.js or opt-in API embeddings from OpenAI, Voyage, or Cohere.
- GitHub intake: v3.21.0 adds GitHub App authentication for backfill; v3.22.0 captures revert, reapply, and CODEOWNERS events from default-branch pushes.
```

## Quick Start / Clone
```bash
npm install -g hippo-memory

# then, in your project
hippo init
```
