Packages for keyword “ai”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-ai
A provider-agnostic Swift SDK for building AI-powered applications. Write once, swap providers with a single line change.
swift-artifact
Swift/SwiftUI library for rendering LLM-generated <artifact> blocks in chat interfaces. Supports Markdown, JSON, CSV, Code, SVG, GeoJSON, HTML, React, Mermaid, LaTeX, Vega-Lite, GLTF, USDZ.
SwiftLLMKit
One Swift interface for Anthropic, OpenAI, Gemini, Ollama, OpenRouter and 10+ more LLM providers — tool calling, reasoning/effort controls, structured output, capability-aware model catalog, Keychain-stored keys.
swift-tokenizers
High-performance tokenizers
AIGitNarrator
Command-line tool for generating Git commit messages and PR descriptions with AI. Supports staged/unstaged changes and customizable AI parameters.
AskKit
Open-source AI chat interface for SwiftUI apps: a complete Ask screen that answers from your app's data, with Apple's Foundation Models on Private Cloud Compute or on the device.
Broadcast
Simple and composable logging for Swift apps, servers, and coding agents.
ComposablePipelines
Open, runtime-agnostic Swift package for composing AI pipelines: SwiftUI-like DSL, Codable AST, compiler, and an observable walker. Public mirror from elix-toolchain.
DProvenanceKit
Local-first AI reasoning observability for Swift: record, diff, attest, and CI-gate agent execution paths. Complements OpenTelemetry and tools like LangSmith — does not replace them.
GLiNER2Swift
Swift port of Gliner2 framework
langchain-swift
🚀 LangChain for Swift. Optimized for iOS, macOS, watchOS (part) and visionOS.(beta)
NobodyWho
On-device AI inference for Swift apps. Run LLMs locally on iOS, macOS, visionOS and watchOS.
NRouter
nRouter SDK — one API key for models across six provider clouds (Alibaba US, OpenAI, AWS Bedrock, Azure Foundry, Google Vertex AI, Anthropic). Speaks the OpenAI and Anthropic wire formats natively, plus embeddings, audio, images and video.
simshot
App Store screenshot capture CLI (simctl only, no XCUITest)
SwiftAIAgent
An AI Agent framework in Swift
swift-hf-api
Swift client for Hugging Face's REST APIs
XAISDK
The Swift SDK for the xAI API (Grok, Imagine).
LLMKit
Unified LLM client library for Swift - one API, 36 providers (Anthropic, OpenAI, Google Gemini, AWS Bedrock, Mistral, Groq, DeepSeek, +29 more), zero external dependencies (Foundation + CryptoKit).
Orb
A mesmerizing orb, fully designed in SwiftUI.
SwiftAgent
A type-safe, declarative AI agent framework for Swift. Build composable AI pipelines with Steps, Agents, structured outputs, and tool integration. Features FIFO session management, MCP support, and distributed actor communication.