Preface¶
LLM-assisted tools face the challenge of context loss during long conversations. Traditional memory solutions often require feature extraction at write time, making them unable to flexibly handle dynamic data types. Mnemon adopts a dual-system architecture, combining fast judgment with slow thinking to process long-term memory without predefined schemas.
What is this¶
This is a long-term memory agent maintained by Grivn, designed specifically for LLM assistants. It maintains conversations as raw, dated logs, utilizing a fast model for decision-making when queries arise, and employing an LLM to formulate queries and organize answers.
Core Features¶
- Long-term Memory Management: Provides long-term memory capabilities for LLM assistants.
- Raw Log Storage: Maintains conversations as raw, dated records.
- Dual-System Decision Making:
- Uses a fast System 1 model (e.g., Jev) for yes/no judgments.
- Uses an LLM (System 2) to write queries, name requirements, and compose answers.
- Background Indexing: Merges records into an index in the background, pointing to the original logs.
- Cost Control: The cost growth per answer is controlled when the record volume is within 10 million tokens.
Typical Usage¶
The plugin runs as a second instance of DeepSeek Harness, leaving the main process unchanged. It publishes a View during each round of conversation.
Notes and Ecosystem¶
- Execution Mode: Runs as a second instance of DeepSeek Harness.
- Result Integration: Experimental results will be gradually introduced into the official projects [mnemon] and [dsh-mnemon].
- Environment Requirements: Based on
package.jsoninformation, Node.js >= 20 is required. - License: The project is licensed under the MIT License.
Links¶
- GitHub: https://github.com/Grivn/mnemon-memory-agent
- Directory: https://www.skillhub.cn/plugins/Grivn/mnemon-memory-agent