#宝玉
RT YC (YuCheng Liu)
OpenClaw 内置的 context 管理:满了就截断。
lossless-claw 的思路:不截断,只压缩。每条消息存进 SQLite,自动摘要成 DAG 结构。原始记录不丢,context 里用的是摘要版——代价是多消耗一些 token。
如果你的 agent 经常因为忘事出问题,Peter(OpenClaw 创始人)推荐试试这个。
http://github.com/martian-engineering/lossless-claw
Peter Steinberger 🦞: There's a lot of cool stuff being built around openclaw. If the stock memory feature isn't great for you, check out the qmd memory plugin!
If you are annoyed that your crustacean is forgetful after compaction, give
https://github.com/martian-engineering/lossless-claw a try!
https://x.com/dotey/status/2034056049792070086