Expand description
Agent execution loop module Agent execution loop
This module implements the main agent execution loop that processes user requests, executes tools, and manages the conversation flow.
§Components
- Runner: Main loop implementation
- Stream: Streaming response handling
- TodoContext: Todo list integration
- TodoEvaluation: Progress evaluation logic
§Example
ⓘ
use bamboo_agent::agent::loop_module::{run_agent_loop, AgentLoopConfig};
let config = AgentLoopConfig::default();
let result = run_agent_loop(session, provider, config).await?;Re-exports§
pub use config::AgentLoopConfig;pub use runner::run_agent_loop;pub use runner::run_agent_loop_with_config;pub use todo_context::TodoLoopContext;pub use todo_evaluation::evaluate_todo_progress;pub use todo_evaluation::TodoEvaluationResult;
Modules§
- config
- runner
- Agent loop runner implementation.
- stream
- Streaming response handling
- todo_
context - TodoList context for Agent Loop integration
- todo_
evaluation