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
//! Authentication, bounded selector extraction and alias/grant authorization.
mod authority;
mod run;
mod selector;
pub use authority::{AuthenticatedRequest, DispatchError, GatewayRequestAuthority};
pub use run::{
RunObservationMetadata, RunRequestAuthorityError, RunRequestAuthorityPort, RunRequestLocator,
RunRequestSafetyPort, VerifiedRunRequestAuthority,
};
pub use selector::{ModelSelector, SelectorError};
#[cfg(test)]
mod tests;