Expand description
All data types for the AgenticMemory library.
Re-exports§
pub use edge::Edge;pub use edge::EdgeType;pub use error::AmemError;pub use error::AmemResult;pub use event::CognitiveEvent;pub use event::CognitiveEventBuilder;pub use event::EventType;pub use header::FileHeader;pub use header::HEADER_SIZE;
Modules§
- edge
- Edge types and the core edge struct.
- error
- Error types for the AgenticMemory library.
- event
- Cognitive event types and the core event struct.
- header
- File header for .amem binary files.
Constants§
- AMEM_
MAGIC - Magic bytes at the start of every .amem file.
- DEFAULT_
DIMENSION - Default feature vector dimensionality.
- FORMAT_
VERSION - Current format version.
- MAX_
CONTENT_ SIZE - Maximum content size per node (before compression): 64KB.
- MAX_
EDGES_ PER_ NODE - Maximum edges per node.
Functions§
- now_
micros - Returns the current time as Unix epoch microseconds.