SimpleLLMPlanner
open class SimpleLLMPlanner @JvmOverloads constructor(historyCompressionStrategy: HistoryCompressionStrategy = HistoryCompressionStrategy.NoCompression) : AIAgentPlanner<String, SimplePlan> (source)
A simple planning strategy that uses LLM requests to build and execute a plan. In addition, it performs another LLM call to assess each generated plan and ask for a replanning. It operates on a String state, meaning it would accept an initial state string and then return the final state string as a result. It is limited to string-only operations and does not perform tool calling or other advanced logic.
Inheritors
Constructors
Link copied to clipboard
constructor(historyCompressionStrategy: HistoryCompressionStrategy = HistoryCompressionStrategy.NoCompression)