1//! Agent loop orchestrating LLM, tools, and session. 2 3mod compact; 4mod error; 5mod event; 6mod loop_; 7mod prompt; 8mod task_tool; 9mod tool_args; 10 11pub use error::AgentError; 12pub use event::AgentEvent; 13pub use loop_::{AgentLoop, TurnOutcome}; 14pub use prompt::build_system_prompt;