메뉴
HN
Hacker News 54일 전

AI 에이전트 생체모방형 메모리 Hippo 공개

IMP
7/10
핵심 요약

다양한 개발 도구 간 세션 연결이 끊기고 문맥이 유실되는 AI 에이전트의 치명적인 망각 문제를 해결하는 'Hippo'가 공개되었습니다. 이 도구는 인간 뇌의 망각 메커니즘을 모방하여 중요한 정보는 장기 기억으로 남기고 노후화된 정보는 자동으로 삭제하는 공유 메모리 레이어 역할을 합니다. 개발자는 단 하나의 메모리 시스템으로 모든 에이전트(Claude, Cursor, Codex 등)의 문맥을 연동하고 이전의 실수를 반복하지 않도록 학습시킬 수 있습니다.

번역된 본문

🦛 Hippo

좋은 기억력의 비밀은 더 많이 기억하는 것이 아닙니다. 무엇을 잊어야 할지 아는 것입니다.

작동 환경: Claude Code, Codex, Cursor, OpenClaw 및 모든 CLI 에이전트 불러오기: ChatGPT, Claude (CLAUDE.md), Cursor (.cursorrules) 및 모든 마크다운 파일에서 데이터를 가져옵니다. 저장소: SQLite 기반 + 마크다운/YAML 미러링. Git 추적이 가능하며 사람이 읽을 수 있습니다. 의존성: 런타임 의존성 제로. Node.js 22.5 이상 필요. @xenova/transformers를 통한 임베딩(Embedding)은 선택 사항입니다.

문제점 AI 에이전트는 세션 사이의 모든 것을 잊어버립니다. 기존의 솔루션들은 그저 모든 것을 저장한 뒤 나중에 검색할 뿐입니다. 그것은 '뇌'가 아니라 단순한 '서랍장'에 불과합니다.

또한 당신의 기억들은 각 도구에 갇혀 있습니다. ChatGPT가 아는 것을 Claude는 모릅니다. Cursor의 규칙은 Codex로 가져오지 못합니다. 도구를 바꾸면 모든 것을 처음부터 다시 시작해야만 합니다.

이런 분들에게 추천합니다 여러 도구를 사용하는 개발자: 월요일에는 Claude Code, 화요일에는 Cursor, 수요일에는 Codex를 사용하십니까? 문맥(Context)이 이어지지 않습니다. Hippo는 이 모든 도구에 걸쳐 작동하는 공유 메모리 계층입니다. 에이전트가 같은 실수를 반복하는 팀: 에이전트가 지난주에도, 그 주 전에도 동일한 배포 버그에 부딪혔습니다. Hippo의 오류 기억 및 감소(Decay) 메커니즘을 통해 뼈아픈 교훈은 남고 의미 없는 노이즈는 사라집니다. CLAUDE.md가 엉망인 분들: 지시 사항 파일이 섞인 규칙, 환경설정, 유효기간이 지난 임시방편들로 400줄이나 늘어났습니다. Hippo는 태그, 신뢰도 수준, 구식 정보의 자동 만료를 통해 이에 구조를 부여합니다. 휴대 가능한 AI 메모리를 원하는 분들: 벤더 종속성(Lock-in)이 없습니다. 리포지토리에 마크다운 파일로 존재합니다. ChatGPT, Claude, Cursor에서 불러오고, 폴더 복사로 내보낼 수 있습니다.

빠른 시작 npm install -g hippo-memory hippo init hippo remember "FRED 캐시가 tips_10y 시리즈를 조용히 삭제함" --tag error hippo recall "데이터 파이프라인 문제" --budget 2000

끝입니다. 이것으로 여러분은 메모리 시스템을 갖추게 되었습니다.

v0.9.1 업데이트 내용 세션 종료 시 자동 슬립(Sleep). 이제 hippo hook install claude-code 명령어가 ~/.claude/settings.json에 중지(Stop) 훅(Hook)을 설치하여 Claude Code가 종료될 때 hippo sleep이 자동으로 실행됩니다. Claude Code가 감지되면 hippo init 명령어 역시 동일하게 작동합니다. 크론(Cron)이나 수면 모드 수동 실행이 필요 없습니다.

