Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support

Hippo is a biologically-inspired memory system for AI agents that addresses the problem of agents forgetting everything between sessions. Unlike solutions that just save everything, Hippo implements decay, retrieval strengthening, and consolidation mechanics similar to human memory.
Core Features
Works with: Claude Code, Codex, Cursor, OpenClaw, OpenCode, Pi, and any CLI agent. Imports from: ChatGPT, Claude (CLAUDE.md), Cursor (.cursorrules), and any markdown. Storage uses SQLite backbone with markdown/YAML mirrors that are git-trackable and human-readable. Zero runtime dependencies, requiring only Node.js 22.5+. Optional embeddings via @xenova/transformers.
Setup and Usage
Install with npm install -g hippo-memory. For single project setup: hippo init. For all projects at once: hippo init --scan ~ which finds every git repo under your home directory, creates a .hippo/ store in each, and seeds it with lessons from commit history.
After setup, hippo sleep runs automatically at session end via agent hooks and performs five operations:
- Learns from today's git commits
- Imports new entries from Claude Code MEMORY.md files
- Consolidates memories (decay, merge, prune)
- Deduplicates near-identical memories (keeps the stronger copy)
- Shares high-value lessons to the global store so they surface in every project
Manual usage includes: hippo remember "FRED cache silently dropped the tips_10y series" --tag error and hippo recall "data pipeline issues" --budget 2000.
What's New in v0.21.0
hippo setup — one command for every tool. Detects Claude Code, OpenCode, OpenClaw, Codex, Cursor, and Pi on your machine and installs all available SessionEnd + SessionStart hooks in one pass. Idempotent and safe to re-run.
OpenCode hooks: SessionEnd + SessionStart install into ~/.config/opencode/opencode.json (OpenCode added Claude-Code-compatible hooks in Jan 2026). You now see consolidation output — new SessionStart hook prints the previous session's hippo sleep output between banners on next startup.
Recent Updates
v0.20.3 added visible confirmation on session-end sleep. The installed SessionEnd hook now echoes [hippo] consolidating memory... before running and [hippo] sleep complete or [hippo] sleep failed after. Existing installs need reinstall (hippo hook uninstall claude-code && hippo hook install claude-code) to pick up the new command.
v0.20.2 changed Claude Code hook to use SessionEnd instead of Stop. Earlier versions ran hippo sleep after every assistant turn; now it runs once at session exit. Re-running hippo hook install claude-code migrates existing Stop entries automatically. Hook installation and initialization no longer create accidental CLAUDE.md files — they only patch agent-instruction files that already exist.
📖 Read the full source: HN LLM Tools
👀 See Also

GrapeRoot: Open-source tool reduces Claude Code token usage by 40-80%
GrapeRoot is a free, open-source local MCP server that sits between your codebase and Claude Code, reducing token usage by 40-80% by tracking what the model has already seen and sending only relevant code changes.

Building CLIs for AI Agents: Design Principles from Google's gws CLI
Google's gws CLI demonstrates how to design command-line interfaces specifically for AI agents, prioritizing raw JSON payloads over human-friendly flags and implementing safety rails against hallucinations.

Benchmark: Gemma4 12B vs Qwen3 8B quantized on 24GB Mac Mini
A developer tested Gemma4 12B against Qwen3:8b-q4_K_M on a 24GB Mac Mini using two prompts. Qwen3 processed prompts 4-5x faster, while Gemma4 generated output slightly faster.

PgAdmin 4 9.13 Adds AI Assistant Panel to Query Tool
PgAdmin 4 version 9.13 introduces an AI Assistant panel in the Query Tool that can generate SQL from natural language when AI is configured. The update also includes a Workspace layout for distraction-free query editing and ad-hoc server connections.