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§
- Prompt
Snapshot - Structured snapshot of the effective system prompt and its major sections.
- Turn
Boundary Refresh - Result of a turn-boundary disk refresh: how many injected messages were
merged, which newly appended messages have a durable transcript checkpoint,
and the live per-session permission mode as it stands on disk (the
authoritative writer is
PATCH /sessions).
Functions§
- read_
prompt_ snapshot - refresh_
prompt_ snapshot - refresh_
turn_ boundary_ with_ inbox - Turn-boundary refresh with the first-class durable SessionInbox enabled.
Type Aliases§
- Result
- Result type for agent loop operations.