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;
13#[cfg(feature = "fluent")]
14mod task_binding;
15pub mod tools;
16pub mod turn_extractor;
17
18#[cfg(feature = "fluent")]
19pub use live::{LiveMemoryExt, memory_tools};
20#[cfg(feature = "fluent")]
21pub use spec_binding::SessionMemoryBinding;
22pub use tools::{
23    MANAGE_TOOL, MEMORY_TOOLS, ManageArgs, RECALL_TOOL, RecallArgs, RecallScope,
24    manage_memory_tool, recall_context_tool,
25};
26pub use turn_extractor::{MEMORY_EXTRACTOR_NAME, MemorySlot, MemorySlotError, MemoryTurnExtractor};