Skip to main content

Module agent_loop

Module agent_loop 

Source

Structs§

AgentLoopHarness
CompactionPolicy
Optional compaction wiring: strategy + the model client used to run the summarize request + the resolved context-window cap. All three must travel together; without any of them the loop can’t make a useful compaction decision. AgentLoopHarness::with_compaction installs it once and the per-turn loop checks it between steps.