# Lossless Claw

> Lossless Context Management (LCM) plugin for OpenClaw

Source: https://talira.ai/catalog/lossless-claw-hj6qzkky
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin, Command-line tool
- Categories: [ai / agents / memory](https://talira.ai/categories/ai/agents/memory), [ai / agents / plugins](https://talira.ai/categories/ai/agents/plugins)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Summarization uses the LLM provider configured in OpenClaw, billed by that provider.
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Backed by: [Martian Engineering](https://talira.ai/orgs/martian-engineering.md)

Lossless Claw is a context engine plugin for [OpenClaw](https://talira.ai/catalog/openclaw-ght0hsav.md) that replaces its sliding-window compaction with Lossless Context Management, based on Voltropy's LCM paper. It stores every message in a SQLite database, summarizes older chunks with your configured model and condenses those summaries into a DAG, then builds each turn's context from summaries plus recent raw messages. Agents get `lcm_grep`, `lcm_describe` and `lcm_expand` tools to search compacted history and drill back into the original messages. It also ships an `lcm` CLI for reading the database, `/lossless` commands for backups and repairs, and a migration tool that backfills existing OpenClaw sessions. It's MIT licensed and maintained by Martian Engineering.

## Links

- GitHub: https://github.com/martian-engineering/lossless-claw

## Problems it solves

- my OpenClaw agent forgets things from earlier in a long conversation
- stop OpenClaw from truncating old messages when the context window fills up
- let my agent search and recall details from weeks-old conversation history
- keep every agent message stored locally instead of throwing it away on compaction
- import my existing OpenClaw session history into a searchable database

## Features

- every message persisted in SQLite, by conversation
- DAG of summaries condensed from older messages
- context assembled from summaries plus recent raw messages each turn
- lcm_grep, lcm_describe and lcm_expand recall tools for agents
- lcm shell CLI with JSON output for reading the database
- /lossless commands: status, backup, doctor and repairs
- bundled lossless-claw skill
- session migration CLI to backfill OpenClaw JSONL sessions
- context explorer panel in OpenClaw

## Limitations

- Doesn't work outside OpenClaw: it needs OpenClaw 2026.9.2 or newer with plugin context engine support, and Node.js 22+[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.74, momentum 0.83, community 0.82, backing 0.30, extensibility 0.20.

- last commit today
- 89 commits in the last 90 days
- latest release v1.2.0 34 days ago
- 4.9k GitHub stars
- fast-growing: 4.9k stars in 9 months
- 111 contributors
- accepts sponsorship (Custom)
- backed by Martian Engineering

## Alternatives

- [Mem0](https://talira.ai/catalog/mem0-1hspsvwb.md): The memory layer for AI agents
- [MemPalace](https://talira.ai/catalog/mempalace-5jj32hay.md): Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls.
- [OpenViking](https://talira.ai/catalog/openviking-9dqr3z4v.md): The context database for AI agents

## Sources

[^1]: https://github.com/martian-engineering/lossless-claw (checked 22 Nov 2026)
[^2]: https://github.com/martian-engineering/lossless-claw/blob/main/LICENSE (checked 22 Nov 2026)
