MCP-1st-Birthday/central-memory-agent
1
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.py- Interact with the Chatbot:
- Use the chatbot interface to store and retrieve memories.
- Connect MCP Clients:
- Access the
populate_memoryandsearch_memorytools via MCP endpoints.
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.
