mem0
Verified Safeby Pintaro
Overview
Self-hosted memory management system for AI agents, providing a dashboard to manage applications, memories (facts and preferences), and configurations. It allows AI agents to add, search, update, and delete granular memories, with categorization, access logging, and state management (active, paused, archived). Also supports private AI applications through integration.
Installation
docker compose up -dEnvironment Variables
- NEXT_PUBLIC_USER_ID
- NEXT_PUBLIC_API_URL
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- GROQ_API_KEY
- MISTRAL_API_KEY
- GOOGLE_API_KEY
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- DATABASE_URL
- QDRANT_HOST
- QDRANT_API_KEY
- REDIS_URL
- MILVUS_HOST
- NEO4J_URI
- NEO4J_USERNAME
- NEO4J_PASSWORD
- OLLAMA_BASE_URL
- LMSTUDIO_BASE_URL
- SUPABASE_URL
- SUPABASE_KEY
- AZURE_OPENAI_API_KEY
- AZURE_OPENAI_ENDPOINT
- AZURE_OPENAI_API_VERSION
- AZURE_SEARCH_ENDPOINT
- AZURE_SEARCH_API_KEY
Security Notes
The system relies on environment variables for API keys and database credentials, which is good practice. CORS is configured in the FastAPI backend. User input for displaying metadata/JSON is sanitized (JSON.stringify) in the UI, and markdown rendering uses `dangerouslySetInnerHTML` but is expected to handle trusted content or content processed by the LLM. No obvious direct `eval()` or code injection vectors were immediately apparent. Security heavily depends on proper deployment, network configuration, and securing environment variables. The API includes backup/restore functionality, which requires secure handling.
Similar Servers
context-sync
Providing persistent memory and context synchronization for AI development across various tools and projects.
memory-mcp
This MCP server provides memory storage and intelligent context window caching capabilities for Large Language Model (LLM) conversations, including archiving, retrieval, and summarization.
mcp-structured-memory
Provides structured, domain-specific memory management through markdown files for ongoing projects, allowing AI to accumulate and organize valuable context over time.
Aline
Aline provides persistent, shared AI agent memory across sessions and teams, maintaining conversational context and facilitating seamless collaboration.