KH

kitfunso/hippo-memory

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

786 stars 47 forks 品質 93 トレンド 42MIT

AIエージェント向けの生物学的動機によるメモリ。崩壊、検索強化、統合。ランタイムデップスゼロ、SQLite、MCP。TypeSafeのJevリランクャによるベンチマーク検索。

概要

AIエージェントのためのメモリ層。海馬をモデルにしています。デフォルトで衰減、使用による強さ、すべてのメモリにプロオナンス。SQLiteは構造的で、ランタイムデップはゼロ、持っているすべてのCLIエージェントで動作します。 コマンドは一つだけです。マシン上のすべてのgitリポジトリにメモリが割り当てられます。 ほとんどの「AIメモリ」システムはすべてを保存して後で検索します。それは意味検索を付け加えたストレージです。だからあなたのエージェントは先週同じデプロイバグに何度も遭遇しました。その前の週も同じです。システムは4回も失敗を認識しました。覚えているはずがないのです。 ヒッポは、脳が5億年も正しくできてきたことを応用します。記憶は時間とともに衰えていきます。回収によって記憶が強くなります。三つの生物学的層(バッファー、エピソード、意味)が睡眠中に統合されます。厳しい教訓は使ったからこそ残ります。トリビアは使わなかったから薄れます。 また、携帯性の問題も解決します。あなたのChatGPTの記憶はClaudeに渡りません。あなたの.cursorrulesはCodexに行きません。Hippoはすべてのエージェントの背後にあるプロセスです。

概要(AI 翻訳)

エージェントに再教育するのはやめろ。

エージェントの記憶を脳のように機能させましょう。Hippoはコーディングエージェントの長期記憶です。これはAIハーネスの重要なレイヤーで、異なるツール(カーソル、Claudeコード、Codex)をまたいで接続します。独自データを完全にローカルに保ち、時間をかけて学習していきます。Hippoは記憶を呼び起こすたびに強化することで、効果的なものを保存し、ミスを減らし、エージェントの知能を継続的に強化します。

Hippoは、コーディングエージェントのメモリをマシン上のSQLiteストアに保持し、マークダウンミラーで読み取り・コミットできます。検索は標準BM25で、モデルもネットワークコールもありません。埋め込みはオプションのインストールです。hippo initはClaude CodeとOpenCodeのフックをインストールし、CodexをインストールするとCodexのhooks.jsonに2つのフックを追加します(Codexは/hooks]で信頼して実行します)、既存の[AGENTS.mdにCodex、Cursor、OpenClaw、Pi用の命令を追加します。どのMCPクライアントでも接続可能です。メモリを間違えるとランクが下がります。hippo supersedeを実行すると古い事実はリコールのままです。ランタイムデップはゼロです。

インストールしてから、1つのプロジェクト内でhippo initを実行します。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

🦛 Hippo

Stop re-teaching your agent.

Make your agent’s memory work like a brain. Hippo is long-term memory for coding agents. It’s a critical layer for your AI harness that connects across your different tools (Cursor, Claude Code, Codex). It keeps your proprietary data completely local, and it actually learns over time. By strengthening memories each time they are recalled, Hippo preserves what works, lets mistakes decay, and continuously compounds your agents’ intelligence.

Hippo keeps your coding agents’ memories in a SQLite store on your machine, with markdown mirrors you can read and commit. Search is BM25 out of the box, with no model and no network call; embeddings are an optional install. hippo init installs hooks for Claude Code and OpenCode, adds 2 hooks to Codex’s hooks.json when Codex is installed (Codex runs them once you trust them in /hooks), and adds instructions to an existing AGENTS.md for Codex, Cursor, OpenClaw and Pi. Any MCP client can connect. Mark a memory wrong and it ranks lower; run hippo supersede and the old fact leaves recall. Zero runtime deps.

Install it, then run hippo init inside one project. Init creates the project’s .hippo/ store and adds a block to the CLAUDE.md or AGENTS.md already there. On your machine it adds hooks for the agents it finds, such as Claude Code’s in ~/.claude/settings.json, and a daily 6:15am run. What hippo init changes lists all of it and the flags that skip each part.

npm install -g hippo-memory && hippo init

Setting up every git repo under a folder in one go is a second step. The Quick start says what it changes, then gives the command.

Package installation alone does not enable automatic preservation on every agent. Complete the documented setup and required host trust; capture and compaction coverage depend on the integration.

Having an AI agent install it? Point it at llms-install.md: it installs, wires hippo into the agents it finds, and verifies with hippo doctor.

Works with:    Claude Code, Codex, Cursor, OpenClaw, OpenCode, Pi, any MCP client
GitHub で README 全文を見る

インストール

npx -y hippo-memory mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "hippo-memory": { "command": "hippo", "args": ["mcp"] } } }