Expand description
Generic agent loop — drives agent + tools until completion or limit.
Includes 3-tier loop detection (exact signature, tool name frequency, output stagnation).
Structs§
- Loop
Config - Loop configuration.
Enums§
- Loop
Event - Events emitted during the agent loop.
Functions§
- run_
loop - Run the agent loop: decide → execute tools → feed results → repeat.
- run_
loop_ interactive - Run the agent loop with interactive input support.