{"repo":"christopherkarani/Conduit","free":true,"listed":false,"github":"https://github.com/christopherkarani/Conduit","clone":"git clone https://github.com/christopherkarani/Conduit.git","description":"🦑 Unified Swift SDK for LLM inference across local and cloud providers","language":"Swift","stars":120,"topics":["ai","anthropic","foundation-models","huggingface","mlx","mlx-library","mlx-swift","ollama","openai","openrouter"],"license":"MIT","category":"ai-agents","readme_excerpt":"Conduit — type-safe LLM inference for Swift. One API. Every provider. Compile-time schemas. Native SwiftUI. English Español 日本語 中文 --- What Conduit gives you - Compile-time validated schemas — Define the shape of LLM output with @Generable and catch mismatches before you ship. - One API for every provider — Claude, GPT-5.5, Gemini, Ollama, MLX, CoreML, llama.cpp. Swap providers without rewriting your app. - Native tool calling — Expose Swift functions to models with strongly-typed arguments. The tool loop is handled for you. - Streaming + SwiftUI ready — AsyncSequence streaming and an @Observable ChatSession that drops into a View . - Fast local inference — First-class MLX support tuned for Apple Silicon. --- Installation Swift Package Manager Or add it in Xcode: File → Add Package Dependencies → https://github.com/christopherkarani/Conduit Enable Provider Traits Conduit uses Swift 6 package traits to keep compile times fast and binaries small. You must enable the traits for the providers you want to use. Available traits: Anthropic , OpenAI , OpenRouter , Gemini , Kimi , MiniMax , MLX , CoreML , Ollama , Llama , HuggingFaceHub Linux or server-side? Skip MLX . Cloud providers work out of the box. For local inference on Linux, use the Ollama trait. --- Start Here 1. Generate text in 4 lines 2. Get structured, type-safe output This is Conduit's superpower. Define a Swift struct, attach @Generable , and the LLM returns a validated instance. 3. Let models call your Swift function","default_branch":null,"files":null,"tree":[],"storefront":"/r/christopherkarani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/christopherkarani/Conduit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}