SwiftAI
A modern, type-safe Swift library for building AI-powered apps. SwiftAI provides a unified API that works seamlessly across different AI models - from Apple's on-device models to cloud-based services like OpenAI.
✨ Features
🤖 Model Agnostic : Unified API across Apple's on-device models, OpenAI, Anthropic, and custom backends
: Unified API across Apple's on-device models, OpenAI, Anthropic, and custom backends 🎯 Structured Output : Strongly-typed structured outputs with compile-time validation
: Strongly-typed structured outputs with compile-time validation 🔧 Agent Tool Loop : First-class support for tool use
: First-class support for tool use 💬 Conversations : Stateful chat sessions with automatic context management
: Stateful chat sessions with automatic context management 🏗️ Extensible : Plugin architecture for custom models and tools
: Plugin architecture for custom models and tools ⚡ Swift-Native: Built with async/await and modern Swift concurrency
🚀 Quick Start
... continue reading