feat(memory): add markdown tiered memory with examples - #8
Conversation
Introduce MarkdownTieredMemory for daily short-term markdown files and LLM/noop-promoted long-term summary facts, plus LLMFactCompressor adapter and markdown_memory demos. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThis PR introduces a filesystem-backed tiered memory store for persistent conversation storage. Messages are organized into short-term (daily) and long-term (compressed summary) markdown files, with automatic promotion and compaction controlled by configurable age and size thresholds. The implementation includes markdown serialization with YAML metadata, two compression strategies (no-op and LLM-based fact extraction), and complete CRUD/retrieval APIs with mark-based filtering. ChangesMarkdown Tiered Memory Storage
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Introduce MarkdownTieredMemory for daily short-term markdown files and LLM/noop-promoted long-term summary facts, plus LLMFactCompressor adapter and markdown_memory demos.
Summary by CodeRabbit
Release Notes