Skip to main content

Module session

Module session 

Source
Expand description

Session — a conversation with an agent.

Session::run executes one turn of the everruns input → reason → act contract through the canonical engine and its in-process host. Every step is appended to the event log and fanned out to listeners; a session can be resumed from its log alone.

Structs§

RunOptions
Everything one Session::run_with_options call can override. Defaults (RunOptions::default()) reproduce plain Session::run: an uncancellable turn on the agent’s default model.
Session
A conversation with an agent.
SessionView
Read-only projection of a session at an immutable historical point.