Skip to content

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Rust
470 B
Raw Blame
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

//! Core orchestration: the [`Algorithm`](algorithm::Algorithm) trait and its typed
//! step-stream [`Driver`](algorithm::Driver). Algorithm implementations live in
//! [`crate::algorithms`].

#[cfg(test)]
pub(crate) mod testing;

pub mod algorithm;
pub mod classifier;
pub mod outcome_metadata;
pub mod processor;
pub mod state;