Skip to main content

baml_agent/
lib.rs

1pub mod config;
2pub mod engine;
3pub mod session;
4pub mod loop_detect;
5pub mod agent_loop;
6pub mod prompt;
7
8pub use config::{AgentConfig, ProviderConfig, AgentConfigError};
9pub use engine::{BamlRegistry, AgentEngine};
10pub use session::{AgentMessage, MessageRole, Session};
11pub use loop_detect::{LoopDetector, LoopStatus};
12pub use agent_loop::{SgrAgent, SgrAgentStream, StepDecision, ActionResult, LoopConfig, LoopEvent, run_loop, run_loop_stream, process_step};
13pub use prompt::{BASE_SYSTEM_PROMPT, build_system_prompt};