WithConversation. Runs with the same conversation ID share context across multiple Run calls.
Source: examples/agent_with_conversation/
What it demonstrates
conversation.Configwith Redis backendAgentRunOptions.ConversationOptions.IDper run- Interactive REPL (no args) or single-turn CLI prompt
Run
Fromexamples/:
exit.
Key code
Expected output
CONVERSATION_ID (or session-123 default) replays history on the next go run.
Learn more
Conversation
Backends and session scope
Stream + Conversation
Streaming with persisted history