Mnemon: Long-term Memory Agent for DeepSeek Harness

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.json information, Node.js >= 20 is required.
  • License: The project is licensed under the MIT License.
  • GitHub: https://github.com/Grivn/mnemon-memory-agent
  • Directory: https://www.skillhub.cn/plugins/Grivn/mnemon-memory-agent
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye