Memory Tree (src/openhuman/memory_tree/)
The generic summary-tree engine under the Memory Tree feature - bucket-seal cascades, scoring, embedding, entity extraction, retrieval, summarisation. Kind-agnostic mechanics for the Source trees (the
memory (orchestrator) βββ
β writes leaves via TreeWriteRequest
βΌ
memory_tree (this module β generic mechanics)
βββ tree/ append + cascade seal + flush
βββ summarise.rs L_n -> L_{n+1} text via the chat model
βββ retrieval/ agent-facing read tools (walk, drill, fetch)
βββ score/ scoring, embedding, entity extraction
βββ tools.rs re-exports from memory::query
βββ io.rs canonical Tree{Write,Read}{Request,Outcome,Result}
β
βΌ
memory_store::trees (persistence: one Tree table, one schema)Layout
Path
Role
Layer rules
How a write flows in
How a read flows out
Controller registry
Related
Last updated