Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.
Rust ai-agentsai-gatewayclaude-codecodexcoding-agentcost-optimizationdeepseekllm-gatewayllm-routerlocal-firstmodel-routingrusttask-routingtauri
//! Protocol-neutral request and response semantics.
//!
//! The IR deliberately carries Tool, reasoning, usage, error and opaque
//! provider-state values as typed data. Adapters must reject a value they
//! cannot represent; text conversion and silent omission are not available.
mod error;
mod request;
mod response;
mod search;
pub use error::ModelIrError;
pub use request::*;
pub use response::*;
pub use search::*;