Expand description
cersei-memory: Memory trait and backends for the Cersei SDK.
Memory provides session persistence and retrieval, enabling resumable conversations and long-term knowledge storage.
§Modules
memdir— Flat file memory scanningclaudemd— Hierarchical CLAUDE.md loadingsession_storage— JSONL transcript persistence
Modules§
- claudemd
- CLAUDE.md hierarchical loading.
- graph
- Graph-backed memory using Grafeo embedded graph database.
- graph_
migrate - Graph schema versioning and migration engine.
- manager
- Unified Memory Manager: composes all memory layers into a single API.
- memdir
- Memory directory: persistent file-based memory system.
- session_
storage - Session storage: append-only JSONL transcript persistence.
Structs§
- InMemory
- In-memory store for tests and short-lived agents.
- Jsonl
Memory - File-based memory backend using JSONL format.
Each session is stored as a
.jsonlfile with one message per line.
Traits§
Functions§
- strip_
frontmatter - Strip YAML frontmatter from content.