能力标签
⚙️
Agent工作流

海马记忆系统

基于 TypeScript · 无代码搭建完整 AI 自动化流程
英文名:hippo-memory
⭐ 675 Stars 🍴 34 Forks 💻 TypeScript 📄 MIT 🏷 AI 8.2分
8.2AI 综合评分
AI记忆生物启发TypeScript工作流智能体
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,海马记忆系统 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。

📚 深度解析
海马记忆系统 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

海马记忆系统 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.2 分,是同类 Agent 工作流中的精选推荐。
📋 工具概览

为AI智能体设计的生物启发型记忆框架。模拟人脑记忆衰减机制,支持动态检索强化和上下文管理。适合需要长期记忆和智能遗忘机制的AI应用开发者和工作流设计者。

海马记忆系统 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 675
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
正常维护,社区驱动
开源协议
MIT
AI 综合评分
8.2 分
工具类型
Agent工作流
Forks
34
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

为AI智能体设计的生物启发型记忆框架。模拟人脑记忆衰减机制,支持动态检索强化和上下文管理。适合需要长期记忆和智能遗忘机制的AI应用开发者和工作流设计者。

海马记忆系统 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:npm 全局安装
npm install -g hippo-memory

# 方式二:npx 直接运行(无需安装)
npx hippo-memory --help

# 方式三:项目依赖安装
npm install hippo-memory

# 方式四:从源码运行
git clone https://github.com/kitfunso/hippo-memory
cd hippo-memory
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
hippo-memory --help

# 基本用法
hippo-memory [options] <input>

# Node.js 代码中使用
const hippo_memory = require('hippo-memory');

const result = await hippo_memory.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# hippo-memory 配置说明
# 查看配置选项
hippo-memory --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export HIPPO_MEMORY_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 81/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

🦛 Hippo

The secret to good memory isn't remembering more. It's knowing what to forget.

npm license

<p align="center"> <img src="./assets/hippo-init.svg" alt="hippo init --scan ~ — initializing memory across all repos" width="720"> </p>

A memory layer for AI agents. Modeled on the hippocampus. Decay by default, strength through use, provenance on every memory. SQLite under the hood, zero runtime deps, works with every CLI agent you have.

npm install -g hippo-memory && hippo init --scan ~

One command. Every git repo on your machine gets memory.

Works with:    Claude Code, Codex, Cursor, OpenClaw, OpenCode, Pi, any MCP client
Imports from:  ChatGPT, Claude (CLAUDE.md), Cursor (.cursorrules), Slack, markdown
Storage:       SQLite backbone with markdown mirrors. Git-trackable, human-readable.
Dependencies:  Zero runtime deps. Node.js 22.5+. Optional embeddings via @xenova/transformers.

---

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=14d, 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 14d → 16d, retrieval_count++ Agent->>E: hippo outcome --good Note over E: reward_factor 1.0 → 1.15 Agent->>S: hippo sleep S->>E: merge 3 related episodic → 1 semantic Note over E,S: original episodic decays, pattern survives

Auto-installed claude-code hook in CLAUDE.md

```

If you have a CLAUDE.md, it patches it. AGENTS.md for Codex/OpenClaw/OpenCode. .cursorrules for Cursor. For Codex, Hippo also wraps the detected launcher in place so /exit can consolidate memory without a manual PATH step. No manual hook install needed. Your agent starts using Hippo on its next session.

It also registers the current project in Hippo's workspace registry and installs one machine-level daily runner (6:15am). That runner sweeps every registered workspace, runs hippo learn --git --days 1, then hippo sleep. You get strict daily consolidation without creating one OS task per project.

To skip: hippo init --no-hooks --no-schedule

---

Output: "Previously observed (2026-03-10): deploy takes ~3 min"

hippo context --framing suggest

Output: "Consider: deploy takes ~3 min"

hippo context --framing assert

Output: "Deploy takes ~3 min"

```

Three modes: observe (default), suggest, assert. Choose based on how directive you want the memory to be.

---

next time an agent asks about build issues, the memory is there

```

---

Manual install

If you prefer explicit control:

hippo hook install claude-code   # patches CLAUDE.md + adds SessionStart/SessionEnd + UserPromptSubmit hooks
hippo hook install codex         # optional repair/manual run: patches AGENTS.md + wraps the detected Codex launcher
hippo hook install cursor        # patches .cursorrules
hippo hook install openclaw      # patches AGENTS.md
hippo hook install opencode      # patches AGENTS.md + installs the opencode TS plugin

This adds a ` ... ` block that tells the agent to: 1. Run hippo context --auto --budget 1500 at session start 2. Run hippo remember "<lesson>" --error on errors 3. Run hippo outcome --good on completion

For Claude Code, it also adds: - a SessionEnd hook so hippo sleep runs automatically when the session exits - a SessionStart hook that prints the previous session's consolidation output - a UserPromptSubmit hook that runs hippo context --pinned-only --include-recent 5 --format additional-context every turn. It re-injects pinned memories (hippo remember <text> --pin) plus the last 5 writes, so fresh same-session lessons appear on the next prompt before you pin them. Opt out with {"pinnedInject":{"enabled":false}} in .hippo/config.json.

To remove: hippo hook uninstall claude-code

Quick start

```bash npm install -g hippo-memory

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 the hook adds (Claude Code example)

```markdown

Zero-config agent integration

hippo init auto-detects your agent framework and wires itself in:

```bash cd my-project hippo init

Invalidated 5 memories referencing "REST API".

