Skip to main content

run_agent_loop

Function run_agent_loop 

Source
pub async fn run_agent_loop(
    manifest: &AgentManifest,
    query: &str,
    driver: &dyn LlmDriver,
    tools: &ToolRegistry,
    memory: &dyn MemorySubstrate,
    stream_tx: Option<Sender<StreamEvent>>,
) -> Result<AgentLoopResult, AgentError>
Expand description

Run the agent loop to completion (single-turn, no history).