Skip to main content

Crate brainos_storage

Crate brainos_storage 

Source
Expand description

§Brain Storage

Storage abstraction layer providing:

  • SQLite for episodic memory, semantic facts, procedures, and FTS5 index
  • RuVector for vector-based semantic memory (HNSW)
  • Encryption at rest (AES-256-GCM + Argon2id)
  • Schema migrations

Re-exports§

pub use encryption::Encryptor;
pub use ruvector::RuVectorStore;
pub use ruvector::VectorResult;
pub use sqlite::ExportedEpisode;
pub use sqlite::ExportedFact;
pub use sqlite::ScheduledIntent;
pub use sqlite::SqlitePool;

Modules§

encryption
Encryption layer for data at rest.
ruvector
RuVector — backed by ruvector-core HNSW vector database.
sqlite
SQLite storage backend.