Expand description
ZeroClaw agent memory HDF5 backend.
Provides persistent memory storage for AI agents using HDF5 files. All data is cached in-memory for fast access and flushed to disk on mutations.
Modules§
- agents_
md - AGENTS.md generation from live HDF5Memory state.
- bm25
- BM25 keyword search engine.
- cache
- In-memory cache for memory entries, sessions, and knowledge graph.
- decision_
gate - Lightweight pre-check gate that skips trivial messages before save/search.
- gpu_
search - GPU search backend for accelerated vector similarity.
- hybrid
- Hybrid search combining vector similarity and BM25 keyword scores.
- ivf
- Inverted File Index (IVF) for approximate nearest neighbor search.
- knowledge
- Knowledge graph data structures and cache.
- memory_
strategy - MemoryStrategy trait and built-in strategies for controlling how exchanges are persisted to agent memory.
- pq
- Product Quantization (PQ) for approximate nearest neighbor search.
- schema
- HDF5 schema creation and validation.
- search
- Search and agents_md methods for HDF5Memory.
- session
- Session tracking cache and data structures.
- storage
- Disk I/O operations for HDF5 memory files.
- strategy
- Adaptive search strategy selection and timing metrics.
- vector_
search - Vector search using cosine similarity.
- wal
- Write-Ahead Log (WAL) for edgehdf5 agent memory.
Structs§
Enums§
Traits§
Functions§
- cosine_
similarity_ prenorm - Cosine similarity with pre-computed norms using rustyhdf5_accel primitives.