MemForge
Provides an open-source memory layer for AI agents, enabling long-term recall, reflection, and learning via the Model Context Protocol (MCP).
MemForge addresses the stateless nature of AI agents by providing a robust, persistent memory layer. It allows agents to remember observations, recall relevant context, reflect on patterns to generate higher-order insights, and forget outdated information. By adhering to the MCP, MemForge integrates seamlessly with various AI agents without needing complex SDKs or custom integration code. It leverages a single PostgreSQL instance with pgvector, Apache AGE, and JSONB to offer hybrid search capabilities, ensuring efficient and accurate context retrieval within a specified token budget.
主要功能
01MCP-native interface for zero-code agent integration
02Single PostgreSQL 17 database with pgvector and Apache AGE for ACID transactions across semantic, relational, and graph data
03Hybrid search combining vector similarity, BM25 full-text, and knowledge graph traversal
04Token-budgeted context output, returning compiled documents instead of raw memory lists
05Local embedding model support by default, eliminating API key dependencies
061 GitHub stars
使用案例
01Storing and retrieving user-specific preferences and historical interactions for personalized agent responses
02Equipping AI agents with persistent, long-term memory for ongoing conversations and tasks
03Enabling agents to generate higher-order reflections and durable knowledge from their observations