Skip to main content

Module runner

Module runner 

Source
Expand description

Agent loop runner implementation.

This module provides the core agent execution loop that orchestrates LLM interactions, tool execution, and event streaming for conversational AI agents.

Modules§

image_fallback
Image fallback and attachment resolution helpers for the agent loop runner.

Structs§

PromptSnapshot
Structured snapshot of the effective system prompt and its major sections.

Functions§

read_prompt_snapshot
refresh_prompt_snapshot
run_agent_loop
run_agent_loop_with_config
Runs the agent loop with a custom configuration.

Type Aliases§

Result
Result type for agent loop operations.