Skip to main content

Module loop_agent

Module loop_agent 

Source
Expand description

A loop agent: runs its sub-agents in sequence repeatedly.

Structs§

LoopAgentConfig
The configuration of a loop agent.

Functions§

new
An agent that runs its sub-agents in sequence repeatedly, for max_iterations passes or until a sub-agent escalates. Use it for repetition or iterative refinement, such as revising code.