Skip to main content

run_agentic_loop

Function run_agentic_loop 

Source
pub async fn run_agentic_loop(
    config: LlmAgentConfig,
    ctx: LoopContext<'_>,
) -> AgentOutcome
Expand description

Run the agentic loop for a single LLM agent.

Executes the Perceive→Think→Act→Record cycle until the LLM produces a final response (no tool calls) or max_iterations is reached.