v0.5.0 — Knowledge Graph, Multi-Agent, Procedural Memory

AI Agents Forget.
HippocampAI Remembers.

Production-ready memory layer with knowledge graphs, hybrid retrieval, multi-agent collaboration, and 102+ API methods. Give your AI systems human-like memory capabilities.

Open Source
Production Ready
Self-Hosted
102+ API Methods
HippocampAI Dashboard
Memory Types
Knowledge Graph
entities: 142relations: 89
Memories 156
preference2 hours ago
Prefers oat milk in coffee, works remotely on Tuesdays
fact1 day ago
Project deadline is March 15th, budget approved
procedural3 days ago
User responds better to concise, technical answers
Memory Analytics
Relevance
0.95
Importance
0.85
Retrieval
vectorBM25graph
Agents Connected
3 active agents
Health
Auto-healing active

Get started in 3 steps

Add long-term memory to your AI application in minutes

1

Install

Get started with pip

pip install hippocampai
2

Initialize

Create a memory client

from hippocampai import MemoryClient client = MemoryClient()
3

Remember

Store and recall

client.remember( "Your first memory", user_id="alice" )

How HippocampAI Works

A robust pipeline designed for reliability and performance at scale

Memory Types

  • Preferences
  • Facts & knowledge
  • Events & conversations
  • Procedural (behavioral)
  • Custom metadata

Processing

  • Multi-provider embeddings
  • Knowledge graph extraction
  • Importance scoring
  • Relevance feedback loops

Storage & Caching

  • Qdrant vector DB
  • Redis caching (50-100x)
  • Tiered storage
  • Export/import

Sleep Phase

  • Memory consolidation
  • Importance decay
  • Auto-healing
  • Predictive analytics
PythonFastAPIQdrantRedisOpenAIAnthropicDockerReact

Everything you need for AI memory

From knowledge graphs to multi-agent collaboration — all the primitives for building memory-enabled AI applications

Knowledge Graph

Real-time entity and relationship extraction on every remember() call. Build structured knowledge automatically from unstructured text.

3-way RRF fusion: vector + BM25 + graph retrieval

Hybrid Retrieval

Combines semantic search, BM25 keyword matching, and graph-aware retrieval with Reciprocal Rank Fusion for optimal results.

40% accuracy improvement over vector-only search

Multi-Agent Collaboration

Shared memory spaces for agent coordination. Multiple AI agents can read, write, and reason over collective memories.

Agent-scoped access with shared namespaces

Sleep Phase Consolidation

Bio-inspired memory consolidation merges related memories, decays importance scores, and prunes low-value data automatically.

Inspired by human memory consolidation during sleep

Predictive Analytics

Pattern detection, habit tracking, and behavioral insights. Predict memory usage patterns and forecast future needs.

Cross-session analytics with temporal reasoning

Auto-Healing

Automatic detection and repair of memory issues. Health monitoring, duplicate detection, and quality tracking built in.

Self-monitoring with configurable health thresholds

Memory Triggers

Event-driven actions via webhooks, websocket, and log triggers. React to memory events in real-time across your system.

Configurable trigger rules with filter conditions

Procedural Memory

Self-optimizing prompts via learned behavioral rules. Your AI learns how to communicate better over time.

Feedback loops with exponential decay scoring

Plugin System

Extensible architecture with custom processors, scorers, retrievers, and filters. Build exactly the memory system you need.

Custom schemas, tiered storage, export/import

SaaS Platform

Full multi-tenant platform with authentication, rate limiting, Celery background tasks, and a React dashboard.

pip install hippocampai[saas] for full platform

Importance Scoring

Not all memories are equal. Automatic importance scoring with access-based boosting and configurable decay rates.

Time-weighted scoring with relevance feedback

Memory Namespaces

Hierarchical organization with permissions. Isolate memory spaces per user, session, team, or custom scope.

Bi-temporal facts with time-travel queries

Simple API, powerful features

Get started in minutes with our intuitive Python SDK. 102+ methods covering memory storage, retrieval, knowledge graphs, multi-agent coordination, and more.

pip install hippocampaiPyPI
example.py
from hippocampai import MemoryClient

# Initialize client
client = MemoryClient()

# Store a memory
client.remember(
    "User prefers oat milk and works remotely on Tuesdays",
    user_id="alice",
    type="preference"
)

# Recall relevant memories
results = client.recall("work preferences", user_id="alice")
for r in results:
    print(f"{r.memory.text} (relevance: {r.score:.2f}")

Works with your stack

Seamlessly integrate with popular LLM providers, storage backends, and AI frameworks

AI

LLM & Embedding Providers

OpenAIGPT + Embeddings
AnthropicClaude models
GroqFast inference
OllamaLocal models
HuggingFaceSentence Transformers
CustomAny provider
DB

Storage Backends

QdrantDefault (recommended)
Redis50-100x caching
SQLiteMetadata store
TieredHot/warm/cold
FW

Frameworks & Platforms

LangChainMemory adapter
LlamaIndexRAG pipelines
AutoGenMulti-agent
CeleryBackground tasks
FastAPIREST API
ReactDashboard UI

How we compare

See how HippocampAI stacks up against other memory solutions

Feature
HippocampAIOpen Source
Mem0Cloud
LangChainMemory
CustomSolution
Semantic Search
Knowledge Graph
Graph-Aware Retrieval (3-way RRF)
Auto-Deduplication
Hybrid Retrieval (BM25 + Vector)
Multi-Agent Collaboration
Memory Triggers & Webhooks
Procedural Memory
Sleep Phase Consolidation
Predictive Analytics
Auto-Healing
Self-Hosted Option
Built-in Dashboard UI
Plugin System
Open Source (Apache 2.0)
Full support
Partial support
Not available

Built for every use case

HippocampAI powers memory for diverse AI applications across industries

Conversational AI

Build chatbots that remember user preferences, conversation history, and context across sessions.

Customer support botsPersonal assistantsTherapy chatbots

AI Agents

Create autonomous agents that learn from interactions and make informed decisions based on past experiences.

Task automationResearch assistantsCode generation

Document Q&A

Enable semantic search over large document collections with context-aware retrieval.

Knowledge basesLegal document searchResearch papers

Multi-User Systems

Manage separate memory spaces for different users while maintaining privacy and isolation.

SaaS platformsEnterprise toolsEducational apps

Personalization

Deliver tailored content and suggestions by learning from user behavior and preferences.

E-commerceContent curationLearning paths

Performance that scales

Built for production workloads with enterprise-grade reliability

+40%
Retrieval Accuracy
3-way fusion vs vector-only
50-100x
Faster with Cache
Redis caching layer
1000+
Requests/sec
production throughput
30 sec
Deploy Time
pip install or Docker

Open source & community driven

Join the community building the future of AI memory

Open Source
Stars
Apache 2.0
License
Welcome!
Contributors
Python
Language
rexdivakar/HippocampAI
Enterprise Memory for AI Agents

Frequently asked questions

Everything you need to know about HippocampAI

HippocampAI is an open-source, production-ready memory engine that gives AI systems human-like memory capabilities. Named after the brain region responsible for memory formation, it provides persistent memory storage, knowledge graphs, hybrid retrieval, multi-agent collaboration, and 102+ API methods for building memory-enabled AI applications.

Still have questions?

Ask on GitHub Discussions

Changelog & Roadmap

Stay up to date with the latest features and improvements

Recent Releases

v0.5.0Latest ReleaseFeb 2026
  • Knowledge graph with real-time entity extraction
  • Graph-aware retrieval (vector + BM25 + graph RRF)
  • Relevance feedback loop with decay scoring
  • Memory triggers (webhooks, websocket, log actions)
  • Procedural memory & prompt self-optimization
  • Embedding model migration with Celery
v0.4.0Feature ReleaseJan 2026
  • Multi-agent collaboration with shared memory
  • Predictive analytics & pattern forecasting
  • Auto-healing memory system
  • React dashboard with full analytics UI
  • Plugin system (processors, scorers, retrievers)
  • Memory namespaces with permissions
v0.3.0Feature ReleaseDec 2025
  • SaaS platform (auth, rate limiting, Celery)
  • Export/import (JSON, Parquet, CSV)
  • Tiered storage (hot/warm/cold)
  • Offline mode with operation queueing
  • Bi-temporal facts with time-travel queries
  • Context assembly with token budgeting
v0.2.0Stable ReleaseNov 2025
  • Production-ready memory engine
  • Sleep Phase memory consolidation
  • Hybrid retrieval (BM25 + vector)
  • Multi-user & session support
View all releases

Roadmap

GraphRAG with advanced traversalIn Progress
Real-time streaming memory updatesPlanned
Memory versioning & rollbackPlanned
Visual knowledge graph explorerPlanned
Federated memory across instancesExploring
Request a feature →

Ready to get started?

HippocampAI is open source and free to use. Star us on GitHub to show your support and stay updated with new releases.

Get notified about new releases