Build AI features in Swift for iOS and macOS with swift-ai-sdk — streaming text, structured output, tools, agents, embeddings, speech, transcription, images, video, realtime voice, computer use, and Apple's on-device models, across every provider (OpenAI, Anthropic, Google, xAI, Bedrock, Groq, Mistral, DeepSeek, Perplexity, Cohere, Voyage, Moonshot, Alibaba, HuggingFace, Cartesia, Sarvam, Ollama, and more). Use when writing Swift that calls generateText / streamText / generateObject, builds an Agent or tool loop, wires a ChatSession into SwiftUI, or adds realtime voice. Activate for swift-ai-sdk work even when it isn't named.
2026-07-15