mentra 0.23.1

An agent runtime for tool-using LLM applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod compaction;
mod engine;
#[cfg(feature = "store-sqlite")]
mod hybrid_store;
pub(crate) mod journal;

pub use compaction::estimated_request_tokens;
pub(crate) use compaction::{
    ProjectedToolResultHistory, project_tool_result_history, required_tail_start_for_continuation,
};
pub use engine::{
    IngestOutcome, IngestRequest, MemoryCursor, MemoryEngine, MemoryHit, MemoryRecord,
    MemoryRecordKind, MemorySearchMode, MemorySearchRequest, MemoryStore, SearchRequest,
};
pub(crate) use engine::{build_search_query, recalled_memory_message};
#[cfg(feature = "store-sqlite")]
pub use hybrid_store::SqliteHybridMemoryStore;