Skip to main content

Module types

Module types 

Source
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.