Packages for keyword “llm”
These packages are available as a package collection, usable in Xcode or SwiftPM.
SpeziLLM
Large Language Model (LLM) module for the Spezi Ecosystem
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.
OllamaKit
Ollama client for Swift
AgentRunKit
Swift 6 agent SDK: type-safe tools, streaming, cloud + on-device inference via MLX on Apple Silicon
CoreMLLLM
Run LLMs on Apple devices with CoreML, optimized for Apple Neural Engine + GPU
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.
swift-cactus
Crossplatform Swift SDK for Cactus hybrid inference and running LLMs locally in your app.
SwiftStreamingMarkdown
A performant markdown library for iOS & macOS that supports streaming
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
ManifoldKit
Reusable SwiftUI chat framework for local and cloud LLM inference on Apple platforms
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)
swift-bylaws
Architectural linting for Swift developers and coding agents
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.
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.
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.
swift-litert-lm
Gemma 4 on iPhone as a Swift package: one dependency line, five lines of code, ~50 tok/s on iPhone 17 Pro. Metal GPU, text + image + audio, in-app download. Also an Apple Foundation Models backend (iOS 27).
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