Skip to main content

Crate agentic_memory

Crate agentic_memory 

Source
Expand description

AgenticMemory — binary graph-based memory system for AI agents.

Stores cognitive events (facts, decisions, inferences, corrections, skills, episodes) as nodes in a graph, with typed edges representing relationships between them.

Re-exports§

pub use engine::CausalParams;
pub use engine::CausalResult;
pub use engine::DecayReport;
pub use engine::IngestResult;
pub use engine::PatternParams;
pub use engine::PatternSort;
pub use engine::QueryEngine;
pub use engine::SimilarityMatchResult;
pub use engine::SimilarityParams;
pub use engine::SubGraph;
pub use engine::TemporalParams;
pub use engine::TemporalResult;
pub use engine::TimeRange;
pub use engine::TraversalParams;
pub use engine::TraversalResult;
pub use engine::WriteEngine;
pub use format::AmemReader;
pub use format::AmemWriter;
pub use format::MmapReader;
pub use format::SimilarityMatch;
pub use graph::GraphBuilder;
pub use graph::MemoryGraph;
pub use graph::TraversalDirection;
pub use index::cosine_similarity;
pub use index::ClusterMap;
pub use index::SessionIndex;
pub use index::TemporalIndex;
pub use index::TypeIndex;
pub use types::now_micros;
pub use types::AmemError;
pub use types::AmemResult;
pub use types::CognitiveEvent;
pub use types::CognitiveEventBuilder;
pub use types::Edge;
pub use types::EdgeType;
pub use types::EventType;
pub use types::FileHeader;
pub use types::DEFAULT_DIMENSION;
pub use types::MAX_CONTENT_SIZE;
pub use types::MAX_EDGES_PER_NODE;

Modules§

cli
CLI command implementations for the amem binary.
engine
High-level operations — write engine and query engine.
ffi
C-compatible FFI bindings for cross-language use.
format
Binary file I/O for .amem files.
graph
In-memory graph operations — the core data structure.
index
Index structures for fast lookup. Each index is independent and incrementally updateable.
types
All data types for the AgenticMemory library.