Skip to main content

Module runtime

Module runtime 

Source
Expand description

Wiring the memory engine into a Gemini Live session.

Memory rides the runtime’s own mechanisms rather than adding new ones: it is a TurnExtractor on the existing extraction pipeline, and two tools on the existing dispatcher. Facts it recalls are projected into governed State, where the phase machine, Flow guards, watchers and repair already read.

Re-exports§

pub use live::LiveMemoryExt;
pub use live::memory_tools;
pub use spec_binding::SessionMemoryBinding;
pub use tools::MANAGE_TOOL;
pub use tools::MEMORY_TOOLS;
pub use tools::ManageArgs;
pub use tools::RECALL_TOOL;
pub use tools::RecallArgs;
pub use tools::RecallScope;
pub use tools::manage_memory_tool;
pub use tools::recall_context_tool;
pub use turn_extractor::MEMORY_EXTRACTOR_NAME;
pub use turn_extractor::MemorySlot;
pub use turn_extractor::MemorySlotError;
pub use turn_extractor::MemoryTurnExtractor;

Modules§

live
Installing memory onto a Live session.
spec_binding
The MemoryBinding implementation — how a SessionSpec’s memory section reaches the real engine.
tools
The two tools the model sees.
turn_extractor
Memory as a first-class TurnExtractor.