v0.9.0 업데이트 내용 작업 기억(Working memory) 계층 (hippo wm push/read/clear/flush). 중요도 기반의 항목 교체를 적용한 제한된 버퍼(영역당 최대 20개). 현재 상태의 메모는 장기 기억과 분리되어 보관됩니다. 세션 인수인계 (hippo handoff create/latest/show). 다음 세션이 기록을 뒤질 필요 없이 이어서 작업할 수 있도록 세션 요약, 다음 단계, 산출물을 유지합니다. 명시적인 시작/종료 이벤트, 대체 세션 ID, 그리고 연속성을 위한 hippo session resume 기능을 갖춘 세션 수명 주기(Lifecycle) 관리. 해석 가능한 회상(Recall) (hippo recall --why). 어떤 단어가 일치했는지, BM25 또는 임베딩(Embedding)이 기여했는지, 그리고 소스 버킷(계층, 신뢰도, 로컬/글로벌)을 확인할 수 있습니다. 에이전트 주입에 적합한 간결한 현재 상태 디스플레이를 위한 hippo current show 기능.(활성 작업 + 최근 세션 이벤트) SQLite 잠금 강화: busy_timeout=5000, synchronous=NORMAL, wal_autocheckpoint=100. 동시에 발생하는 플러그인 호출 시 더 이상 SQLITE_BUSY 오류가 발생하지 않습니다. 통합 배치(Batching) 처리: N번의 열기/닫기 사이클 대신 모든 쓰기/삭제가 단일 트랜잭션으로 발생합니다. hippo recall 및 hippo context의 --limit 플래그를 통해 토큰 예산과 별개로 결과 수를 제한할 수 있습니다. 플러그인 주입 중복 가드는 재연결 시 컨텍스트가 이중으로 주입되는 것을 방지합니다.

v0.8.0 업데이트 내용 하이브리드 검색은 BM25 키워드와 코사인 임베딩 유사도를 혼합합니다. @xenova/transformers를 설치하고 hippo embed를 실행하면 회상 품질이 크게 향상됩니다. 그렇지 않은 경우 BM25로 대체됩니다. 스키마 가속은 새로운 기억이 기존 패턴에 얼마나 잘 맞는지 자동으로 계산합니다. 익숙한 기억은 더 빨리 통합되고, 새로운 기억은 사용되지 않으면 더 빨리 사라집니다. hippo share, hippo peers 및 전송 점수 책정을 통한 다중 에이전트 공유 메모리. 보편적인 교훈은 프로젝트 간에 공유되고, 프로젝트 특화 설정은 로컬에 유지됩니다. hippo resolve --keep 를 통한 충돌 해결. 감지-검사-해결 루프를 완성합니다. 에이전트 평가 벤치마크는 학습 가설을 검증합니다: Hippo 에이전트는 50개 작업 시퀀스 동안 함정(Trap) 빠짐률이 78%에서 14%로 떨어집니다.

제로 구성(Zero-config) 에이전트 통합 hippo init는 에이전트 프레임워크를 자동으로 감지하고 연결합니다: cd my-project hippo init

