Mnemory
JSON →A self-hosted, secure, feature-rich memory system for AI agents and assistants. Provides intelligent fact extraction and deduplication, with an artifact store for detailed content.
Install
uvx mnemory`, Tools · 16
- remember Store a memory from natural language input. Extracts facts, classifies metadata, deduplicates, and resolves contradictions in a single LLM call.
- recall Search memories using semantic search with multi-query generation and temporal awareness. Returns relevant memories based on the query.
- forget Delete a specific memory by its ID.
- list_memories List all memories with optional filters for type, category, importance, or date range.
- get_memory Retrieve a specific memory by its ID with full details.
- update_memory Update an existing memory's content or metadata.
- search_memories Perform semantic search across memories with advanced filtering options.
- get_memory_stats Get statistics about stored memories including counts by type, category, and importance.
- run_health_check Run a three-phase memory health check (fsck) to detect duplicates, contradictions, quality issues, and prompt injection.
- fix_memory_issues Automatically fix issues found during health check, such as merging duplicates or resolving contradictions.
- store_artifact Store a detailed artifact (report, code, research document) with metadata for later retrieval.
- get_artifact Retrieve a stored artifact by its ID.
- list_artifacts List all stored artifacts with optional filters.
- delete_artifact Delete a specific artifact by its ID.
- search_artifacts Search across artifacts using semantic search.
- get_memory_graph Get relationship graph data for memories, showing connections between related memories.
Environment variables
OPENAI_API_KEY
Links
★ 136 GitHub stars