Expand description
CE-10b: Memory compression via DBSCAN-based semantic clustering.
Clusters old, low-importance memories using DBSCAN (eps = 0.88, more permissive than the consolidation default of 0.92) and synthesises a single summary memory for each cluster by concatenating member content. Originals are soft-deprecated (expires_at = now + 30 days) rather than hard-deleted.
This is the manual compression API — see POST /v1/agents/{id}/compress.
It is complementary to the background DBSCAN consolidation (CE-6).
Structs§
- Compress
Result - Result returned by
compress_memories.
Functions§
- compress_
memories - Compress an agent’s memories by clustering semantically similar low-importance memories into summary memories.
Type Aliases§
- Memory
Embed Pair - A
(Memory, embedding)pair — used as input/output of compression.