Skip to main content
The Session wrapper keeps state, memory, and knowledge in one place for local agents or remote HTTP endpoints.

Quick Start

Constructor

State & Memory

Session Lifecycle

Remote sessions call _test_remote_connection() during init — connection failures raise before you chat.

Remote Sessions

Memory and knowledge operations are unavailable in remote mode — run them on the agent server instead.

Session Persistence

Agent memory={"session_id": ...} path

Session Store

Pluggable backends and hierarchical sessions