Often, Madz gets "stuck" between thoughts and needs prompting to "continue" to complete a set of work. The issue is probably in the SYSTEM_PROMPT.md file. Aggressive tool calling is not the root cause; it appears that the agent simply loses track of what it was doing.
The recursion depth is likely the root issue. If the agent receives an empty response, ideally, it should continue working.
The default limit should be raised to 1000, and handling of 'GraphRecursionError' error should be introduced.
See:
Often, Madz gets "stuck" between thoughts and needs prompting to "continue" to complete a set of work. The issue is probably in the SYSTEM_PROMPT.md file. Aggressive tool calling is not the root cause; it appears that the agent simply loses track of what it was doing.
The recursion depth is likely the root issue. If the agent receives an empty response, ideally, it should continue working.
The default limit should be raised to 1000, and handling of 'GraphRecursionError' error should be introduced.
See: