Skip to main content

sovereign_ai/
lib.rs

1// ================================================================================
2// PRODUCT  : sovereign-stack:sovereign-ai
3// COMPONENT: The Sovereign AI Toolkit (Umbrella)
4// FILE     : ss-ai-gateway/crates/sovereign-ai/src/lib.rs
5// ROLE     : Library entry point for the umbrella AI toolkit.
6// PURPOSE  : Explicitly defines and re-exports the public API surface.
7// AUTHOR   : Chamara Somaratne assisted by Gemini, Ashby, Serge & Ciara
8//            (Sovereign Gestalt)
9// LICENSE  : Apache-2.0
10// ================================================================================
11
12//! sovereign-ai: The Sovereign AI Toolkit
13//! The unified SDK for building mathematically secure, local-first AI applications.
14
15// ==============================================================================
16// PHASE 1: PERSONA RE-EXPORTS
17// ==============================================================================
18#[cfg(feature = "personas")]
19pub use ai_personas::Persona;
20
21// ==============================================================================
22// PHASE 2: ROUTER RE-EXPORTS
23// ==============================================================================
24#[cfg(feature = "router")]
25pub use ai_router::{Envelope, Route, Router, RawConfig, ModelDef};