Packages for keyword “generative-ai”
These packages are available as a package collection, usable in Xcode or SwiftPM.
AgentRunKit
Swift 6 agent SDK: type-safe tools, streaming, cloud + on-device inference via MLX on Apple Silicon
Sophon
Gemini AI client kit for Swift (iOS, macOS, Mac Catalyst): structured output, retry policies, model catalog with automatic fallback, lenient LLM JSON decoding. Ships in three App Store apps.
Hive
Deterministic graph runtime for agent workflows in Swift. Same input, same output, every time — golden-testable, checkpoint-resumable, and built entirely on Swift concurrency.
swift-image-generation
Image generation for Swift with a unified API across providers. Lightweight, back-deploys to iOS 18.
PrivateFoundationModels
Apple FoundationModels API on iOS 18+. Same call site, native passthrough on iOS 26 (Apple Intelligence), CoreML / MLX backends on older OSes. Drop-in source compatible.
GoogleGenerativeLanguage
Swift SDK for the Google Generative Language API (Gemini). Auto-generated from Google's OpenAPI spec. No official Swift SDK exists. This fills the gap.
6 packages.