behest_core/lib.rs
1//! Core types for the behest agent runtime.
2//!
3//! This crate provides foundational types used across the behest ecosystem:
4//! - Strongly-typed identifiers ([`id::ProviderId`], [`id::ModelName`])
5//! - Error types ([`error::Error`], [`error::ProviderError`], [`error::ToolError`], etc.)
6//! - Provider-neutral message types ([`message::Message`], [`message::ChatRequest`], [`message::ChatResponse`])
7//! - Tool and embedding types
8//! - Sans-IO run state machine ([`run::RunState`], [`run::RunInput`], [`run::RunAction`])
9
10#![forbid(unsafe_code)]
11#![deny(missing_docs)]
12#![deny(unreachable_pub)]
13
14pub mod cache;
15pub mod capabilities;
16pub mod embedding;
17pub mod error;
18pub mod events;
19pub mod health;
20pub mod id;
21pub mod message;
22pub mod run;
23pub mod token;
24pub mod tool_types;