[MEM] block at session start, calling /flush before compression, and exposing encode/decode as agent tools.
Requirements
- Python 3.10+
- A running Hermes3 agent
- A Spectral Memory API key
Install
Configure
Set your API key and user ID:.env file in the plugin directory:
Wire into your agent
Session start
Call/context and inject the returned fdm_block into your system prompt:
Before compression
Call/flush before any context compression: