Packages for keyword “llm”
These packages are available as a package collection, usable in Xcode or SwiftPM.
LLM
LLM.swift is a simple and readable library that allows you to interact with large language models locally with ease for macOS, iOS, watchOS, tvOS, and visionOS.
SpeziLLM
Large Language Model (LLM) module for the Spezi Ecosystem
coreai-kit
Swift SDK for running chat, vision and speech models on iPhone and Mac with Apple's Core AI. Model download and caching, FoundationModels integration, and runnable examples with documented OS, SDK and model requirements.
CoreMLLLM
Run LLMs on Apple devices with CoreML, optimized for Apple Neural Engine + GPU
OllamaKit
Ollama client for Swift
AgentRunKit
Swift 6 agent SDK: type-safe tools, streaming, cloud + on-device inference via MLX on Apple Silicon
swift-language-models
A unified Swift API for Apple’s Foundation Models-style experience across cloud and local LLM providers. Bring OpenRouter, Ollama, Claude, GPT, Gemini and more into a consistent LanguageModelSession interface, with tool calling, guided generation, streaming, reasoning and typed model catalogs. Multi-provider support, with more integrations coming.
ManifoldKit
Reusable SwiftUI chat framework for local and cloud LLM inference on Apple platforms
swift-cactus
Crossplatform Swift SDK for Cactus hybrid inference and running LLMs locally in your app.
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.
SwiftStreamingMarkdown
A performant markdown library for iOS & macOS that supports streaming
swift-tokenizers
High-performance tokenizers
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.
HybridRouterKit
iOS app + Swift package that routes each conversation turn between Apple on-device, Apple Private Cloud Compute, and Claude.
LocalLLMClient
Swift package to run local LLMs on iOS, macOS, Linux
swift-extract
Typed structured extraction from PDFs, photos & text via any LLM — Instructor for Swift, document-first
swift-llm-check
Architecture and lint rules for Swift codebases, written as Swift Testing tests. A failing rule lands on the offending line with why it exists, how to fix it, and a bad and a good example, so a teammate or an AI agent can fix it without asking. Swift 6, one dependency (swift-syntax).
swift-chat
SwiftUI chat UI for iMessage-style messaging and ChatGPT-style AI assistants. Typing indicators, read receipts, reactions, photo attachments, streaming replies, keyboard handling. One view.
AIChatKit
A Swift package that gives every app a single, unified chat interface across cloud and on-device AI providers. OpenAI, Anthropic, and Apple Intelligence all share the same protocol, message model, and optional SwiftUI components — swap providers with a one-line change.
SwiftAgentCore
A bare-bones Swift agent runtime with built-in tool execution, skill support, conversation-state handling with a unified multi-provider LLM layer (OpenAI-compatible/Responses, Anthropic, Gemini, and MiniMax, plus codex OAuth)