#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod error;
pub mod history;
#[cfg(feature = "js")]
#[cfg_attr(docsrs, doc(cfg(feature = "js")))]
pub mod js;
pub mod loop_runner;
pub mod native;
pub mod tools;
pub mod types;
pub use error::AgentError;
pub use loop_runner::{parse_react_step, system_prompt, Agent, LoopRunner, NativeStep};
pub use native::{ToolCall, ToolOutput};
pub use tools::{ToolRegistry, ToolSpec};
pub use types::{AgentConfig, Message, ReActStep, Role};