Sam
10/23/2025, 12:21 PMAIAgentConfig, you can provide a maxAgentIterations argument. Was just wondering what constitutes as an "iteration" in Koog? Is it the amount of times an LLM can be called within one "run"?
So for example:
1. User Message
2. Call LLM
3. Tool call detected in LLM response
4. Execute tool and add result to Prompt
5. Call LLM again with tool call result
6. Final output
How many "iterations" are happening here?Yogeshvu
10/23/2025, 7:50 PMSam
10/24/2025, 8:55 AMSam
10/27/2025, 11:18 AMmaxAgentIterations in AIAgentConfig basically limit how many nodes an agent can traverse/run before it errors out?Sam
10/27/2025, 11:19 AMMark Tkachenko
10/28/2025, 11:54 AM