Expand description
Agent loop – the main request/response cycle driver. Agent loop — the main request/response cycle driver.
Coordinates the interaction between the agent, provider, tools, and state management. Handles streaming, tool execution, retry logic, and compaction events.
Re-exports§
pub use config::AfterToolCallHook;pub use config::AgentLoopConfig;pub use config::BeforeToolCallHook;pub use config::ToolExecutionMode;pub use self::stream_outcome::StreamOutcome;
Modules§
- config
- Agent-loop configuration. Agent loop configuration types
- helpers
- Miscellaneous helper functions.
- queues
- Internal message/event queues. Queue management for agent loop.
- retry
- Retry logic for the agent loop.
- stream_
outcome - Stream outcome types for TTSR integration. Stream outcome types for TTSR integration.
- streaming
- Streaming response handling.
- tool_
exec - Tool execution strategies.
- ttsr
- Time-Traveling Stream Rules engine. TTSR (Time-Traveling Stream Rules) engine.
Structs§
- Agent
Loop - AgentLoop.