metadata
title: Central Memory Agent
emoji: 🦀
colorFrom: yellow
colorTo: indigo
sdk: gradio
sdk_version: 6.0.1
app_file: app.py
pinned: false
license: mit
short_description: Storing Memories and Agentic Retrieval with MCP
Central Memory Agent
Central Memory Agent is a Gradio-based chatbot application designed to store and retrieve information. It provides a user-friendly interface and exposes tools as MCP (Model Context Protocol) endpoints for seamless integration with MCP clients.
Features
- Chatbot Interface: Interact with the memory system to store and retrieve information.
- Memory Storage: Add content to memory with metadata (category, topic).
- Memory Retrieval: Search stored information using agentic retrieval.
- MCP Endpoints: Access
populate_memoryandsearch_memorytools via MCP clients.
Usage
Run the Application:
uv run main.pyInteract with the Chatbot:
- Use the chatbot interface to store and retrieve memories.
Connect MCP Clients:
- Access the
populate_memoryandsearch_memorytools via MCP endpoints.
- Access the
Project Structure
main.py: The main application file that launches the Gradio interface.utility.py: Contains thepopulate_memoryandsearch_memorytools.agent.py: Manages retrieval states and builds retrieval graphs.clients.py: Defines the language model and vector store clients.pyproject.toml: Project configuration and dependencies.