Show HN: Hippo, biologically inspired memory for AI agents
TL;DR Highlight
Hippo is an open-source memory layer that allows you to share memories across sessions between various AI agent tools such as Claude Code, Cursor, and Codex. It implements the brain's mechanisms of memory decay, retrieval strengthening, and consolidation in code.
Who Should Read
Developers who are frustrated by constantly having to re-explain context when switching between AI coding agents like Claude Code, Cursor, and Codex. Or teams who want to solve the problem of AI agents repeating the same mistakes.
Core Mechanics
- AI agents forget everything when a session ends, and existing solutions are simply 'file cabinets' that store everything and search it later. Hippo started from the idea of making it work like a brain.
- The key features are three: decay (forgetting over time), retrieval strengthening (making frequently used memories clearer), and consolidation (solidifying important memories into long-term memory).
- It can be used with various CLI agents such as Claude Code, Cursor, Codex, and OpenClaw, and also has an import function to load memories from ChatGPT's CLAUDE.md or Cursor's .cursorrules file.
- It uses SQLite as a backbone for storage and also mirrors it in human-readable Markdown/YAML files. It can be tracked with Git and exported simply by copying the folder without vendor lock-in.
- It has zero runtime dependencies and only requires Node.js 22.5 or higher. You can optionally attach @xenova/transformers if you want to use embedding-based similarity search.
- Installation is done with `npm install -g hippo-memory` followed by `hippo init` for initialization. Memories are stored using the `hippo remember '...'` command.
- Memories are tagged and have a confidence level, which structurally solves the problem of rule files becoming messy like a 400-line CLAUDE.md. Old information is automatically decayed.
- The author directly responded that v0.10.0 incorporates a lot of community feedback.
Evidence
- There was skepticism about whether decay-based forgetting is actually effective. One comment pointed out that 'exponential decay cannot capture sharp changes like PR merges. Biological learning makes sense when observing similar patterns repeatedly, but I don't know if that's a good analogy for learning code base commits.'
- There was also a sharp observation that 'knowing what to forget' is an AGI-complete problem. Judging what will be important in the future requires a model of future models and your current state, but current agents cannot even properly model their own capabilities.
- There was also an introduction to a project that approached the same problem from the opposite direction. ccrider (github.com/neilberkman/ccrider) indexes Claude Code and Codex session transcripts with SQLite FTS5 instead of having a separate memory layer, making them searchable via an MCP server.
- Several opinions were raised that 'active time' of the agent should be used instead of clock time as the basis for decay time. The problem is that memories disappear regardless of actual usage frequency if based on clock time for agents that run intermittently.
- The idea of location-based memory triggering was also suggested. If the file path or project path the agent is working on is used as a memory trigger, the relevant context is automatically activated and recalled more naturally. This is explained as being similar to how physical location strongly triggers procedural memory in sports or GUIs.
- It was pointed out that there is a similar paper with a similar name and technique, HippoRAG (arxiv.org/abs/2405.14831), which is not mentioned in the README. The community was curious whether this was intentional or overlooked.
How to Apply
- If you are a developer who switches between Claude Code and Cursor or uses multiple AI coding tools interchangeably, install it with `npm install -g hippo-memory && hippo init`, and then save important settings or error solutions you find in each tool with `hippo remember '...'`. This will maintain context when you switch tools.
- If your team is experiencing the same deployment bugs or configuration mistakes being repeated by AI agents, get into the habit of saving error memories in Hippo whenever an error occurs. The decay mechanism ensures that old and resolved issues fade naturally, while recurring issues are reinforced and more readily recalled in the agent's context.
- If you already have context built up in ChatGPT or Claude, you can import your ChatGPT conversations or CLAUDE.md and .cursorrules files into Hippo at once to manage them in a neutral format. Afterwards, you can commit the Markdown files to a Git repository to share them with your team.
- If you need embedding-based semantic search, install `@xenova/transformers` and use it. It finds past memories that are semantically similar rather than just keyword matching, making it more effective as the amount of memory increases.
Code Example
# Installation and initialization
npm install -g hippo-memory
hippo init
# Memory storage
hippo remember "FRED cache silently drops the t flag — always pass --no-cache explicitly"
# Import from ChatGPT or Claude, etc.
hippo import --from claude ./CLAUDE.md
hippo import --from cursor ./.cursorrules
# Memory search (requires @xenova/transformers for embedding)
hippo recall "cache related deployment issue"Terminology
Related Papers
Formal Verification Gates for AI Coding Loops
AI가 생성한 코드에서 보안 불변식(invariant)을 지키게 하려면 프롬프트 지시보다 타입 시스템 같은 구조적 제약이 훨씬 효과적이라는 주장과 구현 방법을 소개한다.
Learnings from 100K lines of Rust with AI (2025)
Azure RSL(분산 합의 라이브러리)을 Rust로 재구현하면서 AI 코딩 에이전트를 활용해 4주 만에 100K 라인을 작성한 경험담으로, Code Contracts와 Spec-Driven Development를 AI와 조합하는 실전 워크플로우를 공유한다.
A Methodology for Selecting and Composing Runtime Architecture Patterns for Production LLM Agents
LLM agent가 왜 터지는지 이름 붙이고, 어떤 아키텍처 패턴을 언제 써야 하는지 5단계로 정리한 실전 가이드
Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks
작은 로컬 LLM(8B)에 guardrails(구조적 안전망)를 씌워 멀티스텝 에이전트 작업 성공률을 53%에서 99%까지 올린 Python 프레임워크 Forge 공개. 모델 자체는 건드리지 않고 실행 환경을 강화하는 접근법이라 주목받고 있음.
Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised
2026년 5월 19일, npm 계정 하나가 탈취되어 22분 만에 637개 악성 버전이 배포됐고, echarts-for-react·size-sensor 등 월 수백만 다운로드 패키지들이 감염되어 AWS 자격증명·SSH 키·AI 코딩 에이전트까지 탈취하는 정교한 공급망 공격이 발생했다.
Code as Agent Harness
LLM 에이전트에서 코드를 단순 출력물이 아닌 추론·행동·환경 모델링의 실행 인프라로 재정의한 102페이지짜리 서베이
Related Resources
- Hippo Memory GitHub repository
- HippoRAG paper (related technique with similar name)
- ccrider - Session transcript search tool (MCP based)
- MH-FLOCKE - Robot memory based on Izhikevich spiking neurons
- claude-code-toolkit (skills based memory access)
- IEEE - Paper 1 on agent memory and behavior simulation
- IEEE - Paper 2 on agent memory and behavior simulation
- IEEE - Paper 3 on agent memory and behavior simulation