MCPFast / Tools / Dual memory system with expansive relevance search

GitHubMCP★★★★☆

Dual memory system with expansive relevance search

Implementation of a dual memory system using PostgreSQL, pgvector, and Gemini Embeddings for advanced relevance search.

View on GitHub

Dual Memory System with Expansive Relevance Search

This repository provides a robust implementation of a dual memory system designed for AI developers. Leveraging PostgreSQL with the pgvector extension and Gemini Embeddings, it enables sophisticated relevance search capabilities. This tool is ideal for building AI agents and applications that require efficient and accurate retrieval of information from large datasets.

What it Does

The dual memory system architecture separates short-term context from long-term knowledge storage. Short-term memory handles immediate conversational context or task-specific data, while long-term memory stores a broader knowledge base. The system utilizes Gemini Embeddings to convert text into vector representations, which are then stored and indexed in PostgreSQL using pgvector. This allows for highly efficient and semantically relevant searches across the entire knowledge base, going beyond simple keyword matching.

Key Features

Who it's For

This tool is specifically designed for AI developers, researchers, and engineers working on projects that require advanced memory management and information retrieval. It is particularly useful for: