lossless-claw
About
Lossless Claw is an advanced Lossless Context Management (LCM) plugin specifically designed for OpenClaw. It innovatively replaces traditional sliding-window truncation with a DAG-based summarization system, ensuring that every message is persistently stored in a SQLite database. The plugin intelligently leverages an LLM to chunk, summarize, and iteratively condense older messages into a hierarchical directed acyclic graph. For each turn, it dynamically assembles the active context by combining recent raw messages with refined summaries, effectively granting AI agents an "unforgettable" memory for extended conversations. Furthermore, it equips agents with powerful recall tools like `lcm_grep` and `lcm_describe` to precisely search and retrieve historical details, significantly enhancing memory depth and conversational coherence.