--- title: Introduction description: 'Welcome to the Mem0 Memory System - A comprehensive memory layer for AI agents' --- Hero Light Hero Dark ## What is Mem0 Memory System? The Mem0 Memory System is a comprehensive, self-hosted memory layer designed for AI agents and applications. Built on top of the open-source mem0 framework, it provides persistent, intelligent memory capabilities that enhance AI interactions through contextual understanding and knowledge retention. Complete local deployment with Ollama, Neo4j, and Supabase for maximum privacy and control Seamlessly switch between OpenAI, Ollama, and other LLM providers Advanced relationship mapping with Neo4j for contextual memory connections Production-ready FastAPI server with authentication, rate limiting, and comprehensive testing ## Key Features High-performance vector search using Supabase with pgvector for semantic memory retrieval and similarity matching. Neo4j-powered knowledge graph for complex entity relationships and contextual memory connections. Full Ollama integration with 20+ local models including Llama, Qwen, and specialized embedding models. Production-ready FastAPI server with comprehensive memory operations, authentication, rate limiting, and testing suites. Complete local deployment ensuring your data never leaves your infrastructure. ## Architecture Overview The system consists of several key components working together: ```mermaid graph TB A[AI Applications] --> B[MCP Server] B --> C[Memory API] C --> D[Mem0 Core] D --> E[Vector Store - Supabase] D --> F[Graph Store - Neo4j] D --> G[LLM Provider] G --> H[Ollama Local] G --> I[OpenAI/Remote] ``` ## Current Status: Phase 2 Complete ✅ **REST API Ready**: Complete FastAPI implementation with authentication, testing, and documentation. | Component | Status | Description | |-----------|--------|-------------| | **Neo4j** | ✅ Ready | Graph database running on localhost:7474 | | **Supabase** | ✅ Ready | Self-hosted database with pgvector on localhost:8000 | | **Ollama** | ✅ Ready | 21+ local models available on localhost:11434 | | **Mem0 Core** | ✅ Ready | Memory management system v0.1.115 | | **REST API** | ✅ Ready | FastAPI server with full CRUD, auth, testing, and Docker networking support | ## Getting Started Get your memory system running in under 5 minutes Ready to enhance your AI applications with persistent, intelligent memory? Let's get started!