Skip to main content

Module runner

Module runner 

Source
Expand description

Cross-turn agent wrapper.

AgentRunner manages an Agent across multiple conversation turns, preserving the transcript between turns and streaming events to the caller. This is the extracted pattern from the REPL in main.rs, made reusable for loop mode, HTTP API sessions, and TUI.

Structsยง

AgentRunner
Manages an Agent across multiple conversation turns.