Expand description
Core types for the behest agent runtime.
This crate provides foundational types used across the behest ecosystem:
- Strongly-typed identifiers (
id::ProviderId,id::ModelName) - Error types (
error::Error,error::ProviderError,error::ToolError, etc.) - Provider-neutral message types (
message::Message,message::ChatRequest,message::ChatResponse) - Tool and embedding types
- Sans-IO run state machine (
run::RunState,run::RunInput,run::RunAction)
Modulesยง
- capabilities
- Capability flags advertised by provider implementations.
- embedding
- Provider-neutral embedding request and response types.
- error
- Error types shared across the public API.
- events
- Streaming event schema for chat providers.
- health
- Health status primitives shared by every component.
- id
- Strongly typed identifiers used across provider APIs.
- message
- Provider-neutral chat request and response data structures.
- run
- Sans-IO run state machine for the agent prompt loop.
- token
- Token estimation using character-based heuristics.
- tool_
types - Tool definitions and tool-call routing primitives.