shodh_memory/
lib.rs

1//! Shodh-Memory Library
2//!
3//! Edge-native AI memory system for autonomous agents.
4//! Optimized for deployment on resource-constrained devices.
5//!
6//! # Key Features
7//! - Tiered memory (working/session/long-term) based on cognitive science
8//! - Local vector search (Vamana/DiskANN)
9//! - Local embeddings (MiniLM-L6 via ONNX)
10//! - Knowledge graph for entity relationships
11//!
12//! # Edge Optimizations
13//! - Lazy model loading (reduces startup RAM by ~200MB)
14//! - Configurable thread count for power efficiency
15//! - RocksDB embedded storage (no external database)
16//! - Full offline operation
17
18pub mod auth;
19pub mod backup;
20pub mod constants;
21pub mod embeddings;
22pub mod errors;
23pub mod graph_memory;
24pub mod memory;
25pub mod metrics;
26pub mod middleware;
27pub mod similarity;
28pub mod tracing_setup;
29pub mod validation;
30pub mod vector_db;
31
32// Re-export uuid to ensure tests use the same version
33pub use uuid;
34
35#[cfg(feature = "python")]
36pub mod python;