lossless-claw
Lossless Claw, developed by Martian Engineering, is a revolutionary Lossless Context Management (LCM) plugin for OpenClaw. It replaces traditional sliding-window truncation with an innovative Directed Acyclic Graph (DAG) summarization system. The plugin permanently stores every message in a SQLite database and intelligently uses LLMs to summarize and condense older messages into hierarchical summaries. For each interaction, Lossless Claw seamlessly assembles a complete context by combining recent messages with refined historical summaries, ensuring AI agents "never forget" even in extended conversations. It also equips agents with powerful tools like `lcm_grep` and `lcm_describe` for precise searching and recalling of historical details, significantly enhancing memory depth and conversational coherence.
- Lossless Memory: Permanently stores every conversation message in a SQLite database, ensuring no data is lost.
- Intelligent Summarization: Utilizes an LLM-driven DAG system to chunk-summarize and condense older messages hierarchically.
- Comprehensive Context: Dynamically assembles complete context for each turn by combining recent messages with refined historical summaries.
- Historical Recall Tools: Provides advanced tools (`lcm_grep`, `lcm_describe`, `lcm_expand`) for precise searching and recalling of past details.
- Enhanced Coherence: Significantly improves AI Agent's memory depth and conversational consistency.