A cognitive memory system that encodes, consolidates, decays, and retrieves — just like the human brain.
Transform your AI agents with persistent, hierarchical memory that learns from every interaction.
AgentFoundry moves beyond static RAG to provide dynamic, evolving memory that learns from every interaction.
Three scopes with automatic cross-scope retrieval: Merchant (shared KB), Visitor (personal profile), and Conversation (session context).
Contradiction detection with version history. Track how facts change over time with valid_from/valid_to timestamps.
Frequently accessed memories resist forgetting. The system strengthens important connections just like the human brain.
Automatic cross-conversation profile building that works like sleep consolidation in the human brain.
Implements Ebbinghaus forgetting curve with pathway strength protection for natural memory management.
Redis-cached reads with MongoDB persistence for lightning-fast memory access at scale.
Prefrontal Cortex → Redis STM: Working memory for active session context
Hippocampus → MongoDB: Episodic memory storing past interactions
Neocortex → Semantic Memory: Structured facts and knowledge
Sleep Consolidation → Visitor Rollup: Automatic memory consolidation across conversations
Forgetting Curve → Decay Engine: Natural memory fading with frequency protection
# Example: Memory lifecycle
New fact ingested: freq=1, conf=0.5, imp=0.8
↓ queried 3 times: freq=4, conf=0.59
↓ queried 5 more: freq=9, conf=0.74
↓ 30 days no access: imp × 0.96 (only 4% loss!)
↓ queried again: saved from decay
Redis STM with session state, last N turns, auto-TTL
MongoDB memories with vector embeddings for semantic recall
Structured facts with frequency tracking and confidence scoring
Auto-triggers after every ingest, merges data into profiles
Importance fades over time, frequency protects strong pathways
Importance scoring (0.0-1.0) for high-impact event persistence
Start free, scale as you grow. No hidden fees, no surprises.
Perfect for prototyping and testing
Production-grade agents with perfect recall
For scaling teams and high-volume data
Need enterprise features? Contact us for custom pricing.
Join thousands of developers building smarter, more contextual AI experiences.