원문 보기
원문 보기 (영어)
🦛 Hippo The secret to good memory isn't remembering more. It's knowing what to forget. Works with: Claude Code, Codex, Cursor, OpenClaw, any CLI agent Imports from: ChatGPT, Claude (CLAUDE.md), Cursor (.cursorrules), any markdown Storage: SQLite backbone + markdown/YAML mirrors. Git-trackable and human-readable. Dependencies: Zero runtime deps. Requires Node.js 22.5+. Optional embeddings via @xenova/transformers. The Problem AI agents forget everything between sessions. Existing solutions just save everything and search later. That's a filing cabinet, not a brain. Your memories are also trapped. ChatGPT knows things Claude doesn't. Cursor rules don't travel to Codex. Switch tools and you start from zero. Who Is This For Multi-tool developers. You use Claude Code on Monday, Cursor on Tuesday, Codex on Wednesday. Context doesn't carry over. Hippo is the shared memory layer across all of them. Teams where agents repeat mistakes. The agent hit the same deployment bug last week. And the week before. Hippo's error memories and decay mechanics mean hard lessons stick and noise fades. Anyone whose CLAUDE.md is a mess. Your instruction file grew to 400 lines of mixed rules, preferences, and stale workarounds. Hippo gives that structure: tags, confidence levels, automatic decay of outdated info. People who want portable AI memory. No vendor lock-in. Markdown files in your repo. Import from ChatGPT, Claude, Cursor. Export by copying a folder. Quick Start npm install -g hippo-memory hippo init hippo remember " FRED cache silently dropped the tips_10y series " --tag error hippo recall " data pipeline issues " --budget 2000 That's it. You have a memory system. What's new in v0.9.1 Auto-sleep on session exit. hippo hook install claude-code now installs a Stop hook in ~/.claude/settings.json so hippo sleep runs automatically when Claude Code exits. hippo init does this too when Claude Code is detected. No cron needed, no manual sleep. What's new in v0.9.0 Working memory layer ( hippo wm push/read/clear/flush ). Bounded buffer (max 20 per scope) with importance-based eviction. Current-state notes live separately from long-term memory. Session handoffs ( hippo handoff create/latest/show ). Persist session summaries, next actions, and artifacts so successor sessions can resume without transcript archaeology. Session lifecycle with explicit start/end events, fallback session IDs, and hippo session resume for continuity. Explainable recall ( hippo recall --why ). See which terms matched, whether BM25 or embedding contributed, and the source bucket (layer, confidence, local/global). hippo current show for compact current-state display (active task + recent session events), ready for agent injection. SQLite lock hardening : busy_timeout=5000 , synchronous=NORMAL , wal_autocheckpoint=100 . Concurrent plugin calls no longer hit SQLITE_BUSY . Consolidation batching : all writes/deletes happen in a single transaction instead of N open/close cycles. --limit flag on hippo recall and hippo context to cap result count independently of token budget. Plugin injection dedup guard prevents double context injection on reconnect. What's new in v0.8.0 Hybrid search blends BM25 keywords with cosine embedding similarity. Install @xenova/transformers , run hippo embed , recall quality jumps. Falls back to BM25 otherwise. Schema acceleration auto-computes how well new memories fit existing patterns. Familiar memories consolidate faster; novel ones decay faster if unused. Multi-agent shared memory with hippo share , hippo peers , and transfer scoring. Universal lessons travel between projects; project-specific config stays local. Conflict resolution via hippo resolve <id> --keep <mem_id> . Closes the detect-inspect-resolve loop. Agent eval benchmark validates the learning hypothesis: hippo agents drop from 78% trap rate to 14% over a 50-task sequence. Zero-config agent integration hippo init auto-detects your agent framework and wires itself in: cd my-project hippo init # Initialized Hippo at /my-project # Directories: buffer/ episodic/ semantic/ conflicts/ # Auto-installed claude-code hook in CLAUDE.md If you have a CLAUDE.md , it patches it. AGENTS.md for Codex/OpenClaw. .cursorrules for Cursor. No manual hook install needed. Your agent starts using Hippo on its next session. It also sets up a daily cron job (6:15am) that runs hippo learn --git and hippo sleep automatically. Memories get captured from your commits and consolidated every day without you thinking about it. To skip: hippo init --no-hooks --no-schedule Cross-Tool Import Your memories shouldn't be locked inside one tool. Hippo pulls them in from anywhere. # ChatGPT memory export hippo import --chatgpt memories.json # Claude's CLAUDE.md (skips existing hippo hook blocks) hippo import --claude CLAUDE.md # Cursor rules hippo import --cursor .cursorrules # Any markdown file (headings become tags) hippo import --markdown MEMORY.md # Any text file hippo import --file notes.txt All import commands support --dry-run (preview without writing), --global (write to ~/.hippo/ ), and --tag (add extra tags). Duplicates are detected and skipped automatically. Conversation Capture Extract memories from raw conversation text. No LLM needed: pattern-based heuristics find decisions, rules, errors, and preferences. # Pipe a conversation in cat session.log | hippo capture --stdin # Or point at a file hippo capture --file conversation.md # Preview first hippo capture --file conversation.md --dry-run Active task snapshots Long-running work needs short-term continuity, not just long-term memory. Hippo can persist the current in-flight task so a later continue has something concrete to recover. hippo snapshot save \ --task " Ship SQLite backbone " \ --summary " Tests/build/smoke are green, next slice is active-session recovery " \ --next-step " Implement active snapshot retrieval in context output " hippo snapshot show hippo context --auto --budget 1500 hippo snapshot clear hippo context --auto includes the active task snapshot before long-term memories, so agents get both the immediate thread and the deeper lessons. Session event trails Manual snapshots are useful, but real work also needs a breadcrumb trail. Hippo can now store short session events and link them to the active snapshot so context output shows the latest steps, not just the last summary. hippo session log \ --id sess_20260326 \ --task " Ship continuity " \ --type progress \ --content " Schema migration is done, next step is CLI wiring " hippo snapshot save \ --task " Ship continuity " \ --summary " Structured session events are flowing " \ --next-step " Surface them in framework hooks " \ --session sess_20260326 hippo session show --id sess_20260326 hippo context --auto --budget 1500 Hippo mirrors the latest trail to .hippo/buffer/recent-session.md so you can inspect the short-term thread without opening SQLite. Session handoffs When you're done for the day (or switching to another agent), create a handoff so the next session knows exactly where to pick up: hippo handoff create \ --summary " Finished schema migration, tests green " \ --next " Wire handoff injection into context output " \ --session sess_20260403 \ --artifact src/db.ts hippo handoff latest # show the most recent handoff hippo handoff show 3 # show a specific handoff by ID hippo session resume # re-inject latest handoff as context Working memory Working memory is a bounded scratchpad for current-state notes. It's separate from long-term memory and gets cleared between sessions. hippo wm push --scope repo \ --content " Investigating flaky test in store.test.ts, line 42 " \ --importance 0.9 hippo wm read --scope repo # show current working notes hippo wm clear --scope repo # wipe the scratchpad hippo wm flush --scope repo # flush on session end The buffer holds a maximum of 20 entries per scope. When full, the lowest-importance entry is evicted. Explainable recall See why a memory was returned: hippo recall " data pipelin