```

---

CLI Reference

CommandWhat it does
hippo initCreate .hippo/ + auto-install agent hooks
hippo init --globalCreate global store at ~/.hippo/
hippo init --no-hooksCreate .hippo/ without auto-installing hooks
hippo remember "<text>"Store a memory
hippo remember "<text>" --tag <t>Store with tag (repeatable)
hippo remember "<text>" --errorStore as error (2x half-life)
hippo remember "<text>" --pinStore with no decay
hippo remember "<text>" --verifiedSet confidence: verified (default)
hippo remember "<text>" --observedSet confidence: observed
hippo remember "<text>" --inferredSet confidence: inferred
hippo remember "<text>" --globalStore in global ~/.hippo/ store
hippo recall "<query>"Retrieve relevant memories (local + global)
hippo recall "<query>" --budget <n>Recall within token limit (default: 4000)
hippo recall "<query>" --limit <n>Cap result count
hippo recall "<query>" --whyShow match reasons and source buckets
hippo recall "<query>" --jsonOutput as JSON
hippo context --autoSmart context injection (auto-detects task from git)
hippo context "<query>" --budget <n>Context injection with explicit query (default: 1500)
hippo context --limit <n>Cap memory count in context
hippo context --budget 0Skip entirely (zero token cost)
hippo context --framing <mode>Framing: observe (default), suggest, assert
hippo context --format <fmt>Output format: markdown (default) or json
hippo import --chatgpt <path>Import from ChatGPT memory export (JSON or txt)
hippo import --claude <path>Import from CLAUDE.md or Claude memory.json
hippo import --cursor <path>Import from .cursorrules or .cursor/rules
hippo import --markdown <path>Import from structured markdown (headings -> tags)
hippo import --file <path>Import from any text file
hippo import --dry-runPreview import without writing
hippo import --globalWrite imported memories to ~/.hippo/
hippo capture --stdinExtract memories from piped conversation text
hippo capture --file <path>Extract memories from a file
hippo capture --dry-runPreview extraction without writing
hippo sleepRun consolidation (decay + merge + compress)
hippo sleep --dry-runPreview consolidation without writing
hippo statusMemory health: counts, strengths, last sleep
hippo outcome --goodStrengthen last recalled memories
hippo outcome --badWeaken last recalled memories
hippo outcome --id <id> --goodTarget a specific memory
hippo inspect <id>Full detail on one memory
hippo forget <id>Force remove a memory
hippo embedEmbed all memories for semantic search
hippo embed --statusShow embedding coverage
hippo watch "<command>"Run command, auto-learn from failures
hippo learn --gitScan recent git commits for lessons
hippo learn --git --days <n>Scan N days back (default: 7)
hippo learn --git --repos <paths>Scan multiple repos (comma-separated)
hippo daily-runnerSweep registered workspaces and run daily learn+sleep
hippo conflictsList detected open memory conflicts
hippo conflicts --jsonOutput conflicts as JSON
hippo resolve <id>Show both conflicting memories for comparison
hippo resolve <id> --keep <mem_id>Resolve: keep winner, weaken loser
hippo resolve <id> --keep <mem_id> --forgetResolve: keep winner, delete loser
hippo promote <id>Copy a local memory to the global store
hippo share <id>Share with attribution + transfer scoring
hippo share <id> --forceShare even if transfer score is low
hippo share --autoAuto-share all high-scoring memories
hippo share --auto --dry-runPreview what would be shared
hippo peersList projects contributing to global store
hippo syncPull global memories into local project
hippo invalidate "<pattern>"Actively weaken memories matching an old pattern
hippo invalidate "<pattern>" --reason "<why>"Include what replaced it
hippo decide "<decision>"Record architectural decision (90-day half-life)
hippo decide "<decision>" --context "<why>"Include reasoning
hippo decide "<decision>" --supersedes <id>Supersede a previous decision
hippo hook listShow available framework hooks
hippo hook install <target>Install hook (claude-code also adds Stop hook for auto-sleep)
hippo hook uninstall <target>Remove hook
hippo handoff create --summary "..."Create a session handoff
hippo handoff latestShow the most recent handoff
hippo handoff show <id>Show a specific handoff by ID
hippo session latestShow latest task snapshot + events
hippo session resumeRe-inject latest handoff as context
hippo current showCompact current state (task + session events)
hippo wm push --scope <s> --content "..."Push to working memory
hippo wm read --scope <s>Read working memory entries
hippo wm clear --scope <s>Clear working memory
hippo wm flush --scope <s>Flush working memory (session end)
hippo dashboardOpen web dashboard at localhost:3333
hippo dashboard --port <n>Use custom port
hippo mcpStart MCP server (stdio transport)

---

BM25: matched [data, pipeline]; cosine: 0.82

Framework Integrations

OpenClaw Plugin

Native plugin with auto-context injection, workspace-aware memory lookup, and tool hooks for auto-learn / auto-sleep. When autoSleep is enabled, the OpenClaw plugin now launches hippo sleep in a detached background worker at session end so the live session can exit immediately.

Query-time retrieval still uses the active workspace store plus the shared global store. Daily consolidation comes from the machine-level runner that hippo init / hippo setup installs.

openclaw plugins install hippo-memory
openclaw plugins enable hippo-memory

Plugin docs: extensions/openclaw-plugin/. Integration guide: integrations/openclaw.md.

Claude Code Plugin

Plugin with SessionStart/Stop hooks and error auto-capture. See extensions/claude-code-plugin/.

Full integration details: integrations/

---

Comparison

The AI-memory category matured fast in 2026. Hippo's specific take — bio-decay, strengthen-on-use, outcome-weighted half-lives — is one stance among several. The table below is a feature snapshot, not a verdict: graph-first systems (gbrain, Zep, Cognee), agent-managed systems (Letta), and version-control / skill-distillation takes (Memoria, EverMind) all solve adjacent problems with different mechanics.

FeatureHippo[MemPalace](https://github.com/milla-jovovich/mempalace)[Mem0](https://github.com/mem0ai/mem0)[Basic Memory](https://github.com/basicmachines-co/basic-memory)[gbrain](https://hermesatlas.com/projects/garrytan/gbrain)[Zep](https://www.getzep.com/)[Letta](https://github.com/letta-ai/letta)[Cognee](https://www.cognee.ai/)[Memoria](https://github.com/matrixorigin/Memoria)[EverMind](https://evermind.ai/)
Decay by defaultYesNoNoNoNoNoNoNoNoNo
Retrieval strengtheningYesNoNoNoNoNoNoPartial (recall tuning)NoPartial (Skill Memory distills patterns)
Reward-proportional decayYesNoNoNoNoNoNoNoNoNo
Hybrid search (BM25 + embeddings)YesEmbeddings + spatialEmbeddings onlyNoYes (vec + rerank + graph)Yes (graph + vec)?Yes (GraphRAG)Yes (vector + full-text)Yes (mRAG, multi-modal)
Schema acceleration / knowledge graphYes (schema)NoNoNoYes (typed KG, self-wiring)Yes (temporal KG)NoYes (auto-ontologies)No (typed claims)Yes (hierarchical: user/group/agent)
Conflict detection + resolutionYesNoNoNoYes (eval-surfaced)Yes (auto-invalidate stale facts)NoNoYes (auto-detect + quarantine)Partial (temporal tracking)
Multi-agent shared memoryYesNoNoNoYes (brain repo, team mounts)YesNo (single-agent state)YesYes (branch/merge across sessions)Yes (multi-agent coordination)
Transfer scoringYesNoNoNoNoNoNoNoNoNo
Outcome trackingYesNoNoNoNoNoNoNoNoPartial (Cases: agent trajectories)
Confidence tiersYesNoNoNoNo (typed facts)NoNoNoNoNo
Spatial organizationNoYes (wings/halls/rooms)NoNoNoNoNoNoNoNo
Lossless compressionNoYes (AAAK, 30x)NoNoNoNoNoNoNoNo
Cross-tool import (ChatGPT/Claude/Cursor)YesNoNoNoPartial (data sources)?NoPartial (28 data sources)No (Git ops)Partial (mRAG: PDFs/images/URLs)
Auto-hook installYesNoNoNoNoNoNoNoNoNo
MCP serverYesYesNoNoYes (stdio + HTTP/OAuth)Partial (managed)Yes (via Letta Code)Yes (first-party Claude/LangGraph)Yes?
Zero runtime depsYesNo (ChromaDB)NoNoNo (PGLite or PG+pgvector)No (managed service)No (Python deps)No (Python deps)Yes (single Rust binary)No (managed + OSS)
LongMemEval (best published)86.8% R@5 (F13+F9, oracle\*)96.6% raw / 100% reranked R@5~49-85% R@5N/A97.6-97.9% R@5 (s_cleaned\*)N/A (LoCoMo 80.3%)N/AN/A88.78% overall accuracy w/ reader\*\*83.00% overall\*\* (LoCoMo 93.05%, HaluMem 93.04%)
Git-friendlyYesNoNoYesYesNoNoNoYes (Git is the model)?
Framework agnosticYesYesPartialYesYesYesYesYesYesYes
LicenseMIT(open)Apache-2.0(open)MITApache-2.0 (community)Apache-2.0MIT (core)Apache-2.0Apache-2.0 (OSS) + cloud

\* Split-mismatched: Hippo's 86.8% is on longmemeval_oracle (3 sessions per haystack); gbrain's 97.6% is on longmemeval_s_cleaned (~40 sessions per haystack). Different splits, different difficulty. Not directly comparable.

\\ Different metric: Memoria's 88.78% and EverMind's 83% are reported as overall accuracy with a reader LLM, not retrieval R@5. Higher denominator + LLM helps. Not directly comparable to retrieval-only R@5 numbers above.

Different tools answer different questions. Mem0 and Basic Memory implement "save everything, search later." MemPalace implements "store everything, organize spatially for retrieval." gbrain, Zep, and Cognee implement "extract typed entities and relationships into a knowledge graph." Letta implements "the agent edits its own memory blocks." Memoria implements "Git-style version control over the memory state itself." EverMind implements "self-evolving Skill Memory + multi-modal retrieval over hierarchical scopes." Hippo implements "forget by default, earn persistence through use." These are complementary takes, not a single-axis ranking: bio-lifecycle (Hippo) + GraphRAG (gbrain/Cognee/Zep) + agent-self-edit (Letta) + memory-VCS (Memoria) + skill-distillation (EverMind) cover different parts of the same problem.

---

🎯 aiskill88 AI 点评 A 级 2026-05-24

创新性强的生物学启发式记忆框架,填补AI智能体长期记忆的空白。设计思路新颖,675星体现认可度,TypeScript实现便于集成。

⚡ 核心功能
👥 适合人群
自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队
🎯 使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
⚖️ 优点与不足
✅ 优点
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
采用生物学启发的时间衰减曲线,老旧记忆自动降低权重,检索时可强化重要记忆。
💡 AI Skill Hub 点评

AI Skill Hub 点评:海马记忆系统 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 海马记忆系统
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 hippo-memory
Topics AI记忆生物启发TypeScript工作流智能体
GitHub https://github.com/kitfunso/hippo-memory
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/kitfunso/hippo-memory

收录时间:2026-05-24 · 更新时间:2026-05-24 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。