Interface LoopStrategy

All Known Implementing Classes:
ArrayLoopStrategy, ConditionLoopStrategy, CountLoopStrategy

public interface LoopStrategy

Loop strategy for LoopAgent, used to control the behavior of LoopAgent.

This part is equivalent to defining the loopInitNode and loopDispatchNode for the StateGraph corresponding to LoopAgent.

Built-in strategies provided by LoopMode can be used directly when in use. If custom loop logic is required, this interface can be implemented.

Since:
2025/11/1
Author:
vlsmb