Expand description
Cross-turn conversation memory for stateless backends.
Provides ConversationMemory for accumulating turn records and
MemoryManager for file-based persistence. When enabled for an agent,
previous conversation context is prepended to each new input, giving
stateless backends (e.g., Gemini CLI) a form of multi-turn memory.
Structs§
- Conversation
Memory - In-memory conversation history with configurable limits.
- Memory
Config - Configuration for conversation memory limits.
- Memory
Manager - File-based persistence for agent conversation memories.
- Turn
Record - A single conversation turn.
Enums§
- Role
- Speaker role in a conversation turn.