Incremental engine for long horizon agents π Star if you like it!
Rust agentic-data-frameworkaiai-agentschange-data-capturecodebase-intelligencecontext-engineeringdata-engineeringdata-indexingdata-processingetlhelp-wantedindexingknowledge-graphllmlong-horizon-agentpythonragreal-timerustsemantic-search
//! Storage layer for engine internal state.
//!
//! Everything LMDB-specific lives in this module: heed types, key encoding,
//! transaction batching, and the typed per-entity I/O methods on
//! [`AppStore`] and [`Storage`]. Engine code outside this module never
//! touches `heed::*`, the key codec, or the msgpack serialization β it
//! only calls methods on these types.
//!
//! Submodules are private; reach types via `state_store::AppStore` etc.
mod app_store;
mod storage;
mod submit_session;
#[cfg(test)]
pub(crate) mod test_support;
mod txn;
pub use app_store::AppStore;
pub(crate) use app_store::WriteScope;
pub use storage::{Storage, StorageSettings};
pub use submit_session::{
CommitPlan, ExistenceReconciler, OwnerStateForPreempt, PrecommitClaimTargetsPlan,
PrecommitClaimTargetsResult, PrecommitReadPlan, PrecommitReadResult, PrecommitSession,
PrecommitWritePlan, TrackingInfoWrite, reconcile_child_existence,
};
#[cfg(test)]
pub(crate) use txn::Db;
pub use txn::{ReadTxn, WriteTxn};