CoolFace
Apppublic

MCP-1st-Birthday/central-memory-agent

sourceHugging Facemitupdated 10mo agoView on Hugging Face
1likes
App README

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_memory and search_memory tools via MCP clients.

Usage

  1. 1.Run the Application:
bash
   uv run main.py
  1. 1.Interact with the Chatbot:
  2. 2.Use the chatbot interface to store and retrieve memories.
  1. 1.Connect MCP Clients:
  2. 2.Access the populate_memory and search_memory tools via MCP endpoints.

Project Structure

  • main.py: The main application file that launches the Gradio interface.
  • utility.py: Contains the populate_memory and search_memory tools.
  • 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.

Acknowledgments