Hippo

•

Provides a surprise-aware memory server for AI models, allowing them to intelligently prioritize and recall important past interactions over mundane ones.

This tool acts as a sophisticated memory server for AI models, particularly designed for Claude Code, by implementing a novel surprise-driven consolidation mechanism. Unlike conventional memory systems that store every interaction and rely solely on cosine similarity, claude-hippo intelligently identifies and prioritizes "surprising" or significant moments. This approach ensures that crucial decisions and insights from the past remain highly visible, preventing them from being buried under a flood of routine chat messages, thereby enhancing the AI's long-term contextual awareness and decision-making capabilities.

Características Principales

01SHODH-compatible SQLite Database: Provides drop-in compatibility with `mcp-memory-service-rs`, allowing seamless database file swaps and adherence to the SHODH OpenAPI v1.0.0 specification.
020 GitHub stars
03Lightweight & Performant: Implemented in pure Rust, offering fast cold-start times (4.5 ms), low memory footprint (150 MB RSS), and efficient store/retrieve operations.
04Hebbian Associations & Semantic Clustering: Implements SHODH-spec features for automatically growing co-recall edges between memories and performing spherical k-means clustering for structural organization.
05Surprise-Driven Memory Consolidation: Intelligently prioritizes and retains significant memories based on factors like embedding outliers, engagement, explicit marking, and LLM prediction loss.
06Native LLM Prediction Loss (via Candle-rs): Integrates an optional pure-Rust LLM backend using `candle-rs` for computing prediction loss, further enhancing surprise scoring without external dependencies.

Casos de Uso

01Enhancing the long-term contextual memory of AI agents like Claude Code, ensuring critical past decisions and information are consistently recalled.
02Upgrading existing `mcp-memory-service-rs` implementations to a more advanced, surprise-aware memory system with improved performance and features without database migration.
03Developing AI systems that need to learn and adapt by intelligently prioritizing and consolidating significant events from their interaction history.