Skip to main content

gemini_memory_rs/runtime/
mod.rs

1//! Wiring the memory engine into a Gemini Live session.
2//!
3//! Memory rides the runtime's own mechanisms rather than adding new ones: it is
4//! a [`TurnExtractor`](gemini_adk_rs::live::extractor::TurnExtractor) on the
5//! existing extraction pipeline, and two tools on the existing dispatcher.
6//! Facts it recalls are projected into governed `State`, where the phase
7//! machine, `Flow` guards, watchers and repair already read.
8
9#[cfg(feature = "fluent")]
10pub mod live;
11#[cfg(feature = "fluent")]
12pub mod spec_binding;
13pub mod tools;
14pub mod turn_extractor;
15
16#[cfg(feature = "fluent")]
17pub use live::{LiveMemoryExt, memory_tools};
18#[cfg(feature = "fluent")]
19pub use spec_binding::SessionMemoryBinding;
20pub use tools::{
21    MANAGE_TOOL, MEMORY_TOOLS, ManageArgs, RECALL_TOOL, RecallArgs, RecallScope,
22    manage_memory_tool, recall_context_tool,
23};
24pub use turn_extractor::{MEMORY_EXTRACTOR_NAME, MemorySlot, MemorySlotError, MemoryTurnExtractor};