Robust LongâTerm Memory
JSON →A persistent, humanâlike memory system for AI companions
Install
pip install -r Tools · 4
- remember Stores a new memory (fact, conversation snippet, preference, event) into the system. It's indexed both semantically (for natural language search) and structurally (for filtered queries). Parameters: title (string, required), content (string, required), tags (string, optional, default: ''), importance (integer, optional, default: 5), memory_type (string, optional, default: 'conversation').
- search_memories The primary tool for recalling memories. It performs a semantic search based on a natural language query, finding memories that are conceptually similar. Parameters: query (string, required), search_type (string, optional, default: 'semantic'), limit (integer, optional, default: 10).
- search_by_type Retrieves memories that match a specific memory_type (e.g., all 'facts' or all 'preferences'). Parameters: memory_type (string, required), limit (integer, optional, default: 20).
- search_by_tags Finds memories associated with one or more specific tags.
Links
★ 29 GitHub stars