walrus_core/lib.rs
1//! Walrus agent library.
2//!
3//! - [`Agent`]: Stateful execution unit with step/run/run_stream.
4//! - [`AgentBuilder`]: Fluent construction with a model provider.
5//! - [`AgentConfig`]: Serializable agent parameters.
6//! - [`Dispatcher`]: Generic async trait for tool dispatch.
7//! - [`model`]: Unified LLM interface types and traits.
8//! - Agent event types: [`AgentEvent`], [`AgentStep`], [`AgentResponse`], [`AgentStopReason`].
9
10pub use agent::{Agent, AgentBuilder, AgentConfig};
11pub use dispatch::Dispatcher;
12pub use event::{AgentEvent, AgentResponse, AgentStep, AgentStopReason};
13
14mod agent;
15mod dispatch;
16mod event;
17pub mod model;