walrus-core 0.0.10

Core types and traits for the Walrus agent runtime
Documentation
//! Walrus agent library.
//!
//! - [`Agent`]: Immutable agent definition with step/run/run_stream.
//! - [`AgentBuilder`]: Fluent construction with a model provider.
//! - [`AgentConfig`]: Serializable agent parameters.
//! - [`Session`]: Lightweight conversation history container.
//! - [`ToolRegistry`]: Schema-only tool store. No handlers or closures.
//! - [`ToolSender`] / [`ToolRequest`]: Agent-side tool dispatch primitives.
//! - [`Hook`]: Lifecycle backend for agent building, events, and tool registration.
//! - [`Runtime`]: Agent registry, session store, and hook orchestration.
//! - [`model`]: Unified LLM interface types and traits.
//! - Agent event types: [`AgentEvent`], [`AgentStep`], [`AgentResponse`], [`AgentStopReason`].

pub use agent::{
    Agent, AgentBuilder, AgentConfig,
    config::HeartbeatConfig,
    event::{AgentEvent, AgentResponse, AgentStep, AgentStopReason},
    tool::{ToolRegistry, ToolRequest, ToolSender},
};
pub use config::{ApiStandard, McpServerConfig, ProviderDef};
pub use runtime::{Runtime, Session, hook::Hook};

pub mod agent;
pub mod config;
pub mod model;
pub mod paths;
pub mod protocol;
mod runtime;
pub mod utils;